diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/block/nbd.c | 2 | ||||
-rw-r--r-- | drivers/leds/led-class.c | 2 | ||||
-rw-r--r-- | drivers/message/i2o/i2o_block.c | 2 | ||||
-rw-r--r-- | drivers/net/myri10ge/myri10ge.c | 2 | ||||
-rw-r--r-- | drivers/net/tg3.c | 2 | ||||
-rw-r--r-- | drivers/rtc/rtc-bfin.c | 2 | ||||
-rw-r--r-- | drivers/scsi/scsi_scan.c | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index a3da198ca429..bdba282f15e4 100644 --- a/drivers/block/nbd.c +++ b/drivers/block/nbd.c | |||
@@ -339,7 +339,7 @@ static struct request *nbd_read_stat(struct nbd_device *lo) | |||
339 | } | 339 | } |
340 | 340 | ||
341 | req = nbd_find_request(lo, *(struct request **)reply.handle); | 341 | req = nbd_find_request(lo, *(struct request **)reply.handle); |
342 | if (unlikely(IS_ERR(req))) { | 342 | if (IS_ERR(req)) { |
343 | result = PTR_ERR(req); | 343 | result = PTR_ERR(req); |
344 | if (result != -ENOENT) | 344 | if (result != -ENOENT) |
345 | goto harderror; | 345 | goto harderror; |
diff --git a/drivers/leds/led-class.c b/drivers/leds/led-class.c index ac05a928f764..b3c54be74556 100644 --- a/drivers/leds/led-class.c +++ b/drivers/leds/led-class.c | |||
@@ -105,7 +105,7 @@ int led_classdev_register(struct device *parent, struct led_classdev *led_cdev) | |||
105 | 105 | ||
106 | led_cdev->dev = device_create(leds_class, parent, 0, "%s", | 106 | led_cdev->dev = device_create(leds_class, parent, 0, "%s", |
107 | led_cdev->name); | 107 | led_cdev->name); |
108 | if (unlikely(IS_ERR(led_cdev->dev))) | 108 | if (IS_ERR(led_cdev->dev)) |
109 | return PTR_ERR(led_cdev->dev); | 109 | return PTR_ERR(led_cdev->dev); |
110 | 110 | ||
111 | dev_set_drvdata(led_cdev->dev, led_cdev); | 111 | dev_set_drvdata(led_cdev->dev, led_cdev); |
diff --git a/drivers/message/i2o/i2o_block.c b/drivers/message/i2o/i2o_block.c index a95314897402..81483de8c0fd 100644 --- a/drivers/message/i2o/i2o_block.c +++ b/drivers/message/i2o/i2o_block.c | |||
@@ -371,7 +371,7 @@ static int i2o_block_prep_req_fn(struct request_queue *q, struct request *req) | |||
371 | /* connect the i2o_block_request to the request */ | 371 | /* connect the i2o_block_request to the request */ |
372 | if (!req->special) { | 372 | if (!req->special) { |
373 | ireq = i2o_block_request_alloc(); | 373 | ireq = i2o_block_request_alloc(); |
374 | if (unlikely(IS_ERR(ireq))) { | 374 | if (IS_ERR(ireq)) { |
375 | osm_debug("unable to allocate i2o_block_request!\n"); | 375 | osm_debug("unable to allocate i2o_block_request!\n"); |
376 | return BLKPREP_DEFER; | 376 | return BLKPREP_DEFER; |
377 | } | 377 | } |
diff --git a/drivers/net/myri10ge/myri10ge.c b/drivers/net/myri10ge/myri10ge.c index cead81e80f0c..ef63c8d2bd7e 100644 --- a/drivers/net/myri10ge/myri10ge.c +++ b/drivers/net/myri10ge/myri10ge.c | |||
@@ -2437,7 +2437,7 @@ static int myri10ge_sw_tso(struct sk_buff *skb, struct net_device *dev) | |||
2437 | int status; | 2437 | int status; |
2438 | 2438 | ||
2439 | segs = skb_gso_segment(skb, dev->features & ~NETIF_F_TSO6); | 2439 | segs = skb_gso_segment(skb, dev->features & ~NETIF_F_TSO6); |
2440 | if (unlikely(IS_ERR(segs))) | 2440 | if (IS_ERR(segs)) |
2441 | goto drop; | 2441 | goto drop; |
2442 | 2442 | ||
2443 | while (segs) { | 2443 | while (segs) { |
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index e3f74c9f78bd..b66c75e3b8a1 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c | |||
@@ -4361,7 +4361,7 @@ static int tg3_tso_bug(struct tg3 *tp, struct sk_buff *skb) | |||
4361 | } | 4361 | } |
4362 | 4362 | ||
4363 | segs = skb_gso_segment(skb, tp->dev->features & ~NETIF_F_TSO); | 4363 | segs = skb_gso_segment(skb, tp->dev->features & ~NETIF_F_TSO); |
4364 | if (unlikely(IS_ERR(segs))) | 4364 | if (IS_ERR(segs)) |
4365 | goto tg3_tso_bug_end; | 4365 | goto tg3_tso_bug_end; |
4366 | 4366 | ||
4367 | do { | 4367 | do { |
diff --git a/drivers/rtc/rtc-bfin.c b/drivers/rtc/rtc-bfin.c index 4f28045d9ef2..8624f55d0560 100644 --- a/drivers/rtc/rtc-bfin.c +++ b/drivers/rtc/rtc-bfin.c | |||
@@ -419,7 +419,7 @@ static int __devinit bfin_rtc_probe(struct platform_device *pdev) | |||
419 | return -ENOMEM; | 419 | return -ENOMEM; |
420 | 420 | ||
421 | rtc->rtc_dev = rtc_device_register(pdev->name, &pdev->dev, &bfin_rtc_ops, THIS_MODULE); | 421 | rtc->rtc_dev = rtc_device_register(pdev->name, &pdev->dev, &bfin_rtc_ops, THIS_MODULE); |
422 | if (unlikely(IS_ERR(rtc))) { | 422 | if (IS_ERR(rtc)) { |
423 | ret = PTR_ERR(rtc->rtc_dev); | 423 | ret = PTR_ERR(rtc->rtc_dev); |
424 | goto err; | 424 | goto err; |
425 | } | 425 | } |
diff --git a/drivers/scsi/scsi_scan.c b/drivers/scsi/scsi_scan.c index fcd7455ffc39..a00eee6f7be9 100644 --- a/drivers/scsi/scsi_scan.c +++ b/drivers/scsi/scsi_scan.c | |||
@@ -1828,7 +1828,7 @@ void scsi_scan_host(struct Scsi_Host *shost) | |||
1828 | } | 1828 | } |
1829 | 1829 | ||
1830 | p = kthread_run(do_scan_async, data, "scsi_scan_%d", shost->host_no); | 1830 | p = kthread_run(do_scan_async, data, "scsi_scan_%d", shost->host_no); |
1831 | if (unlikely(IS_ERR(p))) | 1831 | if (IS_ERR(p)) |
1832 | do_scan_async(data); | 1832 | do_scan_async(data); |
1833 | } | 1833 | } |
1834 | EXPORT_SYMBOL(scsi_scan_host); | 1834 | EXPORT_SYMBOL(scsi_scan_host); |