diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-13 13:05:56 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-13 13:05:56 -0500 |
commit | 008d23e4852d78bb2618f2035f8b2110b6a6b968 (patch) | |
tree | 81c88f744f6f3fc84132527c1ddc0b4da410c5e2 /drivers/scsi/scsi_sysfs.c | |
parent | 8f685fbda43deccd130d192c9fcef1444649eaca (diff) | |
parent | bfc672dcf323877228682aff79dff8ecd9f30ff8 (diff) |
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
* 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (43 commits)
Documentation/trace/events.txt: Remove obsolete sched_signal_send.
writeback: fix global_dirty_limits comment runtime -> real-time
ppc: fix comment typo singal -> signal
drivers: fix comment typo diable -> disable.
m68k: fix comment typo diable -> disable.
wireless: comment typo fix diable -> disable.
media: comment typo fix diable -> disable.
remove doc for obsolete dynamic-printk kernel-parameter
remove extraneous 'is' from Documentation/iostats.txt
Fix spelling milisec -> ms in snd_ps3 module parameter description
Fix spelling mistakes in comments
Revert conflicting V4L changes
i7core_edac: fix typos in comments
mm/rmap.c: fix comment
sound, ca0106: Fix assignment to 'channel'.
hrtimer: fix a typo in comment
init/Kconfig: fix typo
anon_inodes: fix wrong function name in comment
fix comment typos concerning "consistent"
poll: fix a typo in comment
...
Fix up trivial conflicts in:
- drivers/net/wireless/iwlwifi/iwl-core.c (moved to iwl-legacy.c)
- fs/ext4/ext4.h
Also fix missed 'diabled' typo in drivers/net/bnx2x/bnx2x.h while at it.
Diffstat (limited to 'drivers/scsi/scsi_sysfs.c')
-rw-r--r-- | drivers/scsi/scsi_sysfs.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/scsi/scsi_sysfs.c b/drivers/scsi/scsi_sysfs.c index 4c68d36f9ac2..490ce213204e 100644 --- a/drivers/scsi/scsi_sysfs.c +++ b/drivers/scsi/scsi_sysfs.c | |||
@@ -864,13 +864,15 @@ int scsi_sysfs_add_sdev(struct scsi_device *sdev) | |||
864 | 864 | ||
865 | error = device_add(&sdev->sdev_gendev); | 865 | error = device_add(&sdev->sdev_gendev); |
866 | if (error) { | 866 | if (error) { |
867 | printk(KERN_INFO "error 1\n"); | 867 | sdev_printk(KERN_INFO, sdev, |
868 | "failed to add device: %d\n", error); | ||
868 | return error; | 869 | return error; |
869 | } | 870 | } |
870 | device_enable_async_suspend(&sdev->sdev_dev); | 871 | device_enable_async_suspend(&sdev->sdev_dev); |
871 | error = device_add(&sdev->sdev_dev); | 872 | error = device_add(&sdev->sdev_dev); |
872 | if (error) { | 873 | if (error) { |
873 | printk(KERN_INFO "error 2\n"); | 874 | sdev_printk(KERN_INFO, sdev, |
875 | "failed to add class device: %d\n", error); | ||
874 | device_del(&sdev->sdev_gendev); | 876 | device_del(&sdev->sdev_gendev); |
875 | return error; | 877 | return error; |
876 | } | 878 | } |