]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
Fix misspelling of "should" and "shouldn't" in comments.
authorAdam Buchbinder <adam.buchbinder@gmail.com>
Fri, 18 Dec 2009 20:40:42 +0000 (15:40 -0500)
committerJiri Kosina <jkosina@suse.cz>
Fri, 5 Feb 2010 11:22:30 +0000 (12:22 +0100)
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>
arch/x86/kernel/ptrace.c
drivers/ata/libata-core.c
drivers/gpu/drm/radeon/atombios.h
drivers/ieee1394/pcilynx.c
drivers/input/tablet/aiptek.c
drivers/mmc/card/sdio_uart.c
drivers/scsi/lpfc/lpfc_scsi.c
drivers/video/sstfb.c
fs/locks.c
kernel/audit.c
mm/slub.c

index 017d937639fef87694eea7cd3cbbf95efb163d37..118428085ea28629389f6256d7caf76a8efea556 100644 (file)
@@ -604,7 +604,7 @@ ptrace_modify_breakpoint(struct perf_event *bp, int len, int type,
        struct perf_event_attr attr;
 
        /*
-        * We shoud have at least an inactive breakpoint at this
+        * We should have at least an inactive breakpoint at this
         * slot. It means the user is writing dr7 without having
         * written the address register first
         */
index 6728328f3bea21309552110eca5bb5eb7f52a097..698ef474767ed1ac227e9753c1a6792742539e9b 100644 (file)
@@ -2232,7 +2232,7 @@ retry:
                 * Some drives were very specific about that exact sequence.
                 *
                 * Note that ATA4 says lba is mandatory so the second check
-                * shoud never trigger.
+                * should never trigger.
                 */
                if (ata_id_major_version(id) < 4 || !ata_id_has_lba(id)) {
                        err_mask = ata_dev_init_params(dev, id[3], id[6]);
index 91ad0d1c1b17e3d6101499bf4985894a250a392e..2a88029f6a1e776b0292d2d8049927f3b88e0a50 100644 (file)
@@ -2275,7 +2275,7 @@ typedef struct _ATOM_LCD_RTS_RECORD {
        UCHAR ucRTSValue;
 } ATOM_LCD_RTS_RECORD;
 
-/* !! If the record below exits, it shoud always be the first record for easy use in command table!!! */
+/* !! If the record below exits, it should always be the first record for easy use in command table!!! */
 typedef struct _ATOM_LCD_MODE_CONTROL_CAP {
        UCHAR ucRecordType;
        USHORT usLCDCap;
index 9555fd2538658561526400f6202dd1d13a7c2bc7..bf47fee7980895bcc324d5c2e0ef66749e6c2590 100644 (file)
@@ -1452,7 +1452,7 @@ static int __devinit add_card(struct pci_dev *dev,
                                 PRINT(KERN_ERR, lynx->id, "unable to read bus info block from i2c");
                         } else {
                                 PRINT(KERN_INFO, lynx->id, "got bus info block from serial eeprom");
-                               /* FIXME: probably we shoud rewrite the max_rec, max_ROM(1394a),
+                               /* FIXME: probably we should rewrite the max_rec, max_ROM(1394a),
                                 * generation(1394a) and link_spd(1394a) field and recalculate
                                 * the CRC */
 
index 7d005a3616d7187b1f228ebf10136df46228b67e..4be039d7dcad35ece4c2fda9829d0071ac9964d3 100644 (file)
@@ -362,7 +362,7 @@ static const int macroKeyEvents[] = {
 };
 
 /***********************************************************************
- * Map values to strings and back. Every map shoudl have the following
+ * Map values to strings and back. Every map should have the following
  * as its last element: { NULL, AIPTEK_INVALID_VALUE }.
  */
 #define AIPTEK_INVALID_VALUE   -1
index f53755533e7e2e05b4343850ed544b10c0429df6..a4e37758be4141b5e9a9cd811ec638c405bebc87 100644 (file)
@@ -581,7 +581,7 @@ static int uart_carrier_raised(struct tty_port *tport)
        struct sdio_uart_port *port =
                        container_of(tport, struct sdio_uart_port, port);
        unsigned int ret = sdio_uart_claim_func(port);
-       if (ret)        /* Missing hardware shoudn't block for carrier */
+       if (ret)        /* Missing hardware shouldn't block for carrier */
                return 1;
        ret = sdio_uart_get_mctrl(port);
        sdio_uart_release_func(port);
index a246410ce9df1dad507dfb015cc4888a0ae5bf50..28c6bfd3e82eacd0f7debebc5fdd2e6b2802ecd8 100644 (file)
@@ -1574,7 +1574,7 @@ lpfc_bg_scsi_prep_dma_buf(struct lpfc_hba *phba,
                case LPFC_PG_TYPE_NO_DIF:
                        num_bde = lpfc_bg_setup_bpl(phba, scsi_cmnd, bpl,
                                        datasegcnt);
-                       /* we shoud have 2 or more entries in buffer list */
+                       /* we should have 2 or more entries in buffer list */
                        if (num_bde < 2)
                                goto err;
                        break;
@@ -1611,7 +1611,7 @@ lpfc_bg_scsi_prep_dma_buf(struct lpfc_hba *phba,
 
                        num_bde = lpfc_bg_setup_bpl_prot(phba, scsi_cmnd, bpl,
                                        datasegcnt, protsegcnt);
-                       /* we shoud have 3 or more entries in buffer list */
+                       /* we should have 3 or more entries in buffer list */
                        if (num_bde < 3)
                                goto err;
                        break;
index 609d0a521ca2df96d064efe7f71dcbd46fb21541..79840f11fecbba5467388cd1987be73401343044 100644 (file)
@@ -1102,7 +1102,7 @@ static void sst_set_vidmod_ics(struct fb_info *info, const int bpp)
  * detect dac type
  * prerequisite : write to FbiInitx enabled, video and fbi and pci fifo reset,
  * dram refresh disabled, FbiInit remaped.
- * TODO: mmh.. maybe i shoud put the "prerequisite" in the func ...
+ * TODO: mmh.. maybe i should put the "prerequisite" in the func ...
  */
 
 
index a8794f233bc9c38d45c47f69d03652f7f6f8d533..cde572db112f22ec3ecd0894dc5251ad9f42549b 100644 (file)
@@ -1454,7 +1454,7 @@ EXPORT_SYMBOL(generic_setlease);
  *     leases held by processes on this node.
  *
  *     There is also no break_lease method; filesystems that
- *     handle their own leases shoud break leases themselves from the
+ *     handle their own leases should break leases themselves from the
  *     filesystem's open, create, and (on truncate) setattr methods.
  *
  *     Warning: the only current setlease methods exist only to disable
index 5feed232be9d4b55f72f5b38a010e4e6619c7a19..78f7f86aa2387a391cdbc2a91c364d1a41932deb 100644 (file)
@@ -398,7 +398,7 @@ static void kauditd_send_skb(struct sk_buff *skb)
        skb_get(skb);
        err = netlink_unicast(audit_sock, skb, audit_nlk_pid, 0);
        if (err < 0) {
-               BUG_ON(err != -ECONNREFUSED); /* Shoudn't happen */
+               BUG_ON(err != -ECONNREFUSED); /* Shouldn't happen */
                printk(KERN_ERR "audit: *NO* daemon at audit_pid=%d\n", audit_pid);
                audit_log_lost("auditd dissapeared\n");
                audit_pid = 0;
index 8d71aaf888d770b27ba26df5d4d9592832a87b2d..00e0961b11fe2e60a4114680dcd32d9b3603a412 100644 (file)
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -3086,7 +3086,7 @@ static void slab_mem_offline_callback(void *arg)
                        /*
                         * if n->nr_slabs > 0, slabs still exist on the node
                         * that is going down. We were unable to free them,
-                        * and offline_pages() function shoudn't call this
+                        * and offline_pages() function shouldn't call this
                         * callback. So, we must fail.
                         */
                        BUG_ON(slabs_node(s, offline_node));