aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Buchbinder <adam.buchbinder@gmail.com>2009-12-18 15:40:42 -0500
committerJiri Kosina <jkosina@suse.cz>2010-02-05 06:22:30 -0500
commitc9404c9c392d557a4687c4cbda022b03cb787ce9 (patch)
tree1633e9e8d6a3f955297affd2c3304bdbb670a73c
parent634bad68bc25753816594ecd390dcea980528315 (diff)
Fix misspelling of "should" and "shouldn't" in comments.
Some comments misspell "should" or "shouldn't"; this fixes them. No code changes. Signed-off-by: Adam Buchbinder <adam.buchbinder@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r--arch/x86/kernel/ptrace.c2
-rw-r--r--drivers/ata/libata-core.c2
-rw-r--r--drivers/gpu/drm/radeon/atombios.h2
-rw-r--r--drivers/ieee1394/pcilynx.c2
-rw-r--r--drivers/input/tablet/aiptek.c2
-rw-r--r--drivers/mmc/card/sdio_uart.c2
-rw-r--r--drivers/scsi/lpfc/lpfc_scsi.c4
-rw-r--r--drivers/video/sstfb.c2
-rw-r--r--fs/locks.c2
-rw-r--r--kernel/audit.c2
-rw-r--r--mm/slub.c2
11 files changed, 12 insertions, 12 deletions
diff --git a/arch/x86/kernel/ptrace.c b/arch/x86/kernel/ptrace.c
index 017d937639fe..118428085ea2 100644
--- a/arch/x86/kernel/ptrace.c
+++ b/arch/x86/kernel/ptrace.c
@@ -604,7 +604,7 @@ ptrace_modify_breakpoint(struct perf_event *bp, int len, int type,
604 struct perf_event_attr attr; 604 struct perf_event_attr attr;
605 605
606 /* 606 /*
607 * We shoud have at least an inactive breakpoint at this 607 * We should have at least an inactive breakpoint at this
608 * slot. It means the user is writing dr7 without having 608 * slot. It means the user is writing dr7 without having
609 * written the address register first 609 * written the address register first
610 */ 610 */
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 6728328f3bea..698ef474767e 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -2232,7 +2232,7 @@ retry:
2232 * Some drives were very specific about that exact sequence. 2232 * Some drives were very specific about that exact sequence.
2233 * 2233 *
2234 * Note that ATA4 says lba is mandatory so the second check 2234 * Note that ATA4 says lba is mandatory so the second check
2235 * shoud never trigger. 2235 * should never trigger.
2236 */ 2236 */
2237 if (ata_id_major_version(id) < 4 || !ata_id_has_lba(id)) { 2237 if (ata_id_major_version(id) < 4 || !ata_id_has_lba(id)) {
2238 err_mask = ata_dev_init_params(dev, id[3], id[6]); 2238 err_mask = ata_dev_init_params(dev, id[3], id[6]);
diff --git a/drivers/gpu/drm/radeon/atombios.h b/drivers/gpu/drm/radeon/atombios.h
index 91ad0d1c1b17..2a88029f6a1e 100644
--- a/drivers/gpu/drm/radeon/atombios.h
+++ b/drivers/gpu/drm/radeon/atombios.h
@@ -2275,7 +2275,7 @@ typedef struct _ATOM_LCD_RTS_RECORD {
2275 UCHAR ucRTSValue; 2275 UCHAR ucRTSValue;
2276} ATOM_LCD_RTS_RECORD; 2276} ATOM_LCD_RTS_RECORD;
2277 2277
2278/* !! If the record below exits, it shoud always be the first record for easy use in command table!!! */ 2278/* !! If the record below exits, it should always be the first record for easy use in command table!!! */
2279typedef struct _ATOM_LCD_MODE_CONTROL_CAP { 2279typedef struct _ATOM_LCD_MODE_CONTROL_CAP {
2280 UCHAR ucRecordType; 2280 UCHAR ucRecordType;
2281 USHORT usLCDCap; 2281 USHORT usLCDCap;
diff --git a/drivers/ieee1394/pcilynx.c b/drivers/ieee1394/pcilynx.c
index 9555fd253865..bf47fee79808 100644
--- a/drivers/ieee1394/pcilynx.c
+++ b/drivers/ieee1394/pcilynx.c
@@ -1452,7 +1452,7 @@ static int __devinit add_card(struct pci_dev *dev,
1452 PRINT(KERN_ERR, lynx->id, "unable to read bus info block from i2c"); 1452 PRINT(KERN_ERR, lynx->id, "unable to read bus info block from i2c");
1453 } else { 1453 } else {
1454 PRINT(KERN_INFO, lynx->id, "got bus info block from serial eeprom"); 1454 PRINT(KERN_INFO, lynx->id, "got bus info block from serial eeprom");
1455 /* FIXME: probably we shoud rewrite the max_rec, max_ROM(1394a), 1455 /* FIXME: probably we should rewrite the max_rec, max_ROM(1394a),
1456 * generation(1394a) and link_spd(1394a) field and recalculate 1456 * generation(1394a) and link_spd(1394a) field and recalculate
1457 * the CRC */ 1457 * the CRC */
1458 1458
diff --git a/drivers/input/tablet/aiptek.c b/drivers/input/tablet/aiptek.c
index 7d005a3616d7..4be039d7dcad 100644
--- a/drivers/input/tablet/aiptek.c
+++ b/drivers/input/tablet/aiptek.c
@@ -362,7 +362,7 @@ static const int macroKeyEvents[] = {
362}; 362};
363 363
364/*********************************************************************** 364/***********************************************************************
365 * Map values to strings and back. Every map shoudl have the following 365 * Map values to strings and back. Every map should have the following
366 * as its last element: { NULL, AIPTEK_INVALID_VALUE }. 366 * as its last element: { NULL, AIPTEK_INVALID_VALUE }.
367 */ 367 */
368#define AIPTEK_INVALID_VALUE -1 368#define AIPTEK_INVALID_VALUE -1
diff --git a/drivers/mmc/card/sdio_uart.c b/drivers/mmc/card/sdio_uart.c
index f53755533e7e..a4e37758be41 100644
--- a/drivers/mmc/card/sdio_uart.c
+++ b/drivers/mmc/card/sdio_uart.c
@@ -581,7 +581,7 @@ static int uart_carrier_raised(struct tty_port *tport)
581 struct sdio_uart_port *port = 581 struct sdio_uart_port *port =
582 container_of(tport, struct sdio_uart_port, port); 582 container_of(tport, struct sdio_uart_port, port);
583 unsigned int ret = sdio_uart_claim_func(port); 583 unsigned int ret = sdio_uart_claim_func(port);
584 if (ret) /* Missing hardware shoudn't block for carrier */ 584 if (ret) /* Missing hardware shouldn't block for carrier */
585 return 1; 585 return 1;
586 ret = sdio_uart_get_mctrl(port); 586 ret = sdio_uart_get_mctrl(port);
587 sdio_uart_release_func(port); 587 sdio_uart_release_func(port);
diff --git a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c
index a246410ce9df..28c6bfd3e82e 100644
--- a/drivers/scsi/lpfc/lpfc_scsi.c
+++ b/drivers/scsi/lpfc/lpfc_scsi.c
@@ -1574,7 +1574,7 @@ lpfc_bg_scsi_prep_dma_buf(struct lpfc_hba *phba,
1574 case LPFC_PG_TYPE_NO_DIF: 1574 case LPFC_PG_TYPE_NO_DIF:
1575 num_bde = lpfc_bg_setup_bpl(phba, scsi_cmnd, bpl, 1575 num_bde = lpfc_bg_setup_bpl(phba, scsi_cmnd, bpl,
1576 datasegcnt); 1576 datasegcnt);
1577 /* we shoud have 2 or more entries in buffer list */ 1577 /* we should have 2 or more entries in buffer list */
1578 if (num_bde < 2) 1578 if (num_bde < 2)
1579 goto err; 1579 goto err;
1580 break; 1580 break;
@@ -1611,7 +1611,7 @@ lpfc_bg_scsi_prep_dma_buf(struct lpfc_hba *phba,
1611 1611
1612 num_bde = lpfc_bg_setup_bpl_prot(phba, scsi_cmnd, bpl, 1612 num_bde = lpfc_bg_setup_bpl_prot(phba, scsi_cmnd, bpl,
1613 datasegcnt, protsegcnt); 1613 datasegcnt, protsegcnt);
1614 /* we shoud have 3 or more entries in buffer list */ 1614 /* we should have 3 or more entries in buffer list */
1615 if (num_bde < 3) 1615 if (num_bde < 3)
1616 goto err; 1616 goto err;
1617 break; 1617 break;
diff --git a/drivers/video/sstfb.c b/drivers/video/sstfb.c
index 609d0a521ca2..79840f11fecb 100644
--- a/drivers/video/sstfb.c
+++ b/drivers/video/sstfb.c
@@ -1102,7 +1102,7 @@ static void sst_set_vidmod_ics(struct fb_info *info, const int bpp)
1102 * detect dac type 1102 * detect dac type
1103 * prerequisite : write to FbiInitx enabled, video and fbi and pci fifo reset, 1103 * prerequisite : write to FbiInitx enabled, video and fbi and pci fifo reset,
1104 * dram refresh disabled, FbiInit remaped. 1104 * dram refresh disabled, FbiInit remaped.
1105 * TODO: mmh.. maybe i shoud put the "prerequisite" in the func ... 1105 * TODO: mmh.. maybe i should put the "prerequisite" in the func ...
1106 */ 1106 */
1107 1107
1108 1108
diff --git a/fs/locks.c b/fs/locks.c
index a8794f233bc9..cde572db112f 100644
--- a/fs/locks.c
+++ b/fs/locks.c
@@ -1454,7 +1454,7 @@ EXPORT_SYMBOL(generic_setlease);
1454 * leases held by processes on this node. 1454 * leases held by processes on this node.
1455 * 1455 *
1456 * There is also no break_lease method; filesystems that 1456 * There is also no break_lease method; filesystems that
1457 * handle their own leases shoud break leases themselves from the 1457 * handle their own leases should break leases themselves from the
1458 * filesystem's open, create, and (on truncate) setattr methods. 1458 * filesystem's open, create, and (on truncate) setattr methods.
1459 * 1459 *
1460 * Warning: the only current setlease methods exist only to disable 1460 * Warning: the only current setlease methods exist only to disable
diff --git a/kernel/audit.c b/kernel/audit.c
index 5feed232be9d..78f7f86aa238 100644
--- a/kernel/audit.c
+++ b/kernel/audit.c
@@ -398,7 +398,7 @@ static void kauditd_send_skb(struct sk_buff *skb)
398 skb_get(skb); 398 skb_get(skb);
399 err = netlink_unicast(audit_sock, skb, audit_nlk_pid, 0); 399 err = netlink_unicast(audit_sock, skb, audit_nlk_pid, 0);
400 if (err < 0) { 400 if (err < 0) {
401 BUG_ON(err != -ECONNREFUSED); /* Shoudn't happen */ 401 BUG_ON(err != -ECONNREFUSED); /* Shouldn't happen */
402 printk(KERN_ERR "audit: *NO* daemon at audit_pid=%d\n", audit_pid); 402 printk(KERN_ERR "audit: *NO* daemon at audit_pid=%d\n", audit_pid);
403 audit_log_lost("auditd dissapeared\n"); 403 audit_log_lost("auditd dissapeared\n");
404 audit_pid = 0; 404 audit_pid = 0;
diff --git a/mm/slub.c b/mm/slub.c
index 8d71aaf888d7..00e0961b11fe 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -3086,7 +3086,7 @@ static void slab_mem_offline_callback(void *arg)
3086 /* 3086 /*
3087 * if n->nr_slabs > 0, slabs still exist on the node 3087 * if n->nr_slabs > 0, slabs still exist on the node
3088 * that is going down. We were unable to free them, 3088 * that is going down. We were unable to free them,
3089 * and offline_pages() function shoudn't call this 3089 * and offline_pages() function shouldn't call this
3090 * callback. So, we must fail. 3090 * callback. So, we must fail.
3091 */ 3091 */
3092 BUG_ON(slabs_node(s, offline_node)); 3092 BUG_ON(slabs_node(s, offline_node));