Commit bfc2b3aa authored by Michael Hayes's avatar Michael Hayes Committed by David Woodhouse

[PATCH] Spelling fixes - necessary

This fixes:
    neccessary -> necessary
    unneccessary -> unnecessary

Fixes 46 occurrences in all.
parent d4b21f44
......@@ -133,7 +133,7 @@ static int longrun_verify_policy(struct cpufreq_policy *policy)
* longrun_determine_freqs - determines the lowest and highest possible core frequency
*
* Determines the lowest and highest possible core frequencies on this CPU.
* This is neccessary to calculate the performance percentage according to
* This is necessary to calculate the performance percentage according to
* TMTA rules:
* performance_pctg = (target_freq - low_freq)/(high_freq - low_freq)
*/
......
......@@ -113,7 +113,7 @@ void fix_processor_context(void)
int cpu = smp_processor_id();
struct tss_struct * t = init_tss + cpu;
set_tss_desc(cpu,t); /* This just modifies memory; should not be neccessary. But... This is neccessary, because 386 hardware has concept of busy TSS or some similar stupidity. */
set_tss_desc(cpu,t); /* This just modifies memory; should not be necessary. But... This is necessary, because 386 hardware has concept of busy TSS or some similar stupidity. */
cpu_gdt_table[cpu][GDT_ENTRY_TSS].b &= 0xfffffdff;
load_TR_desc(); /* This does ltr */
......
......@@ -2703,7 +2703,7 @@ static int __init rs_init(void)
* port exists and is in use an error is returned. If the port
* is not currently in the table it is added.
*
* The port is then probed and if neccessary the IRQ is autodetected
* The port is then probed and if necessary the IRQ is autodetected
* If this fails an error is returned.
*
* On success the port is ready to use and the line number is returned.
......
......@@ -24,7 +24,7 @@ void *pci_alloc_consistent(struct pci_dev *hwdev, size_t size,
ret = (void *) __get_free_pages(gfp, get_order(size));
if (ret != NULL) {
/* Is it neccessary to do the memset? */
/* Is it necessary to do the memset? */
memset(ret, 0, size);
*dma_handle = virt_to_bus(ret);
}
......
......@@ -24,7 +24,7 @@ void *pci_alloc_consistent(struct pci_dev *hwdev, size_t size,
ret = (void *) __get_free_pages(gfp, get_order(size));
if (ret != NULL) {
/* Is it neccessary to do the memset? */
/* Is it necessary to do the memset? */
memset(ret, 0, size);
*dma_handle = virt_to_bus(ret);
}
......
......@@ -357,7 +357,7 @@ static int check_write_access(int req_len,
*volume = zft_find_volume(pos->seg_pos);
DUMP_VOLINFO(ft_t_noise, "", *volume);
zft_just_before_eof = 0;
/* now merge with old data if neccessary */
/* now merge with old data if necessary */
if (!zft_qic_mode && pos->seg_byte_pos != 0){
result = zft_fetch_segment(pos->seg_pos,
zft_deblock_buf,
......
......@@ -196,9 +196,9 @@ EXPORT_SYMBOL_GPL(ide_dma_intr);
* @drive: the drive to build the DMA table for
* @rq: the request holding the sg list
*
* Perform the PCI mapping magic neccessary to access the source or
* Perform the PCI mapping magic necessary to access the source or
* target buffers of a request via PCI DMA. The lower layers of the
* kernel provide the neccessary cache management so that we can
* kernel provide the necessary cache management so that we can
* operate in a portable fashion
*/
......@@ -226,9 +226,9 @@ static int ide_build_sglist (ide_drive_t *drive, struct request *rq)
* @drive: the drive to build the DMA table for
* @rq: the request holding the sg list
*
* Perform the PCI mapping magic neccessary to access the source or
* Perform the PCI mapping magic necessary to access the source or
* target buffers of a taskfile request via PCI DMA. The lower layers
* of the kernel provide the neccessary cache management so that we can
* of the kernel provide the necessary cache management so that we can
* operate in a portable fashion
*/
......
......@@ -379,7 +379,7 @@ EXPORT_SYMBOL(ide_cmd);
* @drive: drive the completion interrupt occurred on
*
* drive_cmd_intr() is invoked on completion of a special DRIVE_CMD.
* We do any neccessary daya reading and then wait for the drive to
* We do any necessary daya reading and then wait for the drive to
* go non busy. At that point we may read the error data and complete
* the request
*/
......@@ -652,7 +652,7 @@ EXPORT_SYMBOL(ide_stall_queue);
* @hwgroup: hardware group to select on
*
* choose_drive() selects the next drive which will be serviced.
* This is neccessary because the IDE layer can't issue commands
* This is necessary because the IDE layer can't issue commands
* to both drives on the same cable, unlike SCSI.
*/
......
......@@ -470,7 +470,7 @@ static ide_hwif_t *ide_hwif_configure(struct pci_dev *dev, ide_pci_device_t *d,
* @hwif: Hardware interface we are configuring
*
* Set up the DMA base for the interface. Enable the master bits as
* neccessary and attempt to bring the device DMA into a ready to use
* necessary and attempt to bring the device DMA into a ready to use
* state
*/
......@@ -573,7 +573,7 @@ static int ide_setup_pci_controller(struct pci_dev *dev, ide_pci_device_t *d, in
* @index: ata index to update
*
* Scan the interfaces attached to this device and do any
* neccessary per port setup. Attach the devices and ask the
* necessary per port setup. Attach the devices and ask the
* generic DMA layer to do its work for us.
*
* Normally called automaticall from do_ide_pci_setup_device,
......
......@@ -42,7 +42,7 @@
*
* Credits:
* Programming the driver for Formula-n enter:now ISDN PCI and
* neccessary this driver for the used Amd 7930 D-channel-controller
* necessary this driver for the used Amd 7930 D-channel-controller
* was spnsored by Formula-n Europe AG.
* Thanks to Karsten Keil and Petr Novak, who gave me support in
* Hisax-specific questions.
......
......@@ -49,7 +49,7 @@
*
* Credits:
* Programming the driver for Formula-n enter:now ISDN PCI and
* neccessary the driver for the used Amd 7930 D-channel-controller
* necessary the driver for the used Amd 7930 D-channel-controller
* was spnsored by Formula-n Europe AG.
* Thanks to Karsten Keil and Petr Novak, who gave me support in
* Hisax-specific questions.
......
......@@ -521,7 +521,7 @@ hycapi_rx_capipkt
Receive a capi-message.
All B3_DATA_IND are converted to 64K-extension compatible format.
New nccis are created if neccessary.
New nccis are created if necessary.
*******************************************************************/
void
......
......@@ -499,7 +499,7 @@ int dm_get_device(struct dm_target *ti, const char *path, sector_t start,
}
/*
* Decrement a devices use count and remove it if neccessary.
* Decrement a devices use count and remove it if necessary.
*/
void dm_put_device(struct dm_target *ti, struct dm_dev *dd)
{
......
......@@ -2120,7 +2120,7 @@ static void i2o_sys_shutdown(void)
* @iop: controller
*
* This function brings an I2O controller into HOLD state. The adapter
* is reset if neccessary and then the queues and resource table
* is reset if necessary and then the queues and resource table
* are read. -1 is returned on a failure, 0 on success.
*
*/
......
......@@ -1168,7 +1168,7 @@ static void mc32_update_stats(struct net_device *dev)
* the stack or, if the packet is near MTU sized, we allocate
* another buffer and flip the old one up the stack.
*
* We must succeed in keeping a buffer on the ring. If neccessary we
* We must succeed in keeping a buffer on the ring. If necessary we
* will toss a received packet rather than lose a ring entry. Once
* the first uncompleted descriptor is found, we move the
* End-Of-List bit to include the buffers just processed.
......
......@@ -417,7 +417,7 @@ static int ei_start_xmit(struct sk_buff *skb, struct net_device *dev)
* Handle the ether interface interrupts. We pull packets from
* the 8390 via the card specific functions and fire them at the networking
* stack. We also handle transmit completions and wake the transmit path if
* neccessary. We also update the counters and do other housekeeping as
* necessary. We also update the counters and do other housekeeping as
* needed.
*/
......
......@@ -149,7 +149,7 @@ e100_config_init_82550(struct e100_private *bdp)
* 32 from the RFD base address, instead of at offset 16. */
bdp->config[7] |= CB_CFIG_EXTENDED_RFD;
/* put the chip into D102 receive mode. This is neccessary
/* put the chip into D102 receive mode. This is necessary
* for any parsing and offloading features. */
bdp->config[22] = CB_CFIG_RECEIVE_GAMLA_MODE;
......
......@@ -1341,7 +1341,7 @@ static int ei_start_xmit(struct sk_buff *skb, struct net_device *dev)
* Handle the ether interface interrupts. We pull packets from
* the 8390 via the card specific functions and fire them at the networking
* stack. We also handle transmit completions and wake the transmit path if
* neccessary. We also update the counters and do other housekeeping as
* necessary. We also update the counters and do other housekeeping as
* needed.
*/
......
......@@ -72,7 +72,7 @@
* Description:
*
* This is the first include file of the driver, which includes all
* neccessary system header files and some of the GEnesis header files.
* necessary system header files and some of the GEnesis header files.
* It also defines some basic items.
*
* Include File Hierarchy:
......
......@@ -85,7 +85,7 @@
* Description:
*
* This is the second include file of the driver, which includes all other
* neccessary files and defines all structures and constants used by the
* necessary files and defines all structures and constants used by the
* driver and the common modules.
*
* Include File Hierarchy:
......
......@@ -61,14 +61,14 @@
* fix: chg pAc -> pAC
*
* Revision 1.4 1998/08/10 14:14:52 gklug
* rmv: unneccessary SK_ADDR macro
* rmv: unnecessary SK_ADDR macro
*
* Revision 1.3 1998/08/07 12:53:44 gklug
* fix: first compiled version
*
* Revision 1.2 1998/08/07 09:19:29 gklug
* adapt functions to the C coding conventions
* rmv unneccessary functions.
* rmv unnecessary functions.
*
* Revision 1.1 1998/08/05 11:28:36 gklug
* first version: adapted from SMT/FDDI
......
......@@ -178,7 +178,7 @@
* Revision 1.2 1998/08/11 07:27:15 gklug
* add: functions of the interface
* adapt rest of source to C coding Conventions
* rmv: unneccessary code taken from Mona Lisa
* rmv: unnecessary code taken from Mona Lisa
*
* Revision 1.1 1998/06/19 14:28:43 malthoff
* Created. Sources taken from ML Projekt.
......
......@@ -596,7 +596,7 @@ int Port) /* port to stop (MAC_1 + n) */
* none, National: 80ns).
*
* ATTENTION:
* It is absolutely neccessary to reset the SW_RST Bit first
* It is absolutely necessary to reset the SW_RST Bit first
* before calling this function.
*
* Returns:
......
......@@ -197,7 +197,7 @@ dasd_3990_erp_examine(dasd_ccw_req_t * cqr, struct irb * irb)
* DASD_3990_ERP_CLEANUP
*
* DESCRIPTION
* Removes the already build but not neccessary ERP request and sets
* Removes the already build but not necessary ERP request and sets
* the status of the original cqr / erp to the given (final) status
*
* PARAMETER
......
......@@ -10866,7 +10866,7 @@ int DiagBusMaster(ULONG port)
* Function: DiagEEPROM
*
* Description: Verfiy checksum and 'Key' and initialize the EEPROM if
* neccessary.
* necessary.
*
*---------------------------------------------------------------------*/
......
......@@ -245,7 +245,7 @@ oktagon_notify_reboot(struct notifier_block *this, unsigned long code, void *x)
if((code == SYS_DOWN || code == SYS_HALT) && (esp = current_esp))
{
esp_bootup_reset(esp,esp->eregs);
udelay(500); /* Settle time. Maybe unneccessary. */
udelay(500); /* Settle time. Maybe unnecessary. */
}
return NOTIFY_DONE;
}
......
......@@ -1989,7 +1989,7 @@ static int __register_serial(struct serial_struct *req, int line)
* port exists and is in use an error is returned. If the port
* is not currently in the table it is added.
*
* The port is then probed and if neccessary the IRQ is autodetected
* The port is then probed and if necessary the IRQ is autodetected
* If this fails an error is returned.
*
* On success the port is ready to use and the line number is returned.
......
......@@ -159,7 +159,7 @@ static int kobil_startup (struct usb_serial *serial)
}
usb_set_serial_port_data(serial->port, priv);
// search for the neccessary endpoints
// search for the necessary endpoints
pdev = serial->dev;
actconfig = pdev->actconfig;
interface = actconfig->interface;
......
......@@ -1192,7 +1192,7 @@ void leaf_paste_entries (
}
/* change item key if neccessary (when we paste before 0-th entry */
/* change item key if necessary (when we paste before 0-th entry */
if (!before)
{
set_le_ih_k_offset (ih, deh_offset(new_dehs));
......
......@@ -46,7 +46,7 @@
#define IRQ_GPIO_CF_IRQ IRQ_GPIO1
#define IRQ_GPIO_CF_CD IRQ_GPIO24
// CS3 Latch is write only, a shadow is neccessary
// CS3 Latch is write only, a shadow is necessary
#define CS3BUSTYPE unsigned volatile long
#define CS3_BASE 0xf1000000
......
......@@ -164,7 +164,7 @@ static inline void *__va(unsigned long x)
* NOTE: virtual isn't really correct, actually it should be the offset into the
* memory node, but we have no highmem, so that works for now.
* TODO: implement (fast) pfn<->pgdat_idx conversion functions, this makes lots
* of the shifts unneccessary.
* of the shifts unnecessary.
*/
#define virt_to_pfn(kaddr) (__pa(kaddr) >> PAGE_SHIFT)
#define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT)
......
......@@ -32,7 +32,7 @@ typedef __signed__ long long __s64;
typedef unsigned long long __u64;
#endif
/* A address type so that arithmetic can be done on it & it can be upgraded to
64 bit when neccessary
64 bit when necessary
*/
typedef __u32 addr_t;
typedef __s32 saddr_t;
......
......@@ -32,7 +32,7 @@ typedef unsigned long __u64;
/*
* A address type so that arithmetic can be done on it & it can be upgraded to
* 64 bit when neccessary
* 64 bit when necessary
*/
typedef unsigned long addr_t;
......
......@@ -1078,11 +1078,11 @@ int cpufreq_set_policy(struct cpufreq_policy *policy)
down(&cpufreq_notifier_sem);
/* adjust if neccessary - all reasons */
/* adjust if necessary - all reasons */
notifier_call_chain(&cpufreq_policy_notifier_list, CPUFREQ_ADJUST,
policy);
/* adjust if neccessary - hardware incompatibility*/
/* adjust if necessary - hardware incompatibility*/
notifier_call_chain(&cpufreq_policy_notifier_list, CPUFREQ_INCOMPATIBLE,
policy);
......
......@@ -961,7 +961,7 @@ static int relocate_pagedir(void)
printk("Relocating pagedir");
if(!does_collide_order(old_pagedir, (unsigned long)old_pagedir, pagedir_order)) {
printk("not neccessary\n");
printk("not necessary\n");
return 0;
}
......
......@@ -321,7 +321,7 @@ static int help(const struct iphdr *iph, size_t len,
if (found == -1) {
/* We don't usually drop packets. After all, this is
connection tracking, not packet filtering.
However, it is neccessary for accurate tracking in
However, it is necessary for accurate tracking in
this case. */
if (net_ratelimit())
printk("conntrack_ftp: partial %s %u+%u\n",
......
......@@ -199,7 +199,7 @@ static int help(const struct iphdr *iph, size_t len,
LOCK_BH(&ip_irc_lock);
/* save position of address in dcc string,
* neccessary for NAT */
* necessary for NAT */
DEBUGP("tcph->seq = %u\n", tcph->seq);
exp->seq = ntohl(tcph->seq) + (addr_beg_p - _data);
exp_irc_info->len = (addr_end_p - addr_beg_p);
......
......@@ -288,7 +288,7 @@ find_best_ips_proto(struct ip_conntrack_tuple *tuple,
saved_ip = tuple->src.ip;
other_ipp = &tuple->src.ip;
}
/* Don't do do_extra_mangle unless neccessary (overrides
/* Don't do do_extra_mangle unless necessary (overrides
explicit socket bindings, for example) */
orig_dstip = tuple->dst.ip;
......
......@@ -623,7 +623,7 @@ htb_change_class_mode(struct htb_sched *q, struct htb_class *cl, long *diff)
if (new_mode == cl->cmode)
return;
if (cl->prio_activity) { /* not neccessary: speed optimization */
if (cl->prio_activity) { /* not necessary: speed optimization */
if (cl->cmode != HTB_CANT_SEND)
htb_deactivate_prios(q,cl);
cl->cmode = new_mode;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment