diff options
Diffstat (limited to 'drivers')
95 files changed, 104 insertions, 164 deletions
diff --git a/drivers/atm/idt77252.c b/drivers/atm/idt77252.c index db06f34419cf..1c052127548c 100644 --- a/drivers/atm/idt77252.c +++ b/drivers/atm/idt77252.c | |||
@@ -3416,27 +3416,28 @@ init_card(struct atm_dev *dev) | |||
3416 | 3416 | ||
3417 | size = sizeof(struct vc_map *) * card->tct_size; | 3417 | size = sizeof(struct vc_map *) * card->tct_size; |
3418 | IPRINTK("%s: allocate %d byte for VC map.\n", card->name, size); | 3418 | IPRINTK("%s: allocate %d byte for VC map.\n", card->name, size); |
3419 | if (NULL == (card->vcs = vmalloc(size))) { | 3419 | card->vcs = vzalloc(size); |
3420 | if (!card->vcs) { | ||
3420 | printk("%s: memory allocation failure.\n", card->name); | 3421 | printk("%s: memory allocation failure.\n", card->name); |
3421 | deinit_card(card); | 3422 | deinit_card(card); |
3422 | return -1; | 3423 | return -1; |
3423 | } | 3424 | } |
3424 | memset(card->vcs, 0, size); | ||
3425 | 3425 | ||
3426 | size = sizeof(struct vc_map *) * card->scd_size; | 3426 | size = sizeof(struct vc_map *) * card->scd_size; |
3427 | IPRINTK("%s: allocate %d byte for SCD to VC mapping.\n", | 3427 | IPRINTK("%s: allocate %d byte for SCD to VC mapping.\n", |
3428 | card->name, size); | 3428 | card->name, size); |
3429 | if (NULL == (card->scd2vc = vmalloc(size))) { | 3429 | card->scd2vc = vzalloc(size); |
3430 | if (!card->scd2vc) { | ||
3430 | printk("%s: memory allocation failure.\n", card->name); | 3431 | printk("%s: memory allocation failure.\n", card->name); |
3431 | deinit_card(card); | 3432 | deinit_card(card); |
3432 | return -1; | 3433 | return -1; |
3433 | } | 3434 | } |
3434 | memset(card->scd2vc, 0, size); | ||
3435 | 3435 | ||
3436 | size = sizeof(struct tst_info) * (card->tst_size - 2); | 3436 | size = sizeof(struct tst_info) * (card->tst_size - 2); |
3437 | IPRINTK("%s: allocate %d byte for TST to VC mapping.\n", | 3437 | IPRINTK("%s: allocate %d byte for TST to VC mapping.\n", |
3438 | card->name, size); | 3438 | card->name, size); |
3439 | if (NULL == (card->soft_tst = vmalloc(size))) { | 3439 | card->soft_tst = vmalloc(size); |
3440 | if (!card->soft_tst) { | ||
3440 | printk("%s: memory allocation failure.\n", card->name); | 3441 | printk("%s: memory allocation failure.\n", card->name); |
3441 | deinit_card(card); | 3442 | deinit_card(card); |
3442 | return -1; | 3443 | return -1; |
diff --git a/drivers/atm/lanai.c b/drivers/atm/lanai.c index e828c5487493..f5569699f31c 100644 --- a/drivers/atm/lanai.c +++ b/drivers/atm/lanai.c | |||
@@ -1457,10 +1457,9 @@ static int __devinit vcc_table_allocate(struct lanai_dev *lanai) | |||
1457 | return (lanai->vccs == NULL) ? -ENOMEM : 0; | 1457 | return (lanai->vccs == NULL) ? -ENOMEM : 0; |
1458 | #else | 1458 | #else |
1459 | int bytes = (lanai->num_vci) * sizeof(struct lanai_vcc *); | 1459 | int bytes = (lanai->num_vci) * sizeof(struct lanai_vcc *); |
1460 | lanai->vccs = (struct lanai_vcc **) vmalloc(bytes); | 1460 | lanai->vccs = vzalloc(bytes); |
1461 | if (unlikely(lanai->vccs == NULL)) | 1461 | if (unlikely(lanai->vccs == NULL)) |
1462 | return -ENOMEM; | 1462 | return -ENOMEM; |
1463 | memset(lanai->vccs, 0, bytes); | ||
1464 | return 0; | 1463 | return 0; |
1465 | #endif | 1464 | #endif |
1466 | } | 1465 | } |
diff --git a/drivers/block/drbd/drbd_bitmap.c b/drivers/block/drbd/drbd_bitmap.c index 7b976296b564..912f585a760f 100644 --- a/drivers/block/drbd/drbd_bitmap.c +++ b/drivers/block/drbd/drbd_bitmap.c | |||
@@ -378,15 +378,14 @@ static struct page **bm_realloc_pages(struct drbd_bitmap *b, unsigned long want) | |||
378 | * thread. As we have no disk yet, we are not in the IO path, | 378 | * thread. As we have no disk yet, we are not in the IO path, |
379 | * not even the IO path of the peer. */ | 379 | * not even the IO path of the peer. */ |
380 | bytes = sizeof(struct page *)*want; | 380 | bytes = sizeof(struct page *)*want; |
381 | new_pages = kmalloc(bytes, GFP_KERNEL); | 381 | new_pages = kzalloc(bytes, GFP_KERNEL); |
382 | if (!new_pages) { | 382 | if (!new_pages) { |
383 | new_pages = vmalloc(bytes); | 383 | new_pages = vzalloc(bytes); |
384 | if (!new_pages) | 384 | if (!new_pages) |
385 | return NULL; | 385 | return NULL; |
386 | vmalloced = 1; | 386 | vmalloced = 1; |
387 | } | 387 | } |
388 | 388 | ||
389 | memset(new_pages, 0, bytes); | ||
390 | if (want >= have) { | 389 | if (want >= have) { |
391 | for (i = 0; i < have; i++) | 390 | for (i = 0; i < have; i++) |
392 | new_pages[i] = old_pages[i]; | 391 | new_pages[i] = old_pages[i]; |
diff --git a/drivers/block/drbd/drbd_int.h b/drivers/block/drbd/drbd_int.h index ef2ceed3be4b..1706d60b8c99 100644 --- a/drivers/block/drbd/drbd_int.h +++ b/drivers/block/drbd/drbd_int.h | |||
@@ -28,7 +28,6 @@ | |||
28 | 28 | ||
29 | #include <linux/compiler.h> | 29 | #include <linux/compiler.h> |
30 | #include <linux/types.h> | 30 | #include <linux/types.h> |
31 | #include <linux/version.h> | ||
32 | #include <linux/list.h> | 31 | #include <linux/list.h> |
33 | #include <linux/sched.h> | 32 | #include <linux/sched.h> |
34 | #include <linux/bitops.h> | 33 | #include <linux/bitops.h> |
@@ -928,7 +927,7 @@ struct drbd_md { | |||
928 | #define NL_INT64(pn,pr,member) __u64 member; | 927 | #define NL_INT64(pn,pr,member) __u64 member; |
929 | #define NL_BIT(pn,pr,member) unsigned member:1; | 928 | #define NL_BIT(pn,pr,member) unsigned member:1; |
930 | #define NL_STRING(pn,pr,member,len) unsigned char member[len]; int member ## _len; | 929 | #define NL_STRING(pn,pr,member,len) unsigned char member[len]; int member ## _len; |
931 | #include "linux/drbd_nl.h" | 930 | #include <linux/drbd_nl.h> |
932 | 931 | ||
933 | struct drbd_backing_dev { | 932 | struct drbd_backing_dev { |
934 | struct block_device *backing_bdev; | 933 | struct block_device *backing_bdev; |
diff --git a/drivers/block/drbd/drbd_nl.c b/drivers/block/drbd/drbd_nl.c index 0feab261e295..af2a25049bce 100644 --- a/drivers/block/drbd/drbd_nl.c +++ b/drivers/block/drbd/drbd_nl.c | |||
@@ -94,7 +94,7 @@ static int name ## _from_tags(struct drbd_conf *mdev, \ | |||
94 | arg->member ## _len = dlen; \ | 94 | arg->member ## _len = dlen; \ |
95 | memcpy(arg->member, tags, min_t(size_t, dlen, len)); \ | 95 | memcpy(arg->member, tags, min_t(size_t, dlen, len)); \ |
96 | break; | 96 | break; |
97 | #include "linux/drbd_nl.h" | 97 | #include <linux/drbd_nl.h> |
98 | 98 | ||
99 | /* Generate the struct to tag_list functions */ | 99 | /* Generate the struct to tag_list functions */ |
100 | #define NL_PACKET(name, number, fields) \ | 100 | #define NL_PACKET(name, number, fields) \ |
@@ -129,7 +129,7 @@ name ## _to_tags(struct drbd_conf *mdev, \ | |||
129 | put_unaligned(arg->member ## _len, tags++); \ | 129 | put_unaligned(arg->member ## _len, tags++); \ |
130 | memcpy(tags, arg->member, arg->member ## _len); \ | 130 | memcpy(tags, arg->member, arg->member ## _len); \ |
131 | tags = (unsigned short *)((char *)tags + arg->member ## _len); | 131 | tags = (unsigned short *)((char *)tags + arg->member ## _len); |
132 | #include "linux/drbd_nl.h" | 132 | #include <linux/drbd_nl.h> |
133 | 133 | ||
134 | void drbd_bcast_ev_helper(struct drbd_conf *mdev, char *helper_name); | 134 | void drbd_bcast_ev_helper(struct drbd_conf *mdev, char *helper_name); |
135 | void drbd_nl_send_reply(struct cn_msg *, int); | 135 | void drbd_nl_send_reply(struct cn_msg *, int); |
diff --git a/drivers/block/rbd.c b/drivers/block/rbd.c index 15f65b5f3fc7..fe3c3249cec4 100644 --- a/drivers/block/rbd.c +++ b/drivers/block/rbd.c | |||
@@ -192,7 +192,7 @@ static ssize_t rbd_snap_add(struct device *dev, | |||
192 | const char *buf, | 192 | const char *buf, |
193 | size_t count); | 193 | size_t count); |
194 | static void __rbd_remove_snap_dev(struct rbd_device *rbd_dev, | 194 | static void __rbd_remove_snap_dev(struct rbd_device *rbd_dev, |
195 | struct rbd_snap *snap);; | 195 | struct rbd_snap *snap); |
196 | 196 | ||
197 | 197 | ||
198 | static struct rbd_device *dev_to_rbd(struct device *dev) | 198 | static struct rbd_device *dev_to_rbd(struct device *dev) |
diff --git a/drivers/block/xen-blkback/common.h b/drivers/block/xen-blkback/common.h index 00c57c90e2d6..c4bd34063ecc 100644 --- a/drivers/block/xen-blkback/common.h +++ b/drivers/block/xen-blkback/common.h | |||
@@ -27,7 +27,6 @@ | |||
27 | #ifndef __XEN_BLKIF__BACKEND__COMMON_H__ | 27 | #ifndef __XEN_BLKIF__BACKEND__COMMON_H__ |
28 | #define __XEN_BLKIF__BACKEND__COMMON_H__ | 28 | #define __XEN_BLKIF__BACKEND__COMMON_H__ |
29 | 29 | ||
30 | #include <linux/version.h> | ||
31 | #include <linux/module.h> | 30 | #include <linux/module.h> |
32 | #include <linux/interrupt.h> | 31 | #include <linux/interrupt.h> |
33 | #include <linux/slab.h> | 32 | #include <linux/slab.h> |
diff --git a/drivers/bluetooth/btmrvl_sdio.c b/drivers/bluetooth/btmrvl_sdio.c index 7f521d4ac657..c827d737ccee 100644 --- a/drivers/bluetooth/btmrvl_sdio.c +++ b/drivers/bluetooth/btmrvl_sdio.c | |||
@@ -81,7 +81,7 @@ static const struct btmrvl_sdio_card_reg btmrvl_reg_8787 = { | |||
81 | .io_port_2 = 0x7a, | 81 | .io_port_2 = 0x7a, |
82 | }; | 82 | }; |
83 | 83 | ||
84 | static const struct btmrvl_sdio_device btmrvl_sdio_sd6888 = { | 84 | static const struct btmrvl_sdio_device btmrvl_sdio_sd8688 = { |
85 | .helper = "sd8688_helper.bin", | 85 | .helper = "sd8688_helper.bin", |
86 | .firmware = "sd8688.bin", | 86 | .firmware = "sd8688.bin", |
87 | .reg = &btmrvl_reg_8688, | 87 | .reg = &btmrvl_reg_8688, |
@@ -98,7 +98,7 @@ static const struct btmrvl_sdio_device btmrvl_sdio_sd8787 = { | |||
98 | static const struct sdio_device_id btmrvl_sdio_ids[] = { | 98 | static const struct sdio_device_id btmrvl_sdio_ids[] = { |
99 | /* Marvell SD8688 Bluetooth device */ | 99 | /* Marvell SD8688 Bluetooth device */ |
100 | { SDIO_DEVICE(SDIO_VENDOR_ID_MARVELL, 0x9105), | 100 | { SDIO_DEVICE(SDIO_VENDOR_ID_MARVELL, 0x9105), |
101 | .driver_data = (unsigned long) &btmrvl_sdio_sd6888 }, | 101 | .driver_data = (unsigned long) &btmrvl_sdio_sd8688 }, |
102 | /* Marvell SD8787 Bluetooth device */ | 102 | /* Marvell SD8787 Bluetooth device */ |
103 | { SDIO_DEVICE(SDIO_VENDOR_ID_MARVELL, 0x911A), | 103 | { SDIO_DEVICE(SDIO_VENDOR_ID_MARVELL, 0x911A), |
104 | .driver_data = (unsigned long) &btmrvl_sdio_sd8787 }, | 104 | .driver_data = (unsigned long) &btmrvl_sdio_sd8787 }, |
diff --git a/drivers/char/agp/backend.c b/drivers/char/agp/backend.c index f27d0d0816d3..4b71647782d0 100644 --- a/drivers/char/agp/backend.c +++ b/drivers/char/agp/backend.c | |||
@@ -171,7 +171,7 @@ static int agp_backend_initialize(struct agp_bridge_data *bridge) | |||
171 | } | 171 | } |
172 | got_gatt = 1; | 172 | got_gatt = 1; |
173 | 173 | ||
174 | bridge->key_list = vmalloc(PAGE_SIZE * 4); | 174 | bridge->key_list = vzalloc(PAGE_SIZE * 4); |
175 | if (bridge->key_list == NULL) { | 175 | if (bridge->key_list == NULL) { |
176 | dev_err(&bridge->dev->dev, | 176 | dev_err(&bridge->dev->dev, |
177 | "can't allocate memory for key lists\n"); | 177 | "can't allocate memory for key lists\n"); |
@@ -181,7 +181,6 @@ static int agp_backend_initialize(struct agp_bridge_data *bridge) | |||
181 | got_keylist = 1; | 181 | got_keylist = 1; |
182 | 182 | ||
183 | /* FIXME vmalloc'd memory not guaranteed contiguous */ | 183 | /* FIXME vmalloc'd memory not guaranteed contiguous */ |
184 | memset(bridge->key_list, 0, PAGE_SIZE * 4); | ||
185 | 184 | ||
186 | if (bridge->driver->configure()) { | 185 | if (bridge->driver->configure()) { |
187 | dev_err(&bridge->dev->dev, "error configuring host chipset\n"); | 186 | dev_err(&bridge->dev->dev, "error configuring host chipset\n"); |
diff --git a/drivers/char/apm-emulation.c b/drivers/char/apm-emulation.c index 2a2b8fd708c1..f4837a893dfa 100644 --- a/drivers/char/apm-emulation.c +++ b/drivers/char/apm-emulation.c | |||
@@ -40,10 +40,7 @@ | |||
40 | #define APM_MINOR_DEV 134 | 40 | #define APM_MINOR_DEV 134 |
41 | 41 | ||
42 | /* | 42 | /* |
43 | * See Documentation/Config.help for the configuration options. | 43 | * One option can be changed at boot time as follows: |
44 | * | ||
45 | * Various options can be changed at boot time as follows: | ||
46 | * (We allow underscores for compatibility with the modules code) | ||
47 | * apm=on/off enable/disable APM | 44 | * apm=on/off enable/disable APM |
48 | */ | 45 | */ |
49 | 46 | ||
diff --git a/drivers/char/raw.c b/drivers/char/raw.c index b33e8ea314ed..b6de2c047145 100644 --- a/drivers/char/raw.c +++ b/drivers/char/raw.c | |||
@@ -324,13 +324,12 @@ static int __init raw_init(void) | |||
324 | max_raw_minors = MAX_RAW_MINORS; | 324 | max_raw_minors = MAX_RAW_MINORS; |
325 | } | 325 | } |
326 | 326 | ||
327 | raw_devices = vmalloc(sizeof(struct raw_device_data) * max_raw_minors); | 327 | raw_devices = vzalloc(sizeof(struct raw_device_data) * max_raw_minors); |
328 | if (!raw_devices) { | 328 | if (!raw_devices) { |
329 | printk(KERN_ERR "Not enough memory for raw device structures\n"); | 329 | printk(KERN_ERR "Not enough memory for raw device structures\n"); |
330 | ret = -ENOMEM; | 330 | ret = -ENOMEM; |
331 | goto error; | 331 | goto error; |
332 | } | 332 | } |
333 | memset(raw_devices, 0, sizeof(struct raw_device_data) * max_raw_minors); | ||
334 | 333 | ||
335 | ret = register_chrdev_region(dev, max_raw_minors, "raw"); | 334 | ret = register_chrdev_region(dev, max_raw_minors, "raw"); |
336 | if (ret) | 335 | if (ret) |
diff --git a/drivers/char/rtc.c b/drivers/char/rtc.c index dfa8b3062fda..ccd124ab7ca7 100644 --- a/drivers/char/rtc.c +++ b/drivers/char/rtc.c | |||
@@ -80,6 +80,7 @@ | |||
80 | #include <linux/bcd.h> | 80 | #include <linux/bcd.h> |
81 | #include <linux/delay.h> | 81 | #include <linux/delay.h> |
82 | #include <linux/uaccess.h> | 82 | #include <linux/uaccess.h> |
83 | #include <linux/ratelimit.h> | ||
83 | 84 | ||
84 | #include <asm/current.h> | 85 | #include <asm/current.h> |
85 | #include <asm/system.h> | 86 | #include <asm/system.h> |
@@ -1195,10 +1196,8 @@ static void rtc_dropped_irq(unsigned long data) | |||
1195 | 1196 | ||
1196 | spin_unlock_irq(&rtc_lock); | 1197 | spin_unlock_irq(&rtc_lock); |
1197 | 1198 | ||
1198 | if (printk_ratelimit()) { | 1199 | printk_ratelimited(KERN_WARNING "rtc: lost some interrupts at %ldHz.\n", |
1199 | printk(KERN_WARNING "rtc: lost some interrupts at %ldHz.\n", | 1200 | freq); |
1200 | freq); | ||
1201 | } | ||
1202 | 1201 | ||
1203 | /* Now we have new data */ | 1202 | /* Now we have new data */ |
1204 | wake_up_interruptible(&rtc_wait); | 1203 | wake_up_interruptible(&rtc_wait); |
diff --git a/drivers/cpufreq/cpufreq_ondemand.c b/drivers/cpufreq/cpufreq_ondemand.c index 891360edecdd..629b3ec698e2 100644 --- a/drivers/cpufreq/cpufreq_ondemand.c +++ b/drivers/cpufreq/cpufreq_ondemand.c | |||
@@ -725,7 +725,7 @@ static int __init cpufreq_gov_dbs_init(void) | |||
725 | dbs_tuners_ins.down_differential = | 725 | dbs_tuners_ins.down_differential = |
726 | MICRO_FREQUENCY_DOWN_DIFFERENTIAL; | 726 | MICRO_FREQUENCY_DOWN_DIFFERENTIAL; |
727 | /* | 727 | /* |
728 | * In no_hz/micro accounting case we set the minimum frequency | 728 | * In nohz/micro accounting case we set the minimum frequency |
729 | * not depending on HZ, but fixed (very low). The deferred | 729 | * not depending on HZ, but fixed (very low). The deferred |
730 | * timer might skip some samples if idle/sleeping as needed. | 730 | * timer might skip some samples if idle/sleeping as needed. |
731 | */ | 731 | */ |
diff --git a/drivers/gpu/drm/radeon/radeon_fence.c b/drivers/gpu/drm/radeon/radeon_fence.c index 7fd4e3e5ad5f..3475a09f946b 100644 --- a/drivers/gpu/drm/radeon/radeon_fence.c +++ b/drivers/gpu/drm/radeon/radeon_fence.c | |||
@@ -48,7 +48,7 @@ static void radeon_fence_write(struct radeon_device *rdev, u32 seq) | |||
48 | scratch_index = R600_WB_EVENT_OFFSET + rdev->fence_drv.scratch_reg - rdev->scratch.reg_base; | 48 | scratch_index = R600_WB_EVENT_OFFSET + rdev->fence_drv.scratch_reg - rdev->scratch.reg_base; |
49 | else | 49 | else |
50 | scratch_index = RADEON_WB_SCRATCH_OFFSET + rdev->fence_drv.scratch_reg - rdev->scratch.reg_base; | 50 | scratch_index = RADEON_WB_SCRATCH_OFFSET + rdev->fence_drv.scratch_reg - rdev->scratch.reg_base; |
51 | rdev->wb.wb[scratch_index/4] = cpu_to_le32(seq);; | 51 | rdev->wb.wb[scratch_index/4] = cpu_to_le32(seq); |
52 | } else | 52 | } else |
53 | WREG32(rdev->fence_drv.scratch_reg, seq); | 53 | WREG32(rdev->fence_drv.scratch_reg, seq); |
54 | } | 54 | } |
diff --git a/drivers/i2c/busses/i2c-designware.c b/drivers/i2c/busses/i2c-designware.c index b7a51c43b185..1b42b50b5992 100644 --- a/drivers/i2c/busses/i2c-designware.c +++ b/drivers/i2c/busses/i2c-designware.c | |||
@@ -390,7 +390,7 @@ i2c_dw_xfer_msg(struct dw_i2c_dev *dev) | |||
390 | int tx_limit, rx_limit; | 390 | int tx_limit, rx_limit; |
391 | u32 addr = msgs[dev->msg_write_idx].addr; | 391 | u32 addr = msgs[dev->msg_write_idx].addr; |
392 | u32 buf_len = dev->tx_buf_len; | 392 | u32 buf_len = dev->tx_buf_len; |
393 | u8 *buf = dev->tx_buf;; | 393 | u8 *buf = dev->tx_buf; |
394 | 394 | ||
395 | intr_mask = DW_IC_INTR_DEFAULT_MASK; | 395 | intr_mask = DW_IC_INTR_DEFAULT_MASK; |
396 | 396 | ||
diff --git a/drivers/ide/Kconfig b/drivers/ide/Kconfig index 811dbbd9306c..76b6d98bd295 100644 --- a/drivers/ide/Kconfig +++ b/drivers/ide/Kconfig | |||
@@ -681,7 +681,7 @@ config BLK_DEV_IDE_AU1XXX | |||
681 | select IDE_XFER_MODE | 681 | select IDE_XFER_MODE |
682 | choice | 682 | choice |
683 | prompt "IDE Mode for AMD Alchemy Au1200" | 683 | prompt "IDE Mode for AMD Alchemy Au1200" |
684 | default CONFIG_BLK_DEV_IDE_AU1XXX_PIO_DBDMA | 684 | default BLK_DEV_IDE_AU1XXX_PIO_DBDMA |
685 | depends on SOC_AU1200 && BLK_DEV_IDE_AU1XXX | 685 | depends on SOC_AU1200 && BLK_DEV_IDE_AU1XXX |
686 | 686 | ||
687 | config BLK_DEV_IDE_AU1XXX_PIO_DBDMA | 687 | config BLK_DEV_IDE_AU1XXX_PIO_DBDMA |
diff --git a/drivers/input/misc/rotary_encoder.c b/drivers/input/misc/rotary_encoder.c index 2c8b84dd9dac..2be21694fac1 100644 --- a/drivers/input/misc/rotary_encoder.c +++ b/drivers/input/misc/rotary_encoder.c | |||
@@ -7,7 +7,7 @@ | |||
7 | * state machine code inspired by code from Tim Ruetz | 7 | * state machine code inspired by code from Tim Ruetz |
8 | * | 8 | * |
9 | * A generic driver for rotary encoders connected to GPIO lines. | 9 | * A generic driver for rotary encoders connected to GPIO lines. |
10 | * See file:Documentation/input/rotary_encoder.txt for more information | 10 | * See file:Documentation/input/rotary-encoder.txt for more information |
11 | * | 11 | * |
12 | * This program is free software; you can redistribute it and/or modify | 12 | * This program is free software; you can redistribute it and/or modify |
13 | * it under the terms of the GNU General Public License version 2 as | 13 | * it under the terms of the GNU General Public License version 2 as |
diff --git a/drivers/isdn/i4l/isdn_common.c b/drivers/isdn/i4l/isdn_common.c index 6ed82add6ffa..6ddb795e31c5 100644 --- a/drivers/isdn/i4l/isdn_common.c +++ b/drivers/isdn/i4l/isdn_common.c | |||
@@ -2308,11 +2308,11 @@ static int __init isdn_init(void) | |||
2308 | int i; | 2308 | int i; |
2309 | char tmprev[50]; | 2309 | char tmprev[50]; |
2310 | 2310 | ||
2311 | if (!(dev = vmalloc(sizeof(isdn_dev)))) { | 2311 | dev = vzalloc(sizeof(isdn_dev)); |
2312 | if (!dev) { | ||
2312 | printk(KERN_WARNING "isdn: Could not allocate device-struct.\n"); | 2313 | printk(KERN_WARNING "isdn: Could not allocate device-struct.\n"); |
2313 | return -EIO; | 2314 | return -EIO; |
2314 | } | 2315 | } |
2315 | memset((char *) dev, 0, sizeof(isdn_dev)); | ||
2316 | init_timer(&dev->timer); | 2316 | init_timer(&dev->timer); |
2317 | dev->timer.function = isdn_timer_funct; | 2317 | dev->timer.function = isdn_timer_funct; |
2318 | spin_lock_init(&dev->lock); | 2318 | spin_lock_init(&dev->lock); |
diff --git a/drivers/isdn/mISDN/dsp_core.c b/drivers/isdn/mISDN/dsp_core.c index 2877291a9ed8..0c41553ce684 100644 --- a/drivers/isdn/mISDN/dsp_core.c +++ b/drivers/isdn/mISDN/dsp_core.c | |||
@@ -1052,12 +1052,11 @@ dspcreate(struct channel_req *crq) | |||
1052 | if (crq->protocol != ISDN_P_B_L2DSP | 1052 | if (crq->protocol != ISDN_P_B_L2DSP |
1053 | && crq->protocol != ISDN_P_B_L2DSPHDLC) | 1053 | && crq->protocol != ISDN_P_B_L2DSPHDLC) |
1054 | return -EPROTONOSUPPORT; | 1054 | return -EPROTONOSUPPORT; |
1055 | ndsp = vmalloc(sizeof(struct dsp)); | 1055 | ndsp = vzalloc(sizeof(struct dsp)); |
1056 | if (!ndsp) { | 1056 | if (!ndsp) { |
1057 | printk(KERN_ERR "%s: vmalloc struct dsp failed\n", __func__); | 1057 | printk(KERN_ERR "%s: vmalloc struct dsp failed\n", __func__); |
1058 | return -ENOMEM; | 1058 | return -ENOMEM; |
1059 | } | 1059 | } |
1060 | memset(ndsp, 0, sizeof(struct dsp)); | ||
1061 | if (dsp_debug & DEBUG_DSP_CTRL) | 1060 | if (dsp_debug & DEBUG_DSP_CTRL) |
1062 | printk(KERN_DEBUG "%s: creating new dsp instance\n", __func__); | 1061 | printk(KERN_DEBUG "%s: creating new dsp instance\n", __func__); |
1063 | 1062 | ||
diff --git a/drivers/isdn/mISDN/l1oip_codec.c b/drivers/isdn/mISDN/l1oip_codec.c index bbfd1b863ed3..5a89972624d8 100644 --- a/drivers/isdn/mISDN/l1oip_codec.c +++ b/drivers/isdn/mISDN/l1oip_codec.c | |||
@@ -330,14 +330,12 @@ l1oip_4bit_alloc(int ulaw) | |||
330 | return 0; | 330 | return 0; |
331 | 331 | ||
332 | /* alloc conversion tables */ | 332 | /* alloc conversion tables */ |
333 | table_com = vmalloc(65536); | 333 | table_com = vzalloc(65536); |
334 | table_dec = vmalloc(512); | 334 | table_dec = vzalloc(512); |
335 | if (!table_com || !table_dec) { | 335 | if (!table_com || !table_dec) { |
336 | l1oip_4bit_free(); | 336 | l1oip_4bit_free(); |
337 | return -ENOMEM; | 337 | return -ENOMEM; |
338 | } | 338 | } |
339 | memset(table_com, 0, 65536); | ||
340 | memset(table_dec, 0, 512); | ||
341 | /* generate compression table */ | 339 | /* generate compression table */ |
342 | i1 = 0; | 340 | i1 = 0; |
343 | while (i1 < 256) { | 341 | while (i1 < 256) { |
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig index b591e726a6fa..807c875f1c2e 100644 --- a/drivers/leds/Kconfig +++ b/drivers/leds/Kconfig | |||
@@ -400,7 +400,7 @@ config LEDS_TRIGGER_TIMER | |||
400 | This allows LEDs to be controlled by a programmable timer | 400 | This allows LEDs to be controlled by a programmable timer |
401 | via sysfs. Some LED hardware can be programmed to start | 401 | via sysfs. Some LED hardware can be programmed to start |
402 | blinking the LED without any further software interaction. | 402 | blinking the LED without any further software interaction. |
403 | For more details read Documentation/leds-class.txt. | 403 | For more details read Documentation/leds/leds-class.txt. |
404 | 404 | ||
405 | If unsure, say Y. | 405 | If unsure, say Y. |
406 | 406 | ||
diff --git a/drivers/media/dvb/dvb-usb/af9005-remote.c b/drivers/media/dvb/dvb-usb/af9005-remote.c index c3bc64ed405c..7e3961d0db6b 100644 --- a/drivers/media/dvb/dvb-usb/af9005-remote.c +++ b/drivers/media/dvb/dvb-usb/af9005-remote.c | |||
@@ -21,7 +21,7 @@ | |||
21 | * along with this program; if not, write to the Free Software | 21 | * along with this program; if not, write to the Free Software |
22 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 22 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
23 | * | 23 | * |
24 | * see Documentation/dvb/REDME.dvb-usb for more information | 24 | * see Documentation/dvb/README.dvb-usb for more information |
25 | */ | 25 | */ |
26 | #include "af9005.h" | 26 | #include "af9005.h" |
27 | /* debug */ | 27 | /* debug */ |
diff --git a/drivers/media/dvb/dvb-usb/af9005.c b/drivers/media/dvb/dvb-usb/af9005.c index 51f6439dcfd5..0351c0e52dd2 100644 --- a/drivers/media/dvb/dvb-usb/af9005.c +++ b/drivers/media/dvb/dvb-usb/af9005.c | |||
@@ -19,7 +19,7 @@ | |||
19 | * along with this program; if not, write to the Free Software | 19 | * along with this program; if not, write to the Free Software |
20 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 20 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
21 | * | 21 | * |
22 | * see Documentation/dvb/REDME.dvb-usb for more information | 22 | * see Documentation/dvb/README.dvb-usb for more information |
23 | */ | 23 | */ |
24 | #include "af9005.h" | 24 | #include "af9005.h" |
25 | 25 | ||
diff --git a/drivers/media/dvb/frontends/dib3000.h b/drivers/media/dvb/frontends/dib3000.h index ba917359fa65..404f63a6f26b 100644 --- a/drivers/media/dvb/frontends/dib3000.h +++ b/drivers/media/dvb/frontends/dib3000.h | |||
@@ -17,7 +17,7 @@ | |||
17 | * Amaury Demol (ademol@dibcom.fr) from DiBcom for providing specs and driver | 17 | * Amaury Demol (ademol@dibcom.fr) from DiBcom for providing specs and driver |
18 | * sources, on which this driver (and the dvb-dibusb) are based. | 18 | * sources, on which this driver (and the dvb-dibusb) are based. |
19 | * | 19 | * |
20 | * see Documentation/dvb/README.dibusb for more information | 20 | * see Documentation/dvb/README.dvb-usb for more information |
21 | * | 21 | * |
22 | */ | 22 | */ |
23 | 23 | ||
diff --git a/drivers/media/dvb/frontends/dib3000mb.c b/drivers/media/dvb/frontends/dib3000mb.c index e80c59796368..437904cbf3e6 100644 --- a/drivers/media/dvb/frontends/dib3000mb.c +++ b/drivers/media/dvb/frontends/dib3000mb.c | |||
@@ -17,7 +17,7 @@ | |||
17 | * Amaury Demol (ademol@dibcom.fr) from DiBcom for providing specs and driver | 17 | * Amaury Demol (ademol@dibcom.fr) from DiBcom for providing specs and driver |
18 | * sources, on which this driver (and the dvb-dibusb) are based. | 18 | * sources, on which this driver (and the dvb-dibusb) are based. |
19 | * | 19 | * |
20 | * see Documentation/dvb/README.dibusb for more information | 20 | * see Documentation/dvb/README.dvb-usb for more information |
21 | * | 21 | * |
22 | */ | 22 | */ |
23 | 23 | ||
diff --git a/drivers/media/radio/wl128x/fmdrv_v4l2.c b/drivers/media/radio/wl128x/fmdrv_v4l2.c index 8c0e19276970..ec1d52f38904 100644 --- a/drivers/media/radio/wl128x/fmdrv_v4l2.c +++ b/drivers/media/radio/wl128x/fmdrv_v4l2.c | |||
@@ -402,7 +402,7 @@ static int fm_v4l2_vidioc_s_hw_freq_seek(struct file *file, void *priv, | |||
402 | static int fm_v4l2_vidioc_g_modulator(struct file *file, void *priv, | 402 | static int fm_v4l2_vidioc_g_modulator(struct file *file, void *priv, |
403 | struct v4l2_modulator *mod) | 403 | struct v4l2_modulator *mod) |
404 | { | 404 | { |
405 | struct fmdev *fmdev = video_drvdata(file);; | 405 | struct fmdev *fmdev = video_drvdata(file); |
406 | 406 | ||
407 | if (mod->index != 0) | 407 | if (mod->index != 0) |
408 | return -EINVAL; | 408 | return -EINVAL; |
diff --git a/drivers/media/video/cx18/cx18-mailbox.h b/drivers/media/video/cx18/cx18-mailbox.h index 05fe6bdbe062..b63fdfaac49e 100644 --- a/drivers/media/video/cx18/cx18-mailbox.h +++ b/drivers/media/video/cx18/cx18-mailbox.h | |||
@@ -69,7 +69,7 @@ struct cx18_mailbox { | |||
69 | /* Each command can have up to 6 arguments */ | 69 | /* Each command can have up to 6 arguments */ |
70 | u32 args[MAX_MB_ARGUMENTS]; | 70 | u32 args[MAX_MB_ARGUMENTS]; |
71 | /* The return code can be one of the codes in the file cx23418.h. If the | 71 | /* The return code can be one of the codes in the file cx23418.h. If the |
72 | command is completed successfuly, the error will be ERR_SYS_SUCCESS. | 72 | command is completed successfully, the error will be ERR_SYS_SUCCESS. |
73 | If it is pending, the code is ERR_SYS_PENDING. If it failed, the error | 73 | If it is pending, the code is ERR_SYS_PENDING. If it failed, the error |
74 | code would indicate the task from which the error originated and will | 74 | code would indicate the task from which the error originated and will |
75 | be one of the errors in cx23418.h. In that case, the following | 75 | be one of the errors in cx23418.h. In that case, the following |
diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig index 4be8373d43e5..66b616ebe536 100644 --- a/drivers/mtd/Kconfig +++ b/drivers/mtd/Kconfig | |||
@@ -142,7 +142,7 @@ config MTD_OF_PARTS | |||
142 | help | 142 | help |
143 | This provides a partition parsing function which derives | 143 | This provides a partition parsing function which derives |
144 | the partition map from the children of the flash node, | 144 | the partition map from the children of the flash node, |
145 | as described in Documentation/powerpc/booting-without-of.txt. | 145 | as described in Documentation/devicetree/booting-without-of.txt. |
146 | 146 | ||
147 | config MTD_AR7_PARTS | 147 | config MTD_AR7_PARTS |
148 | tristate "TI AR7 partitioning support" | 148 | tristate "TI AR7 partitioning support" |
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index a44874e24f2a..ddd63e7cf4ae 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
@@ -1063,8 +1063,7 @@ config SMSC911X | |||
1063 | Say Y here if you want support for SMSC LAN911x and LAN921x families | 1063 | Say Y here if you want support for SMSC LAN911x and LAN921x families |
1064 | of ethernet controllers. | 1064 | of ethernet controllers. |
1065 | 1065 | ||
1066 | To compile this driver as a module, choose M here and read | 1066 | To compile this driver as a module, choose M here. The module |
1067 | <file:Documentation/networking/net-modules.txt>. The module | ||
1068 | will be called smsc911x. | 1067 | will be called smsc911x. |
1069 | 1068 | ||
1070 | config SMSC911X_ARCH_HOOKS | 1069 | config SMSC911X_ARCH_HOOKS |
diff --git a/drivers/net/arm/ks8695net.c b/drivers/net/arm/ks8695net.c index c827a6097d02..8d0baeceaaa3 100644 --- a/drivers/net/arm/ks8695net.c +++ b/drivers/net/arm/ks8695net.c | |||
@@ -414,7 +414,7 @@ ks8695_tx_irq(int irq, void *dev_id) | |||
414 | * Interrupt Status Register (Offset 0xF208) | 414 | * Interrupt Status Register (Offset 0xF208) |
415 | * Bit29: WAN MAC Receive Status | 415 | * Bit29: WAN MAC Receive Status |
416 | * Bit16: LAN MAC Receive Status | 416 | * Bit16: LAN MAC Receive Status |
417 | * So, this Rx interrrupt enable/status bit number is equal | 417 | * So, this Rx interrupt enable/status bit number is equal |
418 | * as Rx IRQ number. | 418 | * as Rx IRQ number. |
419 | */ | 419 | */ |
420 | static inline u32 ks8695_get_rx_enable_bit(struct ks8695_priv *ksp) | 420 | static inline u32 ks8695_get_rx_enable_bit(struct ks8695_priv *ksp) |
diff --git a/drivers/net/atlx/atl1.c b/drivers/net/atlx/atl1.c index 97e6954304ea..9f3e5306ef79 100644 --- a/drivers/net/atlx/atl1.c +++ b/drivers/net/atlx/atl1.c | |||
@@ -858,7 +858,7 @@ static s32 atl1_init_hw(struct atl1_hw *hw) | |||
858 | atl1_init_flash_opcode(hw); | 858 | atl1_init_flash_opcode(hw); |
859 | 859 | ||
860 | if (!hw->phy_configured) { | 860 | if (!hw->phy_configured) { |
861 | /* enable GPHY LinkChange Interrrupt */ | 861 | /* enable GPHY LinkChange Interrupt */ |
862 | ret_val = atl1_write_phy_reg(hw, 18, 0xC00); | 862 | ret_val = atl1_write_phy_reg(hw, 18, 0xC00); |
863 | if (ret_val) | 863 | if (ret_val) |
864 | return ret_val; | 864 | return ret_val; |
diff --git a/drivers/net/bnx2.h b/drivers/net/bnx2.h index fc50d4267df8..99d31a7d6aaa 100644 --- a/drivers/net/bnx2.h +++ b/drivers/net/bnx2.h | |||
@@ -5617,7 +5617,7 @@ struct l2_fhdr { | |||
5617 | #define BNX2_TXP_CPU_STATE_FIO_ABORT_HALTED (1L<<8) | 5617 | #define BNX2_TXP_CPU_STATE_FIO_ABORT_HALTED (1L<<8) |
5618 | #define BNX2_TXP_CPU_STATE_SOFT_HALTED (1L<<10) | 5618 | #define BNX2_TXP_CPU_STATE_SOFT_HALTED (1L<<10) |
5619 | #define BNX2_TXP_CPU_STATE_SPAD_UNDERFLOW (1L<<11) | 5619 | #define BNX2_TXP_CPU_STATE_SPAD_UNDERFLOW (1L<<11) |
5620 | #define BNX2_TXP_CPU_STATE_INTERRRUPT (1L<<12) | 5620 | #define BNX2_TXP_CPU_STATE_INTERRUPT (1L<<12) |
5621 | #define BNX2_TXP_CPU_STATE_DATA_ACCESS_STALL (1L<<14) | 5621 | #define BNX2_TXP_CPU_STATE_DATA_ACCESS_STALL (1L<<14) |
5622 | #define BNX2_TXP_CPU_STATE_INST_FETCH_STALL (1L<<15) | 5622 | #define BNX2_TXP_CPU_STATE_INST_FETCH_STALL (1L<<15) |
5623 | #define BNX2_TXP_CPU_STATE_BLOCKED_READ (1L<<31) | 5623 | #define BNX2_TXP_CPU_STATE_BLOCKED_READ (1L<<31) |
@@ -5712,7 +5712,7 @@ struct l2_fhdr { | |||
5712 | #define BNX2_TPAT_CPU_STATE_FIO_ABORT_HALTED (1L<<8) | 5712 | #define BNX2_TPAT_CPU_STATE_FIO_ABORT_HALTED (1L<<8) |
5713 | #define BNX2_TPAT_CPU_STATE_SOFT_HALTED (1L<<10) | 5713 | #define BNX2_TPAT_CPU_STATE_SOFT_HALTED (1L<<10) |
5714 | #define BNX2_TPAT_CPU_STATE_SPAD_UNDERFLOW (1L<<11) | 5714 | #define BNX2_TPAT_CPU_STATE_SPAD_UNDERFLOW (1L<<11) |
5715 | #define BNX2_TPAT_CPU_STATE_INTERRRUPT (1L<<12) | 5715 | #define BNX2_TPAT_CPU_STATE_INTERRUPT (1L<<12) |
5716 | #define BNX2_TPAT_CPU_STATE_DATA_ACCESS_STALL (1L<<14) | 5716 | #define BNX2_TPAT_CPU_STATE_DATA_ACCESS_STALL (1L<<14) |
5717 | #define BNX2_TPAT_CPU_STATE_INST_FETCH_STALL (1L<<15) | 5717 | #define BNX2_TPAT_CPU_STATE_INST_FETCH_STALL (1L<<15) |
5718 | #define BNX2_TPAT_CPU_STATE_BLOCKED_READ (1L<<31) | 5718 | #define BNX2_TPAT_CPU_STATE_BLOCKED_READ (1L<<31) |
@@ -5807,7 +5807,7 @@ struct l2_fhdr { | |||
5807 | #define BNX2_RXP_CPU_STATE_FIO_ABORT_HALTED (1L<<8) | 5807 | #define BNX2_RXP_CPU_STATE_FIO_ABORT_HALTED (1L<<8) |
5808 | #define BNX2_RXP_CPU_STATE_SOFT_HALTED (1L<<10) | 5808 | #define BNX2_RXP_CPU_STATE_SOFT_HALTED (1L<<10) |
5809 | #define BNX2_RXP_CPU_STATE_SPAD_UNDERFLOW (1L<<11) | 5809 | #define BNX2_RXP_CPU_STATE_SPAD_UNDERFLOW (1L<<11) |
5810 | #define BNX2_RXP_CPU_STATE_INTERRRUPT (1L<<12) | 5810 | #define BNX2_RXP_CPU_STATE_INTERRUPT (1L<<12) |
5811 | #define BNX2_RXP_CPU_STATE_DATA_ACCESS_STALL (1L<<14) | 5811 | #define BNX2_RXP_CPU_STATE_DATA_ACCESS_STALL (1L<<14) |
5812 | #define BNX2_RXP_CPU_STATE_INST_FETCH_STALL (1L<<15) | 5812 | #define BNX2_RXP_CPU_STATE_INST_FETCH_STALL (1L<<15) |
5813 | #define BNX2_RXP_CPU_STATE_BLOCKED_READ (1L<<31) | 5813 | #define BNX2_RXP_CPU_STATE_BLOCKED_READ (1L<<31) |
@@ -5953,7 +5953,7 @@ struct l2_fhdr { | |||
5953 | #define BNX2_COM_CPU_STATE_FIO_ABORT_HALTED (1L<<8) | 5953 | #define BNX2_COM_CPU_STATE_FIO_ABORT_HALTED (1L<<8) |
5954 | #define BNX2_COM_CPU_STATE_SOFT_HALTED (1L<<10) | 5954 | #define BNX2_COM_CPU_STATE_SOFT_HALTED (1L<<10) |
5955 | #define BNX2_COM_CPU_STATE_SPAD_UNDERFLOW (1L<<11) | 5955 | #define BNX2_COM_CPU_STATE_SPAD_UNDERFLOW (1L<<11) |
5956 | #define BNX2_COM_CPU_STATE_INTERRRUPT (1L<<12) | 5956 | #define BNX2_COM_CPU_STATE_INTERRUPT (1L<<12) |
5957 | #define BNX2_COM_CPU_STATE_DATA_ACCESS_STALL (1L<<14) | 5957 | #define BNX2_COM_CPU_STATE_DATA_ACCESS_STALL (1L<<14) |
5958 | #define BNX2_COM_CPU_STATE_INST_FETCH_STALL (1L<<15) | 5958 | #define BNX2_COM_CPU_STATE_INST_FETCH_STALL (1L<<15) |
5959 | #define BNX2_COM_CPU_STATE_BLOCKED_READ (1L<<31) | 5959 | #define BNX2_COM_CPU_STATE_BLOCKED_READ (1L<<31) |
@@ -6119,7 +6119,7 @@ struct l2_fhdr { | |||
6119 | #define BNX2_CP_CPU_STATE_FIO_ABORT_HALTED (1L<<8) | 6119 | #define BNX2_CP_CPU_STATE_FIO_ABORT_HALTED (1L<<8) |
6120 | #define BNX2_CP_CPU_STATE_SOFT_HALTED (1L<<10) | 6120 | #define BNX2_CP_CPU_STATE_SOFT_HALTED (1L<<10) |
6121 | #define BNX2_CP_CPU_STATE_SPAD_UNDERFLOW (1L<<11) | 6121 | #define BNX2_CP_CPU_STATE_SPAD_UNDERFLOW (1L<<11) |
6122 | #define BNX2_CP_CPU_STATE_INTERRRUPT (1L<<12) | 6122 | #define BNX2_CP_CPU_STATE_INTERRUPT (1L<<12) |
6123 | #define BNX2_CP_CPU_STATE_DATA_ACCESS_STALL (1L<<14) | 6123 | #define BNX2_CP_CPU_STATE_DATA_ACCESS_STALL (1L<<14) |
6124 | #define BNX2_CP_CPU_STATE_INST_FETCH_STALL (1L<<15) | 6124 | #define BNX2_CP_CPU_STATE_INST_FETCH_STALL (1L<<15) |
6125 | #define BNX2_CP_CPU_STATE_BLOCKED_READ (1L<<31) | 6125 | #define BNX2_CP_CPU_STATE_BLOCKED_READ (1L<<31) |
@@ -6291,7 +6291,7 @@ struct l2_fhdr { | |||
6291 | #define BNX2_MCP_CPU_STATE_FIO_ABORT_HALTED (1L<<8) | 6291 | #define BNX2_MCP_CPU_STATE_FIO_ABORT_HALTED (1L<<8) |
6292 | #define BNX2_MCP_CPU_STATE_SOFT_HALTED (1L<<10) | 6292 | #define BNX2_MCP_CPU_STATE_SOFT_HALTED (1L<<10) |
6293 | #define BNX2_MCP_CPU_STATE_SPAD_UNDERFLOW (1L<<11) | 6293 | #define BNX2_MCP_CPU_STATE_SPAD_UNDERFLOW (1L<<11) |
6294 | #define BNX2_MCP_CPU_STATE_INTERRRUPT (1L<<12) | 6294 | #define BNX2_MCP_CPU_STATE_INTERRUPT (1L<<12) |
6295 | #define BNX2_MCP_CPU_STATE_DATA_ACCESS_STALL (1L<<14) | 6295 | #define BNX2_MCP_CPU_STATE_DATA_ACCESS_STALL (1L<<14) |
6296 | #define BNX2_MCP_CPU_STATE_INST_FETCH_STALL (1L<<15) | 6296 | #define BNX2_MCP_CPU_STATE_INST_FETCH_STALL (1L<<15) |
6297 | #define BNX2_MCP_CPU_STATE_BLOCKED_READ (1L<<31) | 6297 | #define BNX2_MCP_CPU_STATE_BLOCKED_READ (1L<<31) |
diff --git a/drivers/net/can/sja1000/sja1000_of_platform.c b/drivers/net/can/sja1000/sja1000_of_platform.c index cee6ba2b8b58..c3dd9d09be57 100644 --- a/drivers/net/can/sja1000/sja1000_of_platform.c +++ b/drivers/net/can/sja1000/sja1000_of_platform.c | |||
@@ -29,7 +29,7 @@ | |||
29 | * nxp,external-clock-frequency = <16000000>; | 29 | * nxp,external-clock-frequency = <16000000>; |
30 | * }; | 30 | * }; |
31 | * | 31 | * |
32 | * See "Documentation/powerpc/dts-bindings/can/sja1000.txt" for further | 32 | * See "Documentation/devicetree/bindings/net/can/sja1000.txt" for further |
33 | * information. | 33 | * information. |
34 | */ | 34 | */ |
35 | 35 | ||
diff --git a/drivers/net/igb/e1000_mbx.c b/drivers/net/igb/e1000_mbx.c index 74f2f11ac290..469d95eaa154 100644 --- a/drivers/net/igb/e1000_mbx.c +++ b/drivers/net/igb/e1000_mbx.c | |||
@@ -34,7 +34,7 @@ | |||
34 | * @size: Length of buffer | 34 | * @size: Length of buffer |
35 | * @mbx_id: id of mailbox to read | 35 | * @mbx_id: id of mailbox to read |
36 | * | 36 | * |
37 | * returns SUCCESS if it successfuly read message from buffer | 37 | * returns SUCCESS if it successfully read message from buffer |
38 | **/ | 38 | **/ |
39 | s32 igb_read_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) | 39 | s32 igb_read_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) |
40 | { | 40 | { |
diff --git a/drivers/net/igbvf/mbx.c b/drivers/net/igbvf/mbx.c index 3d6f4cc3998a..048aae248d06 100644 --- a/drivers/net/igbvf/mbx.c +++ b/drivers/net/igbvf/mbx.c | |||
@@ -288,7 +288,7 @@ out_no_write: | |||
288 | * @msg: The message buffer | 288 | * @msg: The message buffer |
289 | * @size: Length of buffer | 289 | * @size: Length of buffer |
290 | * | 290 | * |
291 | * returns SUCCESS if it successfuly read message from buffer | 291 | * returns SUCCESS if it successfully read message from buffer |
292 | **/ | 292 | **/ |
293 | static s32 e1000_read_mbx_vf(struct e1000_hw *hw, u32 *msg, u16 size) | 293 | static s32 e1000_read_mbx_vf(struct e1000_hw *hw, u32 *msg, u16 size) |
294 | { | 294 | { |
diff --git a/drivers/net/irda/Kconfig b/drivers/net/irda/Kconfig index 25bb2a015e18..a40fab44b9ae 100644 --- a/drivers/net/irda/Kconfig +++ b/drivers/net/irda/Kconfig | |||
@@ -183,7 +183,7 @@ config OLD_BELKIN_DONGLE | |||
183 | Say Y here if you want to build support for the Adaptec Airport 1000 | 183 | Say Y here if you want to build support for the Adaptec Airport 1000 |
184 | and 2000 dongles. If you want to compile it as a module, choose | 184 | and 2000 dongles. If you want to compile it as a module, choose |
185 | M here. Some information is contained in the comments | 185 | M here. Some information is contained in the comments |
186 | at the top of <file:drivers/net/irda/old_belkin.c>. | 186 | at the top of <file:drivers/net/irda/old_belkin-sir.c>. |
187 | 187 | ||
188 | config ACT200L_DONGLE | 188 | config ACT200L_DONGLE |
189 | tristate "ACTiSYS IR-200L dongle" | 189 | tristate "ACTiSYS IR-200L dongle" |
diff --git a/drivers/net/ixgbe/ixgbe_mbx.c b/drivers/net/ixgbe/ixgbe_mbx.c index 1ff0eefcfd0a..3f725d48336d 100644 --- a/drivers/net/ixgbe/ixgbe_mbx.c +++ b/drivers/net/ixgbe/ixgbe_mbx.c | |||
@@ -38,7 +38,7 @@ | |||
38 | * @size: Length of buffer | 38 | * @size: Length of buffer |
39 | * @mbx_id: id of mailbox to read | 39 | * @mbx_id: id of mailbox to read |
40 | * | 40 | * |
41 | * returns SUCCESS if it successfuly read message from buffer | 41 | * returns SUCCESS if it successfully read message from buffer |
42 | **/ | 42 | **/ |
43 | s32 ixgbe_read_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) | 43 | s32 ixgbe_read_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) |
44 | { | 44 | { |
diff --git a/drivers/net/ixgbevf/mbx.c b/drivers/net/ixgbevf/mbx.c index 7a8833125770..930fa83f2568 100644 --- a/drivers/net/ixgbevf/mbx.c +++ b/drivers/net/ixgbevf/mbx.c | |||
@@ -276,7 +276,7 @@ out_no_write: | |||
276 | * @msg: The message buffer | 276 | * @msg: The message buffer |
277 | * @size: Length of buffer | 277 | * @size: Length of buffer |
278 | * | 278 | * |
279 | * returns 0 if it successfuly read message from buffer | 279 | * returns 0 if it successfully read message from buffer |
280 | **/ | 280 | **/ |
281 | static s32 ixgbevf_read_mbx_vf(struct ixgbe_hw *hw, u32 *msg, u16 size) | 281 | static s32 ixgbevf_read_mbx_vf(struct ixgbe_hw *hw, u32 *msg, u16 size) |
282 | { | 282 | { |
diff --git a/drivers/net/phy/broadcom.c b/drivers/net/phy/broadcom.c index d84c4224dd12..e8be47d6d7d0 100644 --- a/drivers/net/phy/broadcom.c +++ b/drivers/net/phy/broadcom.c | |||
@@ -553,7 +553,7 @@ static int bcm5481_config_aneg(struct phy_device *phydev) | |||
553 | /* | 553 | /* |
554 | * There is no BCM5481 specification available, so down | 554 | * There is no BCM5481 specification available, so down |
555 | * here is everything we know about "register 0x18". This | 555 | * here is everything we know about "register 0x18". This |
556 | * at least helps BCM5481 to successfuly receive packets | 556 | * at least helps BCM5481 to successfully receive packets |
557 | * on MPC8360E-RDK board. Peter Barada <peterb@logicpd.com> | 557 | * on MPC8360E-RDK board. Peter Barada <peterb@logicpd.com> |
558 | * says: "This sets delay between the RXD and RXC signals | 558 | * says: "This sets delay between the RXD and RXC signals |
559 | * instead of using trace lengths to achieve timing". | 559 | * instead of using trace lengths to achieve timing". |
diff --git a/drivers/net/sky2.c b/drivers/net/sky2.c index 57339da76326..d7f879dfb1c9 100644 --- a/drivers/net/sky2.c +++ b/drivers/net/sky2.c | |||
@@ -2057,7 +2057,7 @@ static void sky2_hw_down(struct sky2_port *sky2) | |||
2057 | 2057 | ||
2058 | sky2_write8(hw, SK_REG(port, RX_GMF_CTRL_T), GMF_RST_SET); | 2058 | sky2_write8(hw, SK_REG(port, RX_GMF_CTRL_T), GMF_RST_SET); |
2059 | 2059 | ||
2060 | /* Force any delayed status interrrupt and NAPI */ | 2060 | /* Force any delayed status interrupt and NAPI */ |
2061 | sky2_write32(hw, STAT_LEV_TIMER_CNT, 0); | 2061 | sky2_write32(hw, STAT_LEV_TIMER_CNT, 0); |
2062 | sky2_write32(hw, STAT_TX_TIMER_CNT, 0); | 2062 | sky2_write32(hw, STAT_TX_TIMER_CNT, 0); |
2063 | sky2_write32(hw, STAT_ISR_TIMER_CNT, 0); | 2063 | sky2_write32(hw, STAT_ISR_TIMER_CNT, 0); |
diff --git a/drivers/net/tile/tilepro.c b/drivers/net/tile/tilepro.c index 1e2af96fc29c..7b46e75deb5a 100644 --- a/drivers/net/tile/tilepro.c +++ b/drivers/net/tile/tilepro.c | |||
@@ -177,7 +177,7 @@ struct tile_net_cpu { | |||
177 | struct tile_net_stats_t stats; | 177 | struct tile_net_stats_t stats; |
178 | /* True iff NAPI is enabled. */ | 178 | /* True iff NAPI is enabled. */ |
179 | bool napi_enabled; | 179 | bool napi_enabled; |
180 | /* True if this tile has succcessfully registered with the IPP. */ | 180 | /* True if this tile has successfully registered with the IPP. */ |
181 | bool registered; | 181 | bool registered; |
182 | /* True if the link was down last time we tried to register. */ | 182 | /* True if the link was down last time we tried to register. */ |
183 | bool link_down; | 183 | bool link_down; |
diff --git a/drivers/net/tulip/21142.c b/drivers/net/tulip/21142.c index 092c3faa882a..25b8deedbef8 100644 --- a/drivers/net/tulip/21142.c +++ b/drivers/net/tulip/21142.c | |||
@@ -7,9 +7,6 @@ | |||
7 | This software may be used and distributed according to the terms | 7 | This software may be used and distributed according to the terms |
8 | of the GNU General Public License, incorporated herein by reference. | 8 | of the GNU General Public License, incorporated herein by reference. |
9 | 9 | ||
10 | Please refer to Documentation/DocBook/tulip-user.{pdf,ps,html} | ||
11 | for more information on this driver. | ||
12 | |||
13 | DC21143 manual "21143 PCI/CardBus 10/100Mb/s Ethernet LAN Controller | 10 | DC21143 manual "21143 PCI/CardBus 10/100Mb/s Ethernet LAN Controller |
14 | Hardware Reference Manual" is currently available at : | 11 | Hardware Reference Manual" is currently available at : |
15 | http://developer.intel.com/design/network/manuals/278074.htm | 12 | http://developer.intel.com/design/network/manuals/278074.htm |
diff --git a/drivers/net/tulip/eeprom.c b/drivers/net/tulip/eeprom.c index fa5eee925f25..14d5b611783d 100644 --- a/drivers/net/tulip/eeprom.c +++ b/drivers/net/tulip/eeprom.c | |||
@@ -7,8 +7,6 @@ | |||
7 | This software may be used and distributed according to the terms | 7 | This software may be used and distributed according to the terms |
8 | of the GNU General Public License, incorporated herein by reference. | 8 | of the GNU General Public License, incorporated herein by reference. |
9 | 9 | ||
10 | Please refer to Documentation/DocBook/tulip-user.{pdf,ps,html} | ||
11 | for more information on this driver. | ||
12 | Please submit bug reports to http://bugzilla.kernel.org/. | 10 | Please submit bug reports to http://bugzilla.kernel.org/. |
13 | */ | 11 | */ |
14 | 12 | ||
diff --git a/drivers/net/tulip/interrupt.c b/drivers/net/tulip/interrupt.c index 5350d753e0ff..4fb8c8c0a420 100644 --- a/drivers/net/tulip/interrupt.c +++ b/drivers/net/tulip/interrupt.c | |||
@@ -7,10 +7,7 @@ | |||
7 | This software may be used and distributed according to the terms | 7 | This software may be used and distributed according to the terms |
8 | of the GNU General Public License, incorporated herein by reference. | 8 | of the GNU General Public License, incorporated herein by reference. |
9 | 9 | ||
10 | Please refer to Documentation/DocBook/tulip-user.{pdf,ps,html} | ||
11 | for more information on this driver. | ||
12 | Please submit bugs to http://bugzilla.kernel.org/ . | 10 | Please submit bugs to http://bugzilla.kernel.org/ . |
13 | |||
14 | */ | 11 | */ |
15 | 12 | ||
16 | #include <linux/pci.h> | 13 | #include <linux/pci.h> |
diff --git a/drivers/net/tulip/media.c b/drivers/net/tulip/media.c index 4bd13922875d..beeb17b52ad4 100644 --- a/drivers/net/tulip/media.c +++ b/drivers/net/tulip/media.c | |||
@@ -7,9 +7,6 @@ | |||
7 | This software may be used and distributed according to the terms | 7 | This software may be used and distributed according to the terms |
8 | of the GNU General Public License, incorporated herein by reference. | 8 | of the GNU General Public License, incorporated herein by reference. |
9 | 9 | ||
10 | Please refer to Documentation/DocBook/tulip-user.{pdf,ps,html} | ||
11 | for more information on this driver. | ||
12 | |||
13 | Please submit bugs to http://bugzilla.kernel.org/ . | 10 | Please submit bugs to http://bugzilla.kernel.org/ . |
14 | */ | 11 | */ |
15 | 12 | ||
diff --git a/drivers/net/tulip/pnic.c b/drivers/net/tulip/pnic.c index 52d898bdbeb4..9c16e4ad02a6 100644 --- a/drivers/net/tulip/pnic.c +++ b/drivers/net/tulip/pnic.c | |||
@@ -7,9 +7,6 @@ | |||
7 | This software may be used and distributed according to the terms | 7 | This software may be used and distributed according to the terms |
8 | of the GNU General Public License, incorporated herein by reference. | 8 | of the GNU General Public License, incorporated herein by reference. |
9 | 9 | ||
10 | Please refer to Documentation/DocBook/tulip-user.{pdf,ps,html} | ||
11 | for more information on this driver. | ||
12 | |||
13 | Please submit bugs to http://bugzilla.kernel.org/ . | 10 | Please submit bugs to http://bugzilla.kernel.org/ . |
14 | */ | 11 | */ |
15 | 12 | ||
diff --git a/drivers/net/tulip/pnic2.c b/drivers/net/tulip/pnic2.c index 93358ee4d830..04a7e477eaff 100644 --- a/drivers/net/tulip/pnic2.c +++ b/drivers/net/tulip/pnic2.c | |||
@@ -8,9 +8,6 @@ | |||
8 | This software may be used and distributed according to the terms | 8 | This software may be used and distributed according to the terms |
9 | of the GNU General Public License, incorporated herein by reference. | 9 | of the GNU General Public License, incorporated herein by reference. |
10 | 10 | ||
11 | Please refer to Documentation/DocBook/tulip-user.{pdf,ps,html} | ||
12 | for more information on this driver. | ||
13 | |||
14 | Please submit bugs to http://bugzilla.kernel.org/ . | 11 | Please submit bugs to http://bugzilla.kernel.org/ . |
15 | */ | 12 | */ |
16 | 13 | ||
diff --git a/drivers/net/tulip/timer.c b/drivers/net/tulip/timer.c index 2017faf2d0e6..19078d28ffb9 100644 --- a/drivers/net/tulip/timer.c +++ b/drivers/net/tulip/timer.c | |||
@@ -7,9 +7,6 @@ | |||
7 | This software may be used and distributed according to the terms | 7 | This software may be used and distributed according to the terms |
8 | of the GNU General Public License, incorporated herein by reference. | 8 | of the GNU General Public License, incorporated herein by reference. |
9 | 9 | ||
10 | Please refer to Documentation/DocBook/tulip-user.{pdf,ps,html} | ||
11 | for more information on this driver. | ||
12 | |||
13 | Please submit bugs to http://bugzilla.kernel.org/ . | 10 | Please submit bugs to http://bugzilla.kernel.org/ . |
14 | */ | 11 | */ |
15 | 12 | ||
diff --git a/drivers/net/tulip/tulip.h b/drivers/net/tulip/tulip.h index 9db528967da9..fb3887c18dc6 100644 --- a/drivers/net/tulip/tulip.h +++ b/drivers/net/tulip/tulip.h | |||
@@ -7,9 +7,6 @@ | |||
7 | This software may be used and distributed according to the terms | 7 | This software may be used and distributed according to the terms |
8 | of the GNU General Public License, incorporated herein by reference. | 8 | of the GNU General Public License, incorporated herein by reference. |
9 | 9 | ||
10 | Please refer to Documentation/DocBook/tulip-user.{pdf,ps,html} | ||
11 | for more information on this driver. | ||
12 | |||
13 | Please submit bugs to http://bugzilla.kernel.org/ . | 10 | Please submit bugs to http://bugzilla.kernel.org/ . |
14 | */ | 11 | */ |
15 | 12 | ||
diff --git a/drivers/net/tulip/tulip_core.c b/drivers/net/tulip/tulip_core.c index 1246998a677c..b905c0dc5648 100644 --- a/drivers/net/tulip/tulip_core.c +++ b/drivers/net/tulip/tulip_core.c | |||
@@ -6,9 +6,6 @@ | |||
6 | This software may be used and distributed according to the terms | 6 | This software may be used and distributed according to the terms |
7 | of the GNU General Public License, incorporated herein by reference. | 7 | of the GNU General Public License, incorporated herein by reference. |
8 | 8 | ||
9 | Please refer to Documentation/DocBook/tulip-user.{pdf,ps,html} | ||
10 | for more information on this driver. | ||
11 | |||
12 | Please submit bugs to http://bugzilla.kernel.org/ . | 9 | Please submit bugs to http://bugzilla.kernel.org/ . |
13 | */ | 10 | */ |
14 | 11 | ||
diff --git a/drivers/net/wireless/ipw2x00/libipw_tx.c b/drivers/net/wireless/ipw2x00/libipw_tx.c index 01c88a71abe1..e8c039879b05 100644 --- a/drivers/net/wireless/ipw2x00/libipw_tx.c +++ b/drivers/net/wireless/ipw2x00/libipw_tx.c | |||
@@ -395,7 +395,7 @@ netdev_tx_t libipw_xmit(struct sk_buff *skb, struct net_device *dev) | |||
395 | (CFG_LIBIPW_COMPUTE_FCS | CFG_LIBIPW_RESERVE_FCS)) | 395 | (CFG_LIBIPW_COMPUTE_FCS | CFG_LIBIPW_RESERVE_FCS)) |
396 | bytes_per_frag -= LIBIPW_FCS_LEN; | 396 | bytes_per_frag -= LIBIPW_FCS_LEN; |
397 | 397 | ||
398 | /* Each fragment may need to have room for encryptiong | 398 | /* Each fragment may need to have room for encryption |
399 | * pre/postfix */ | 399 | * pre/postfix */ |
400 | if (host_encrypt) | 400 | if (host_encrypt) |
401 | bytes_per_frag -= crypt->ops->extra_mpdu_prefix_len + | 401 | bytes_per_frag -= crypt->ops->extra_mpdu_prefix_len + |
diff --git a/drivers/net/wireless/libertas_tf/deb_defs.h b/drivers/net/wireless/libertas_tf/deb_defs.h index ae753962d8b5..4bd3dc5adf7c 100644 --- a/drivers/net/wireless/libertas_tf/deb_defs.h +++ b/drivers/net/wireless/libertas_tf/deb_defs.h | |||
@@ -3,7 +3,7 @@ | |||
3 | * global variable declaration. | 3 | * global variable declaration. |
4 | */ | 4 | */ |
5 | #ifndef _LBS_DEB_DEFS_H_ | 5 | #ifndef _LBS_DEB_DEFS_H_ |
6 | #define _LBS_DEB_EFS_H_ | 6 | #define _LBS_DEB_DEFS_H_ |
7 | 7 | ||
8 | #ifndef DRV_NAME | 8 | #ifndef DRV_NAME |
9 | #define DRV_NAME "libertas_tf" | 9 | #define DRV_NAME "libertas_tf" |
diff --git a/drivers/net/wireless/rtlwifi/pci.c b/drivers/net/wireless/rtlwifi/pci.c index 56f12358389d..f8648b7288d5 100644 --- a/drivers/net/wireless/rtlwifi/pci.c +++ b/drivers/net/wireless/rtlwifi/pci.c | |||
@@ -488,7 +488,7 @@ static void _rtl_pci_tx_chk_waitq(struct ieee80211_hw *hw) | |||
488 | struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); | 488 | struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); |
489 | struct sk_buff *skb = NULL; | 489 | struct sk_buff *skb = NULL; |
490 | struct ieee80211_tx_info *info = NULL; | 490 | struct ieee80211_tx_info *info = NULL; |
491 | int tid; /* should be int */ | 491 | int tid; |
492 | 492 | ||
493 | if (!rtlpriv->rtlhal.earlymode_enable) | 493 | if (!rtlpriv->rtlhal.earlymode_enable) |
494 | return; | 494 | return; |
@@ -1538,7 +1538,7 @@ static int rtl_pci_start(struct ieee80211_hw *hw) | |||
1538 | 1538 | ||
1539 | rtl_init_rx_config(hw); | 1539 | rtl_init_rx_config(hw); |
1540 | 1540 | ||
1541 | /*should after adapter start and interrupt enable. */ | 1541 | /*should be after adapter start and interrupt enable. */ |
1542 | set_hal_start(rtlhal); | 1542 | set_hal_start(rtlhal); |
1543 | 1543 | ||
1544 | RT_CLEAR_PS_LEVEL(ppsc, RT_RF_OFF_LEVL_HALT_NIC); | 1544 | RT_CLEAR_PS_LEVEL(ppsc, RT_RF_OFF_LEVL_HALT_NIC); |
@@ -1559,7 +1559,7 @@ static void rtl_pci_stop(struct ieee80211_hw *hw) | |||
1559 | u8 RFInProgressTimeOut = 0; | 1559 | u8 RFInProgressTimeOut = 0; |
1560 | 1560 | ||
1561 | /* | 1561 | /* |
1562 | *should before disable interrrupt&adapter | 1562 | *should be before disable interrupt&adapter |
1563 | *and will do it immediately. | 1563 | *and will do it immediately. |
1564 | */ | 1564 | */ |
1565 | set_hal_stop(rtlhal); | 1565 | set_hal_stop(rtlhal); |
diff --git a/drivers/parisc/sba_iommu.c b/drivers/parisc/sba_iommu.c index 57a6d19eba4c..a6f762188bc3 100644 --- a/drivers/parisc/sba_iommu.c +++ b/drivers/parisc/sba_iommu.c | |||
@@ -668,7 +668,7 @@ sba_mark_invalid(struct ioc *ioc, dma_addr_t iova, size_t byte_cnt) | |||
668 | * @dev: instance of PCI owned by the driver that's asking | 668 | * @dev: instance of PCI owned by the driver that's asking |
669 | * @mask: number of address bits this PCI device can handle | 669 | * @mask: number of address bits this PCI device can handle |
670 | * | 670 | * |
671 | * See Documentation/PCI/PCI-DMA-mapping.txt | 671 | * See Documentation/DMA-API-HOWTO.txt |
672 | */ | 672 | */ |
673 | static int sba_dma_supported( struct device *dev, u64 mask) | 673 | static int sba_dma_supported( struct device *dev, u64 mask) |
674 | { | 674 | { |
@@ -680,7 +680,7 @@ static int sba_dma_supported( struct device *dev, u64 mask) | |||
680 | return(0); | 680 | return(0); |
681 | } | 681 | } |
682 | 682 | ||
683 | /* Documentation/PCI/PCI-DMA-mapping.txt tells drivers to try 64-bit | 683 | /* Documentation/DMA-API-HOWTO.txt tells drivers to try 64-bit |
684 | * first, then fall back to 32-bit if that fails. | 684 | * first, then fall back to 32-bit if that fails. |
685 | * We are just "encouraging" 32-bit DMA masks here since we can | 685 | * We are just "encouraging" 32-bit DMA masks here since we can |
686 | * never allow IOMMU bypass unless we add special support for ZX1. | 686 | * never allow IOMMU bypass unless we add special support for ZX1. |
@@ -706,7 +706,7 @@ static int sba_dma_supported( struct device *dev, u64 mask) | |||
706 | * @size: number of bytes to map in driver buffer. | 706 | * @size: number of bytes to map in driver buffer. |
707 | * @direction: R/W or both. | 707 | * @direction: R/W or both. |
708 | * | 708 | * |
709 | * See Documentation/PCI/PCI-DMA-mapping.txt | 709 | * See Documentation/DMA-API-HOWTO.txt |
710 | */ | 710 | */ |
711 | static dma_addr_t | 711 | static dma_addr_t |
712 | sba_map_single(struct device *dev, void *addr, size_t size, | 712 | sba_map_single(struct device *dev, void *addr, size_t size, |
@@ -785,7 +785,7 @@ sba_map_single(struct device *dev, void *addr, size_t size, | |||
785 | * @size: number of bytes mapped in driver buffer. | 785 | * @size: number of bytes mapped in driver buffer. |
786 | * @direction: R/W or both. | 786 | * @direction: R/W or both. |
787 | * | 787 | * |
788 | * See Documentation/PCI/PCI-DMA-mapping.txt | 788 | * See Documentation/DMA-API-HOWTO.txt |
789 | */ | 789 | */ |
790 | static void | 790 | static void |
791 | sba_unmap_single(struct device *dev, dma_addr_t iova, size_t size, | 791 | sba_unmap_single(struct device *dev, dma_addr_t iova, size_t size, |
@@ -861,7 +861,7 @@ sba_unmap_single(struct device *dev, dma_addr_t iova, size_t size, | |||
861 | * @size: number of bytes mapped in driver buffer. | 861 | * @size: number of bytes mapped in driver buffer. |
862 | * @dma_handle: IOVA of new buffer. | 862 | * @dma_handle: IOVA of new buffer. |
863 | * | 863 | * |
864 | * See Documentation/PCI/PCI-DMA-mapping.txt | 864 | * See Documentation/DMA-API-HOWTO.txt |
865 | */ | 865 | */ |
866 | static void *sba_alloc_consistent(struct device *hwdev, size_t size, | 866 | static void *sba_alloc_consistent(struct device *hwdev, size_t size, |
867 | dma_addr_t *dma_handle, gfp_t gfp) | 867 | dma_addr_t *dma_handle, gfp_t gfp) |
@@ -892,7 +892,7 @@ static void *sba_alloc_consistent(struct device *hwdev, size_t size, | |||
892 | * @vaddr: virtual address IOVA of "consistent" buffer. | 892 | * @vaddr: virtual address IOVA of "consistent" buffer. |
893 | * @dma_handler: IO virtual address of "consistent" buffer. | 893 | * @dma_handler: IO virtual address of "consistent" buffer. |
894 | * | 894 | * |
895 | * See Documentation/PCI/PCI-DMA-mapping.txt | 895 | * See Documentation/DMA-API-HOWTO.txt |
896 | */ | 896 | */ |
897 | static void | 897 | static void |
898 | sba_free_consistent(struct device *hwdev, size_t size, void *vaddr, | 898 | sba_free_consistent(struct device *hwdev, size_t size, void *vaddr, |
@@ -927,7 +927,7 @@ int dump_run_sg = 0; | |||
927 | * @nents: number of entries in list | 927 | * @nents: number of entries in list |
928 | * @direction: R/W or both. | 928 | * @direction: R/W or both. |
929 | * | 929 | * |
930 | * See Documentation/PCI/PCI-DMA-mapping.txt | 930 | * See Documentation/DMA-API-HOWTO.txt |
931 | */ | 931 | */ |
932 | static int | 932 | static int |
933 | sba_map_sg(struct device *dev, struct scatterlist *sglist, int nents, | 933 | sba_map_sg(struct device *dev, struct scatterlist *sglist, int nents, |
@@ -1011,7 +1011,7 @@ sba_map_sg(struct device *dev, struct scatterlist *sglist, int nents, | |||
1011 | * @nents: number of entries in list | 1011 | * @nents: number of entries in list |
1012 | * @direction: R/W or both. | 1012 | * @direction: R/W or both. |
1013 | * | 1013 | * |
1014 | * See Documentation/PCI/PCI-DMA-mapping.txt | 1014 | * See Documentation/DMA-API-HOWTO.txt |
1015 | */ | 1015 | */ |
1016 | static void | 1016 | static void |
1017 | sba_unmap_sg(struct device *dev, struct scatterlist *sglist, int nents, | 1017 | sba_unmap_sg(struct device *dev, struct scatterlist *sglist, int nents, |
diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig index 1e88d4785321..10cf2500522b 100644 --- a/drivers/platform/x86/Kconfig +++ b/drivers/platform/x86/Kconfig | |||
@@ -31,9 +31,6 @@ config ACER_WMI | |||
31 | wireless radio and bluetooth control, and on some laptops, | 31 | wireless radio and bluetooth control, and on some laptops, |
32 | exposes the mail LED and LCD backlight. | 32 | exposes the mail LED and LCD backlight. |
33 | 33 | ||
34 | For more information about this driver see | ||
35 | <file:Documentation/laptops/acer-wmi.txt> | ||
36 | |||
37 | If you have an ACPI-WMI compatible Acer/ Wistron laptop, say Y or M | 34 | If you have an ACPI-WMI compatible Acer/ Wistron laptop, say Y or M |
38 | here. | 35 | here. |
39 | 36 | ||
@@ -164,7 +161,7 @@ config HP_ACCEL | |||
164 | 161 | ||
165 | Support for a led indicating disk protection will be provided as | 162 | Support for a led indicating disk protection will be provided as |
166 | hp::hddprotect. For more information on the feature, refer to | 163 | hp::hddprotect. For more information on the feature, refer to |
167 | Documentation/hwmon/lis3lv02d. | 164 | Documentation/misc-devices/lis3lv02d. |
168 | 165 | ||
169 | To compile this driver as a module, choose M here: the module will | 166 | To compile this driver as a module, choose M here: the module will |
170 | be called hp_accel. | 167 | be called hp_accel. |
diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index 7bd829f247eb..7b828680b21d 100644 --- a/drivers/platform/x86/thinkpad_acpi.c +++ b/drivers/platform/x86/thinkpad_acpi.c | |||
@@ -4007,7 +4007,7 @@ static void bluetooth_shutdown(void) | |||
4007 | pr_notice("failed to save bluetooth state to NVRAM\n"); | 4007 | pr_notice("failed to save bluetooth state to NVRAM\n"); |
4008 | else | 4008 | else |
4009 | vdbg_printk(TPACPI_DBG_RFKILL, | 4009 | vdbg_printk(TPACPI_DBG_RFKILL, |
4010 | "bluestooth state saved to NVRAM\n"); | 4010 | "bluetooth state saved to NVRAM\n"); |
4011 | } | 4011 | } |
4012 | 4012 | ||
4013 | static void bluetooth_exit(void) | 4013 | static void bluetooth_exit(void) |
diff --git a/drivers/s390/cio/blacklist.c b/drivers/s390/cio/blacklist.c index 76058a5166ed..08c66035dd19 100644 --- a/drivers/s390/cio/blacklist.c +++ b/drivers/s390/cio/blacklist.c | |||
@@ -335,10 +335,9 @@ cio_ignore_write(struct file *file, const char __user *user_buf, | |||
335 | return -EINVAL; | 335 | return -EINVAL; |
336 | if (user_len > 65536) | 336 | if (user_len > 65536) |
337 | user_len = 65536; | 337 | user_len = 65536; |
338 | buf = vmalloc (user_len + 1); /* maybe better use the stack? */ | 338 | buf = vzalloc(user_len + 1); /* maybe better use the stack? */ |
339 | if (buf == NULL) | 339 | if (buf == NULL) |
340 | return -ENOMEM; | 340 | return -ENOMEM; |
341 | memset(buf, 0, user_len + 1); | ||
342 | 341 | ||
343 | if (strncpy_from_user (buf, user_buf, user_len) < 0) { | 342 | if (strncpy_from_user (buf, user_buf, user_len) < 0) { |
344 | rc = -EFAULT; | 343 | rc = -EFAULT; |
diff --git a/drivers/scsi/aacraid/src.c b/drivers/scsi/aacraid/src.c index c20494660603..957595a7a45c 100644 --- a/drivers/scsi/aacraid/src.c +++ b/drivers/scsi/aacraid/src.c | |||
@@ -37,7 +37,6 @@ | |||
37 | #include <linux/slab.h> | 37 | #include <linux/slab.h> |
38 | #include <linux/blkdev.h> | 38 | #include <linux/blkdev.h> |
39 | #include <linux/delay.h> | 39 | #include <linux/delay.h> |
40 | #include <linux/version.h> | ||
41 | #include <linux/completion.h> | 40 | #include <linux/completion.h> |
42 | #include <linux/time.h> | 41 | #include <linux/time.h> |
43 | #include <linux/interrupt.h> | 42 | #include <linux/interrupt.h> |
diff --git a/drivers/scsi/aic7xxx/Kconfig.aic79xx b/drivers/scsi/aic7xxx/Kconfig.aic79xx index 5e6620f8dabc..6739069477de 100644 --- a/drivers/scsi/aic7xxx/Kconfig.aic79xx +++ b/drivers/scsi/aic7xxx/Kconfig.aic79xx | |||
@@ -31,8 +31,7 @@ config AIC79XX_CMDS_PER_DEVICE | |||
31 | on some devices. The upper bound is 253. 0 disables tagged queueing. | 31 | on some devices. The upper bound is 253. 0 disables tagged queueing. |
32 | 32 | ||
33 | Per device tag depth can be controlled via the kernel command line | 33 | Per device tag depth can be controlled via the kernel command line |
34 | "tag_info" option. See drivers/scsi/aic7xxx/README.aic79xx | 34 | "tag_info" option. See Documentation/scsi/aic79xx.txt for details. |
35 | for details. | ||
36 | 35 | ||
37 | config AIC79XX_RESET_DELAY_MS | 36 | config AIC79XX_RESET_DELAY_MS |
38 | int "Initial bus reset delay in milli-seconds" | 37 | int "Initial bus reset delay in milli-seconds" |
diff --git a/drivers/scsi/aic7xxx/Kconfig.aic7xxx b/drivers/scsi/aic7xxx/Kconfig.aic7xxx index 88da670a7915..55ac55ee6068 100644 --- a/drivers/scsi/aic7xxx/Kconfig.aic7xxx +++ b/drivers/scsi/aic7xxx/Kconfig.aic7xxx | |||
@@ -36,8 +36,7 @@ config AIC7XXX_CMDS_PER_DEVICE | |||
36 | on some devices. The upper bound is 253. 0 disables tagged queueing. | 36 | on some devices. The upper bound is 253. 0 disables tagged queueing. |
37 | 37 | ||
38 | Per device tag depth can be controlled via the kernel command line | 38 | Per device tag depth can be controlled via the kernel command line |
39 | "tag_info" option. See drivers/scsi/aic7xxx/README.aic7xxx | 39 | "tag_info" option. See Documentation/scsi/aic7xxx.txt for details. |
40 | for details. | ||
41 | 40 | ||
42 | config AIC7XXX_RESET_DELAY_MS | 41 | config AIC7XXX_RESET_DELAY_MS |
43 | int "Initial bus reset delay in milli-seconds" | 42 | int "Initial bus reset delay in milli-seconds" |
diff --git a/drivers/scsi/aic94xx/aic94xx_dump.c b/drivers/scsi/aic94xx/aic94xx_dump.c index 67eeba3bdb06..a16a77c8b9cf 100644 --- a/drivers/scsi/aic94xx/aic94xx_dump.c +++ b/drivers/scsi/aic94xx/aic94xx_dump.c | |||
@@ -29,7 +29,7 @@ | |||
29 | * | 29 | * |
30 | */ | 30 | */ |
31 | 31 | ||
32 | #include "linux/pci.h" | 32 | #include <linux/pci.h> |
33 | #include "aic94xx.h" | 33 | #include "aic94xx.h" |
34 | #include "aic94xx_reg.h" | 34 | #include "aic94xx_reg.h" |
35 | #include "aic94xx_reg_def.h" | 35 | #include "aic94xx_reg_def.h" |
diff --git a/drivers/scsi/bfa/bfad_drv.h b/drivers/scsi/bfa/bfad_drv.h index bda999ad9f52..5e19a5f820ec 100644 --- a/drivers/scsi/bfa/bfad_drv.h +++ b/drivers/scsi/bfa/bfad_drv.h | |||
@@ -27,7 +27,6 @@ | |||
27 | #define __BFAD_DRV_H__ | 27 | #define __BFAD_DRV_H__ |
28 | 28 | ||
29 | #include <linux/types.h> | 29 | #include <linux/types.h> |
30 | #include <linux/version.h> | ||
31 | #include <linux/pci.h> | 30 | #include <linux/pci.h> |
32 | #include <linux/dma-mapping.h> | 31 | #include <linux/dma-mapping.h> |
33 | #include <linux/idr.h> | 32 | #include <linux/idr.h> |
diff --git a/drivers/scsi/cxgbi/cxgb3i/cxgb3i.c b/drivers/scsi/cxgbi/cxgb3i/cxgb3i.c index f58644850333..1242c7c04a01 100644 --- a/drivers/scsi/cxgbi/cxgb3i/cxgb3i.c +++ b/drivers/scsi/cxgbi/cxgb3i/cxgb3i.c | |||
@@ -14,7 +14,6 @@ | |||
14 | 14 | ||
15 | #define pr_fmt(fmt) KBUILD_MODNAME ":%s: " fmt, __func__ | 15 | #define pr_fmt(fmt) KBUILD_MODNAME ":%s: " fmt, __func__ |
16 | 16 | ||
17 | #include <linux/version.h> | ||
18 | #include <linux/module.h> | 17 | #include <linux/module.h> |
19 | #include <linux/moduleparam.h> | 18 | #include <linux/moduleparam.h> |
20 | #include <scsi/scsi_host.h> | 19 | #include <scsi/scsi_host.h> |
diff --git a/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c b/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c index ae13c4993aa3..31c79bde6976 100644 --- a/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c +++ b/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c | |||
@@ -13,7 +13,6 @@ | |||
13 | 13 | ||
14 | #define pr_fmt(fmt) KBUILD_MODNAME ":%s: " fmt, __func__ | 14 | #define pr_fmt(fmt) KBUILD_MODNAME ":%s: " fmt, __func__ |
15 | 15 | ||
16 | #include <linux/version.h> | ||
17 | #include <linux/module.h> | 16 | #include <linux/module.h> |
18 | #include <linux/moduleparam.h> | 17 | #include <linux/moduleparam.h> |
19 | #include <scsi/scsi_host.h> | 18 | #include <scsi/scsi_host.h> |
diff --git a/drivers/scsi/fcoe/fcoe.c b/drivers/scsi/fcoe/fcoe.c index 5d0e9a24ae94..34c8d82b7423 100644 --- a/drivers/scsi/fcoe/fcoe.c +++ b/drivers/scsi/fcoe/fcoe.c | |||
@@ -18,7 +18,6 @@ | |||
18 | */ | 18 | */ |
19 | 19 | ||
20 | #include <linux/module.h> | 20 | #include <linux/module.h> |
21 | #include <linux/version.h> | ||
22 | #include <linux/spinlock.h> | 21 | #include <linux/spinlock.h> |
23 | #include <linux/netdevice.h> | 22 | #include <linux/netdevice.h> |
24 | #include <linux/etherdevice.h> | 23 | #include <linux/etherdevice.h> |
diff --git a/drivers/scsi/isci/phy.c b/drivers/scsi/isci/phy.c index 430fc8ff014a..09e61134037f 100644 --- a/drivers/scsi/isci/phy.c +++ b/drivers/scsi/isci/phy.c | |||
@@ -708,7 +708,7 @@ enum sci_status sci_phy_event_handler(struct isci_phy *iphy, u32 event_code) | |||
708 | __func__, | 708 | __func__, |
709 | event_code); | 709 | event_code); |
710 | 710 | ||
711 | return SCI_FAILURE;; | 711 | return SCI_FAILURE; |
712 | } | 712 | } |
713 | return SCI_SUCCESS; | 713 | return SCI_SUCCESS; |
714 | case SCI_PHY_SUB_AWAIT_SATA_SPEED_EN: | 714 | case SCI_PHY_SUB_AWAIT_SATA_SPEED_EN: |
diff --git a/drivers/scsi/megaraid/megaraid_mbox.c b/drivers/scsi/megaraid/megaraid_mbox.c index 2e6619eff3ea..8883ca36f932 100644 --- a/drivers/scsi/megaraid/megaraid_mbox.c +++ b/drivers/scsi/megaraid/megaraid_mbox.c | |||
@@ -67,7 +67,7 @@ | |||
67 | * | 67 | * |
68 | * NEC MegaRAID PCI Express ROMB 1000 0408 1033 8287 | 68 | * NEC MegaRAID PCI Express ROMB 1000 0408 1033 8287 |
69 | * | 69 | * |
70 | * For history of changes, see Documentation/ChangeLog.megaraid | 70 | * For history of changes, see Documentation/scsi/ChangeLog.megaraid |
71 | */ | 71 | */ |
72 | 72 | ||
73 | #include <linux/slab.h> | 73 | #include <linux/slab.h> |
diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.c b/drivers/scsi/mpt2sas/mpt2sas_base.c index 83035bd1c489..6825772cfd6a 100644 --- a/drivers/scsi/mpt2sas/mpt2sas_base.c +++ b/drivers/scsi/mpt2sas/mpt2sas_base.c | |||
@@ -42,7 +42,6 @@ | |||
42 | * USA. | 42 | * USA. |
43 | */ | 43 | */ |
44 | 44 | ||
45 | #include <linux/version.h> | ||
46 | #include <linux/kernel.h> | 45 | #include <linux/kernel.h> |
47 | #include <linux/module.h> | 46 | #include <linux/module.h> |
48 | #include <linux/errno.h> | 47 | #include <linux/errno.h> |
diff --git a/drivers/scsi/mpt2sas/mpt2sas_config.c b/drivers/scsi/mpt2sas/mpt2sas_config.c index 6861244249a3..2b1101076cfe 100644 --- a/drivers/scsi/mpt2sas/mpt2sas_config.c +++ b/drivers/scsi/mpt2sas/mpt2sas_config.c | |||
@@ -41,7 +41,6 @@ | |||
41 | * USA. | 41 | * USA. |
42 | */ | 42 | */ |
43 | 43 | ||
44 | #include <linux/version.h> | ||
45 | #include <linux/module.h> | 44 | #include <linux/module.h> |
46 | #include <linux/kernel.h> | 45 | #include <linux/kernel.h> |
47 | #include <linux/init.h> | 46 | #include <linux/init.h> |
diff --git a/drivers/scsi/mpt2sas/mpt2sas_ctl.c b/drivers/scsi/mpt2sas/mpt2sas_ctl.c index 38ed0260959d..246d5fbc6e5a 100644 --- a/drivers/scsi/mpt2sas/mpt2sas_ctl.c +++ b/drivers/scsi/mpt2sas/mpt2sas_ctl.c | |||
@@ -42,7 +42,6 @@ | |||
42 | * USA. | 42 | * USA. |
43 | */ | 43 | */ |
44 | 44 | ||
45 | #include <linux/version.h> | ||
46 | #include <linux/kernel.h> | 45 | #include <linux/kernel.h> |
47 | #include <linux/module.h> | 46 | #include <linux/module.h> |
48 | #include <linux/errno.h> | 47 | #include <linux/errno.h> |
diff --git a/drivers/scsi/mpt2sas/mpt2sas_scsih.c b/drivers/scsi/mpt2sas/mpt2sas_scsih.c index 6abd2fcc43e2..5202de3f3d3f 100644 --- a/drivers/scsi/mpt2sas/mpt2sas_scsih.c +++ b/drivers/scsi/mpt2sas/mpt2sas_scsih.c | |||
@@ -41,7 +41,6 @@ | |||
41 | * USA. | 41 | * USA. |
42 | */ | 42 | */ |
43 | 43 | ||
44 | #include <linux/version.h> | ||
45 | #include <linux/module.h> | 44 | #include <linux/module.h> |
46 | #include <linux/kernel.h> | 45 | #include <linux/kernel.h> |
47 | #include <linux/init.h> | 46 | #include <linux/init.h> |
diff --git a/drivers/scsi/mvsas/mv_sas.h b/drivers/scsi/mvsas/mv_sas.h index 44d7885a4a1d..44b474513223 100644 --- a/drivers/scsi/mvsas/mv_sas.h +++ b/drivers/scsi/mvsas/mv_sas.h | |||
@@ -43,7 +43,6 @@ | |||
43 | #include <scsi/scsi.h> | 43 | #include <scsi/scsi.h> |
44 | #include <scsi/scsi_tcq.h> | 44 | #include <scsi/scsi_tcq.h> |
45 | #include <scsi/sas_ata.h> | 45 | #include <scsi/sas_ata.h> |
46 | #include <linux/version.h> | ||
47 | #include "mv_defs.h" | 46 | #include "mv_defs.h" |
48 | 47 | ||
49 | #define DRV_NAME "mvsas" | 48 | #define DRV_NAME "mvsas" |
diff --git a/drivers/scsi/pmcraid.c b/drivers/scsi/pmcraid.c index d079f9a3c6b3..b86db84d6f32 100644 --- a/drivers/scsi/pmcraid.c +++ b/drivers/scsi/pmcraid.c | |||
@@ -39,7 +39,6 @@ | |||
39 | #include <linux/module.h> | 39 | #include <linux/module.h> |
40 | #include <linux/moduleparam.h> | 40 | #include <linux/moduleparam.h> |
41 | #include <linux/hdreg.h> | 41 | #include <linux/hdreg.h> |
42 | #include <linux/version.h> | ||
43 | #include <linux/io.h> | 42 | #include <linux/io.h> |
44 | #include <linux/slab.h> | 43 | #include <linux/slab.h> |
45 | #include <asm/irq.h> | 44 | #include <asm/irq.h> |
diff --git a/drivers/scsi/pmcraid.h b/drivers/scsi/pmcraid.h index f920baf3ff24..ca496c7474e3 100644 --- a/drivers/scsi/pmcraid.h +++ b/drivers/scsi/pmcraid.h | |||
@@ -24,7 +24,6 @@ | |||
24 | #ifndef _PMCRAID_H | 24 | #ifndef _PMCRAID_H |
25 | #define _PMCRAID_H | 25 | #define _PMCRAID_H |
26 | 26 | ||
27 | #include <linux/version.h> | ||
28 | #include <linux/types.h> | 27 | #include <linux/types.h> |
29 | #include <linux/completion.h> | 28 | #include <linux/completion.h> |
30 | #include <linux/list.h> | 29 | #include <linux/list.h> |
diff --git a/drivers/scsi/sg.c b/drivers/scsi/sg.c index 909ed9ed24c0..441a1c5b8974 100644 --- a/drivers/scsi/sg.c +++ b/drivers/scsi/sg.c | |||
@@ -50,6 +50,7 @@ static int sg_version_num = 30534; /* 2 digits for each component */ | |||
50 | #include <linux/delay.h> | 50 | #include <linux/delay.h> |
51 | #include <linux/blktrace_api.h> | 51 | #include <linux/blktrace_api.h> |
52 | #include <linux/mutex.h> | 52 | #include <linux/mutex.h> |
53 | #include <linux/ratelimit.h> | ||
53 | 54 | ||
54 | #include "scsi.h" | 55 | #include "scsi.h" |
55 | #include <scsi/scsi_dbg.h> | 56 | #include <scsi/scsi_dbg.h> |
@@ -626,14 +627,15 @@ sg_write(struct file *filp, const char __user *buf, size_t count, loff_t * ppos) | |||
626 | */ | 627 | */ |
627 | if (hp->dxfer_direction == SG_DXFER_TO_FROM_DEV) { | 628 | if (hp->dxfer_direction == SG_DXFER_TO_FROM_DEV) { |
628 | static char cmd[TASK_COMM_LEN]; | 629 | static char cmd[TASK_COMM_LEN]; |
629 | if (strcmp(current->comm, cmd) && printk_ratelimit()) { | 630 | if (strcmp(current->comm, cmd)) { |
630 | printk(KERN_WARNING | 631 | printk_ratelimited(KERN_WARNING |
631 | "sg_write: data in/out %d/%d bytes for SCSI command 0x%x--" | 632 | "sg_write: data in/out %d/%d bytes " |
632 | "guessing data in;\n " | 633 | "for SCSI command 0x%x-- guessing " |
633 | "program %s not setting count and/or reply_len properly\n", | 634 | "data in;\n program %s not setting " |
634 | old_hdr.reply_len - (int)SZ_SG_HEADER, | 635 | "count and/or reply_len properly\n", |
635 | input_size, (unsigned int) cmnd[0], | 636 | old_hdr.reply_len - (int)SZ_SG_HEADER, |
636 | current->comm); | 637 | input_size, (unsigned int) cmnd[0], |
638 | current->comm); | ||
637 | strcpy(cmd, current->comm); | 639 | strcpy(cmd, current->comm); |
638 | } | 640 | } |
639 | } | 641 | } |
diff --git a/drivers/staging/cxt1e1/Kconfig b/drivers/staging/cxt1e1/Kconfig index 73430ef6ae2b..947f42a65c59 100644 --- a/drivers/staging/cxt1e1/Kconfig +++ b/drivers/staging/cxt1e1/Kconfig | |||
@@ -6,8 +6,7 @@ config CXT1E1 | |||
6 | channelized stream WAN adapter card which contains a HDLC/Transparent | 6 | channelized stream WAN adapter card which contains a HDLC/Transparent |
7 | mode controller. | 7 | mode controller. |
8 | 8 | ||
9 | If you want to compile this driver as a module | 9 | If you want to compile this driver as a module say M here. |
10 | say M here and read <file:Documentation/modules.txt>. | ||
11 | The module will be called 'cxt1e1'. | 10 | The module will be called 'cxt1e1'. |
12 | 11 | ||
13 | If unsure, say N. | 12 | If unsure, say N. |
diff --git a/drivers/staging/iio/addac/adt7316-i2c.c b/drivers/staging/iio/addac/adt7316-i2c.c index 52d1ea349635..1c86cf11ab94 100644 --- a/drivers/staging/iio/addac/adt7316-i2c.c +++ b/drivers/staging/iio/addac/adt7316-i2c.c | |||
@@ -109,7 +109,7 @@ static int __devinit adt7316_i2c_probe(struct i2c_client *client, | |||
109 | 109 | ||
110 | static int __devexit adt7316_i2c_remove(struct i2c_client *client) | 110 | static int __devexit adt7316_i2c_remove(struct i2c_client *client) |
111 | { | 111 | { |
112 | return adt7316_remove(&client->dev);; | 112 | return adt7316_remove(&client->dev); |
113 | } | 113 | } |
114 | 114 | ||
115 | static const struct i2c_device_id adt7316_i2c_id[] = { | 115 | static const struct i2c_device_id adt7316_i2c_id[] = { |
diff --git a/drivers/staging/iio/dds/ad9832.c b/drivers/staging/iio/dds/ad9832.c index e3e61a469bb8..6f0efe6580e7 100644 --- a/drivers/staging/iio/dds/ad9832.c +++ b/drivers/staging/iio/dds/ad9832.c | |||
@@ -52,7 +52,7 @@ static int ad9832_write_frequency(struct ad9832_state *st, | |||
52 | ((addr - 3) << ADD_SHIFT) | | 52 | ((addr - 3) << ADD_SHIFT) | |
53 | ((regval >> 0) & 0xFF)); | 53 | ((regval >> 0) & 0xFF)); |
54 | 54 | ||
55 | return spi_sync(st->spi, &st->freq_msg);; | 55 | return spi_sync(st->spi, &st->freq_msg); |
56 | } | 56 | } |
57 | 57 | ||
58 | static int ad9832_write_phase(struct ad9832_state *st, | 58 | static int ad9832_write_phase(struct ad9832_state *st, |
diff --git a/drivers/target/iscsi/iscsi_target_nego.c b/drivers/target/iscsi/iscsi_target_nego.c index 4d087ac11067..426cd4bf6a9a 100644 --- a/drivers/target/iscsi/iscsi_target_nego.c +++ b/drivers/target/iscsi/iscsi_target_nego.c | |||
@@ -504,7 +504,7 @@ static int iscsi_target_do_authentication( | |||
504 | break; | 504 | break; |
505 | case 1: | 505 | case 1: |
506 | pr_debug("iSCSI security negotiation" | 506 | pr_debug("iSCSI security negotiation" |
507 | " completed sucessfully.\n"); | 507 | " completed successfully.\n"); |
508 | login->auth_complete = 1; | 508 | login->auth_complete = 1; |
509 | if ((login_req->flags & ISCSI_FLAG_LOGIN_NEXT_STAGE1) && | 509 | if ((login_req->flags & ISCSI_FLAG_LOGIN_NEXT_STAGE1) && |
510 | (login_req->flags & ISCSI_FLAG_LOGIN_TRANSIT)) { | 510 | (login_req->flags & ISCSI_FLAG_LOGIN_TRANSIT)) { |
diff --git a/drivers/target/target_core_tpg.c b/drivers/target/target_core_tpg.c index 162b736c7342..49fd0a9b0a56 100644 --- a/drivers/target/target_core_tpg.c +++ b/drivers/target/target_core_tpg.c | |||
@@ -593,7 +593,7 @@ int core_tpg_set_initiator_node_queue_depth( | |||
593 | if (init_sess) | 593 | if (init_sess) |
594 | tpg->se_tpg_tfo->close_session(init_sess); | 594 | tpg->se_tpg_tfo->close_session(init_sess); |
595 | 595 | ||
596 | pr_debug("Successfuly changed queue depth to: %d for Initiator" | 596 | pr_debug("Successfully changed queue depth to: %d for Initiator" |
597 | " Node: %s on %s Target Portal Group: %u\n", queue_depth, | 597 | " Node: %s on %s Target Portal Group: %u\n", queue_depth, |
598 | initiatorname, tpg->se_tpg_tfo->get_fabric_name(), | 598 | initiatorname, tpg->se_tpg_tfo->get_fabric_name(), |
599 | tpg->se_tpg_tfo->tpg_get_tag(tpg)); | 599 | tpg->se_tpg_tfo->tpg_get_tag(tpg)); |
diff --git a/drivers/tty/Kconfig b/drivers/tty/Kconfig index bd7cc0527999..f462fa5f937c 100644 --- a/drivers/tty/Kconfig +++ b/drivers/tty/Kconfig | |||
@@ -62,7 +62,7 @@ config VT_CONSOLE | |||
62 | 62 | ||
63 | config HW_CONSOLE | 63 | config HW_CONSOLE |
64 | bool | 64 | bool |
65 | depends on VT && !S390 && !UML | 65 | depends on VT && !UML |
66 | default y | 66 | default y |
67 | 67 | ||
68 | config VT_HW_CONSOLE_BINDING | 68 | config VT_HW_CONSOLE_BINDING |
diff --git a/drivers/tty/serial/mrst_max3110.c b/drivers/tty/serial/mrst_max3110.c index 23bc743f2a22..492c14d63e99 100644 --- a/drivers/tty/serial/mrst_max3110.c +++ b/drivers/tty/serial/mrst_max3110.c | |||
@@ -23,7 +23,7 @@ | |||
23 | * 1 word. If SPI master controller doesn't support sclk frequency change, | 23 | * 1 word. If SPI master controller doesn't support sclk frequency change, |
24 | * then the char need be sent out one by one with some delay | 24 | * then the char need be sent out one by one with some delay |
25 | * | 25 | * |
26 | * 2. Currently only RX available interrrupt is used, no need for waiting TXE | 26 | * 2. Currently only RX available interrupt is used, no need for waiting TXE |
27 | * interrupt for a low speed UART device | 27 | * interrupt for a low speed UART device |
28 | */ | 28 | */ |
29 | 29 | ||
diff --git a/drivers/usb/gadget/langwell_udc.c b/drivers/usb/gadget/langwell_udc.c index a06e2c27b435..ff4d40d77c30 100644 --- a/drivers/usb/gadget/langwell_udc.c +++ b/drivers/usb/gadget/langwell_udc.c | |||
@@ -2969,7 +2969,7 @@ static irqreturn_t langwell_irq(int irq, void *_dev) | |||
2969 | handle_port_change(dev); | 2969 | handle_port_change(dev); |
2970 | } | 2970 | } |
2971 | 2971 | ||
2972 | /* suspend interrrupt */ | 2972 | /* suspend interrupt */ |
2973 | if (irq_sts & STS_SLI) { | 2973 | if (irq_sts & STS_SLI) { |
2974 | dev_vdbg(&dev->pdev->dev, "suspend interrupt\n"); | 2974 | dev_vdbg(&dev->pdev->dev, "suspend interrupt\n"); |
2975 | handle_bus_suspend(dev); | 2975 | handle_bus_suspend(dev); |
diff --git a/drivers/usb/gadget/mv_udc_core.c b/drivers/usb/gadget/mv_udc_core.c index ce1ac2bcb314..0b3b8d0462db 100644 --- a/drivers/usb/gadget/mv_udc_core.c +++ b/drivers/usb/gadget/mv_udc_core.c | |||
@@ -335,7 +335,7 @@ static int queue_dtd(struct mv_ep *ep, struct mv_req *req) | |||
335 | } else { | 335 | } else { |
336 | /* Write dQH next pointer and terminate bit to 0 */ | 336 | /* Write dQH next pointer and terminate bit to 0 */ |
337 | dqh->next_dtd_ptr = req->head->td_dma | 337 | dqh->next_dtd_ptr = req->head->td_dma |
338 | & EP_QUEUE_HEAD_NEXT_POINTER_MASK;; | 338 | & EP_QUEUE_HEAD_NEXT_POINTER_MASK; |
339 | dqh->size_ioc_int_sts = 0; | 339 | dqh->size_ioc_int_sts = 0; |
340 | 340 | ||
341 | /* Ensure that updates to the QH will occur before priming. */ | 341 | /* Ensure that updates to the QH will occur before priming. */ |
@@ -376,7 +376,7 @@ static int queue_dtd(struct mv_ep *ep, struct mv_req *req) | |||
376 | } | 376 | } |
377 | } | 377 | } |
378 | done: | 378 | done: |
379 | return retval;; | 379 | return retval; |
380 | } | 380 | } |
381 | 381 | ||
382 | static struct mv_dtd *build_dtd(struct mv_req *req, unsigned *length, | 382 | static struct mv_dtd *build_dtd(struct mv_req *req, unsigned *length, |
diff --git a/drivers/usb/gadget/net2280.c b/drivers/usb/gadget/net2280.c index 3dd40b4e675c..a218a4de5dc9 100644 --- a/drivers/usb/gadget/net2280.c +++ b/drivers/usb/gadget/net2280.c | |||
@@ -2481,7 +2481,7 @@ static void handle_stat1_irqs (struct net2280 *dev, u32 stat) | |||
2481 | mask = (1 << HIGH_SPEED) | (1 << FULL_SPEED); | 2481 | mask = (1 << HIGH_SPEED) | (1 << FULL_SPEED); |
2482 | 2482 | ||
2483 | /* VBUS disconnect is indicated by VBUS_PIN and VBUS_INTERRUPT set. | 2483 | /* VBUS disconnect is indicated by VBUS_PIN and VBUS_INTERRUPT set. |
2484 | * Root Port Reset is indicated by ROOT_PORT_RESET_INTERRRUPT set and | 2484 | * Root Port Reset is indicated by ROOT_PORT_RESET_INTERRUPT set and |
2485 | * both HIGH_SPEED and FULL_SPEED clear (as ROOT_PORT_RESET_INTERRUPT | 2485 | * both HIGH_SPEED and FULL_SPEED clear (as ROOT_PORT_RESET_INTERRUPT |
2486 | * only indicates a change in the reset state). | 2486 | * only indicates a change in the reset state). |
2487 | */ | 2487 | */ |
diff --git a/drivers/usb/gadget/uvc.h b/drivers/usb/gadget/uvc.h index 5b7919460fd2..81971fbc7ea5 100644 --- a/drivers/usb/gadget/uvc.h +++ b/drivers/usb/gadget/uvc.h | |||
@@ -56,6 +56,7 @@ struct uvc_event | |||
56 | #include <linux/usb.h> /* For usb_endpoint_* */ | 56 | #include <linux/usb.h> /* For usb_endpoint_* */ |
57 | #include <linux/usb/gadget.h> | 57 | #include <linux/usb/gadget.h> |
58 | #include <linux/videodev2.h> | 58 | #include <linux/videodev2.h> |
59 | #include <linux/version.h> | ||
59 | #include <media/v4l2-fh.h> | 60 | #include <media/v4l2-fh.h> |
60 | 61 | ||
61 | #include "uvc_queue.h" | 62 | #include "uvc_queue.h" |
diff --git a/drivers/usb/gadget/uvc_v4l2.c b/drivers/usb/gadget/uvc_v4l2.c index 52f8f9e513af..cfb58384394d 100644 --- a/drivers/usb/gadget/uvc_v4l2.c +++ b/drivers/usb/gadget/uvc_v4l2.c | |||
@@ -16,7 +16,6 @@ | |||
16 | #include <linux/errno.h> | 16 | #include <linux/errno.h> |
17 | #include <linux/list.h> | 17 | #include <linux/list.h> |
18 | #include <linux/mutex.h> | 18 | #include <linux/mutex.h> |
19 | #include <linux/version.h> | ||
20 | #include <linux/videodev2.h> | 19 | #include <linux/videodev2.h> |
21 | #include <linux/vmalloc.h> | 20 | #include <linux/vmalloc.h> |
22 | #include <linux/wait.h> | 21 | #include <linux/wait.h> |
diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c index e81820370d6f..fe8d14cac436 100644 --- a/drivers/usb/musb/musb_gadget.c +++ b/drivers/usb/musb/musb_gadget.c | |||
@@ -704,7 +704,7 @@ static void rxstate(struct musb *musb, struct musb_request *req) | |||
704 | * most these gadgets, end of is signified either by a short packet, | 704 | * most these gadgets, end of is signified either by a short packet, |
705 | * or filling the last byte of the buffer. (Sending extra data in | 705 | * or filling the last byte of the buffer. (Sending extra data in |
706 | * that last pckate should trigger an overflow fault.) But in mode 1, | 706 | * that last pckate should trigger an overflow fault.) But in mode 1, |
707 | * we don't get DMA completion interrrupt for short packets. | 707 | * we don't get DMA completion interrupt for short packets. |
708 | * | 708 | * |
709 | * Theoretically, we could enable DMAReq irq (MUSB_RXCSR_DMAMODE = 1), | 709 | * Theoretically, we could enable DMAReq irq (MUSB_RXCSR_DMAMODE = 1), |
710 | * to get endpoint interrupt on every DMA req, but that didn't seem | 710 | * to get endpoint interrupt on every DMA req, but that didn't seem |
diff --git a/drivers/usb/serial/digi_acceleport.c b/drivers/usb/serial/digi_acceleport.c index 86fbba6336c9..e92cbefc0f88 100644 --- a/drivers/usb/serial/digi_acceleport.c +++ b/drivers/usb/serial/digi_acceleport.c | |||
@@ -227,7 +227,7 @@ | |||
227 | * - All sleeps use a timeout of DIGI_RETRY_TIMEOUT before looping to | 227 | * - All sleeps use a timeout of DIGI_RETRY_TIMEOUT before looping to |
228 | * recheck the condition they are sleeping on. This is defensive, | 228 | * recheck the condition they are sleeping on. This is defensive, |
229 | * in case a wake up is lost. | 229 | * in case a wake up is lost. |
230 | * - Following Documentation/DocBook/kernel-locking.pdf no spin locks | 230 | * - Following Documentation/DocBook/kernel-locking.tmpl no spin locks |
231 | * are held when calling copy_to/from_user or printk. | 231 | * are held when calling copy_to/from_user or printk. |
232 | */ | 232 | */ |
233 | 233 | ||
diff --git a/drivers/usb/serial/mos7720.c b/drivers/usb/serial/mos7720.c index 40abedbc5943..3524a105d042 100644 --- a/drivers/usb/serial/mos7720.c +++ b/drivers/usb/serial/mos7720.c | |||
@@ -2006,7 +2006,6 @@ static int mos7720_ioctl(struct tty_struct *tty, | |||
2006 | dbg("%s (%d) TIOCSERGETLSR", __func__, port->number); | 2006 | dbg("%s (%d) TIOCSERGETLSR", __func__, port->number); |
2007 | return get_lsr_info(tty, mos7720_port, | 2007 | return get_lsr_info(tty, mos7720_port, |
2008 | (unsigned int __user *)arg); | 2008 | (unsigned int __user *)arg); |
2009 | return 0; | ||
2010 | 2009 | ||
2011 | /* FIXME: These should be using the mode methods */ | 2010 | /* FIXME: These should be using the mode methods */ |
2012 | case TIOCMBIS: | 2011 | case TIOCMBIS: |
diff --git a/drivers/usb/serial/mos7840.c b/drivers/usb/serial/mos7840.c index 7b50aa122752..c72abd524983 100644 --- a/drivers/usb/serial/mos7840.c +++ b/drivers/usb/serial/mos7840.c | |||
@@ -2263,7 +2263,6 @@ static int mos7840_ioctl(struct tty_struct *tty, | |||
2263 | case TIOCSERGETLSR: | 2263 | case TIOCSERGETLSR: |
2264 | dbg("%s (%d) TIOCSERGETLSR", __func__, port->number); | 2264 | dbg("%s (%d) TIOCSERGETLSR", __func__, port->number); |
2265 | return mos7840_get_lsr_info(tty, argp); | 2265 | return mos7840_get_lsr_info(tty, argp); |
2266 | return 0; | ||
2267 | 2266 | ||
2268 | case TIOCGSERIAL: | 2267 | case TIOCGSERIAL: |
2269 | dbg("%s (%d) TIOCGSERIAL", __func__, port->number); | 2268 | dbg("%s (%d) TIOCGSERIAL", __func__, port->number); |
diff --git a/drivers/usb/storage/realtek_cr.c b/drivers/usb/storage/realtek_cr.c index 34adc4b42ceb..6fd13068481b 100644 --- a/drivers/usb/storage/realtek_cr.c +++ b/drivers/usb/storage/realtek_cr.c | |||
@@ -25,7 +25,6 @@ | |||
25 | #include <linux/kthread.h> | 25 | #include <linux/kthread.h> |
26 | #include <linux/sched.h> | 26 | #include <linux/sched.h> |
27 | #include <linux/kernel.h> | 27 | #include <linux/kernel.h> |
28 | #include <linux/version.h> | ||
29 | 28 | ||
30 | #include <scsi/scsi.h> | 29 | #include <scsi/scsi.h> |
31 | #include <scsi/scsi_cmnd.h> | 30 | #include <scsi/scsi_cmnd.h> |
diff --git a/drivers/uwb/uwb-internal.h b/drivers/uwb/uwb-internal.h index 157485c862c0..a7494bf10081 100644 --- a/drivers/uwb/uwb-internal.h +++ b/drivers/uwb/uwb-internal.h | |||
@@ -28,7 +28,6 @@ | |||
28 | #ifndef __UWB_INTERNAL_H__ | 28 | #ifndef __UWB_INTERNAL_H__ |
29 | #define __UWB_INTERNAL_H__ | 29 | #define __UWB_INTERNAL_H__ |
30 | 30 | ||
31 | #include <linux/version.h> | ||
32 | #include <linux/kernel.h> | 31 | #include <linux/kernel.h> |
33 | #include <linux/device.h> | 32 | #include <linux/device.h> |
34 | #include <linux/uwb.h> | 33 | #include <linux/uwb.h> |
diff --git a/drivers/video/igafb.c b/drivers/video/igafb.c index d885c770eb84..2d97752f79a5 100644 --- a/drivers/video/igafb.c +++ b/drivers/video/igafb.c | |||
@@ -428,7 +428,7 @@ static int __init igafb_init(void) | |||
428 | * | 428 | * |
429 | * IGS2000 has its I/O memory mapped and we want | 429 | * IGS2000 has its I/O memory mapped and we want |
430 | * to generate memory cycles on PCI, e.g. do ioremap(), | 430 | * to generate memory cycles on PCI, e.g. do ioremap(), |
431 | * then readb/writeb() as in Documentation/IO-mapping.txt. | 431 | * then readb/writeb() as in Documentation/io-mapping.txt. |
432 | * | 432 | * |
433 | * IGS1682 is more traditional, it responds to PCI I/O | 433 | * IGS1682 is more traditional, it responds to PCI I/O |
434 | * cycles, so we want to access it with inb()/outb(). | 434 | * cycles, so we want to access it with inb()/outb(). |
diff --git a/drivers/watchdog/smsc37b787_wdt.c b/drivers/watchdog/smsc37b787_wdt.c index e97b0499bd0d..97b8184614ae 100644 --- a/drivers/watchdog/smsc37b787_wdt.c +++ b/drivers/watchdog/smsc37b787_wdt.c | |||
@@ -40,7 +40,7 @@ | |||
40 | * mknod /dev/watchdog c 10 130 | 40 | * mknod /dev/watchdog c 10 130 |
41 | * | 41 | * |
42 | * For an example userspace keep-alive daemon, see: | 42 | * For an example userspace keep-alive daemon, see: |
43 | * Documentation/watchdog/watchdog.txt | 43 | * Documentation/watchdog/wdt.txt |
44 | */ | 44 | */ |
45 | 45 | ||
46 | #include <linux/module.h> | 46 | #include <linux/module.h> |