diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-10-04 07:05:11 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-10-04 14:27:26 -0400 |
commit | ed542bed126caeefc6546b276e4af852d4d34f33 (patch) | |
tree | f81d7a0c6b997dc32b933fe39ed3a1d891d4d3c8 /include/linux/raid_class.h | |
parent | 83aabc1be551dd1f07266c125ff48ec62a2ce515 (diff) |
[SCSI] raid class: handle component-add errors
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'include/linux/raid_class.h')
-rw-r--r-- | include/linux/raid_class.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/raid_class.h b/include/linux/raid_class.h index d0dd38b3a2fd..d22ad392242a 100644 --- a/include/linux/raid_class.h +++ b/include/linux/raid_class.h | |||
@@ -77,5 +77,6 @@ DEFINE_RAID_ATTRIBUTE(enum raid_state, state) | |||
77 | struct raid_template *raid_class_attach(struct raid_function_template *); | 77 | struct raid_template *raid_class_attach(struct raid_function_template *); |
78 | void raid_class_release(struct raid_template *); | 78 | void raid_class_release(struct raid_template *); |
79 | 79 | ||
80 | void raid_component_add(struct raid_template *, struct device *, | 80 | int __must_check raid_component_add(struct raid_template *, struct device *, |
81 | struct device *); | 81 | struct device *); |
82 | |||