diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-03-11 17:50:13 -0400 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-04-29 18:00:28 -0400 |
commit | 64ff712321875c2457d3a77d3fc4ab4989f7a8c0 (patch) | |
tree | 05fa3dc1110fdecc90daa27bbf67311f0d530aba /drivers/ieee1394/csr1212.h | |
parent | 982610bd0d8e64baff36099f6dc456ea52d22257 (diff) |
ieee1394: stricter error checks in csr1212
return -EINVAL becomes BUG_ON in checks of function call parameters.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/ieee1394/csr1212.h')
-rw-r--r-- | drivers/ieee1394/csr1212.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ieee1394/csr1212.h b/drivers/ieee1394/csr1212.h index aa9e924fd189..4ef0949589c7 100644 --- a/drivers/ieee1394/csr1212.h +++ b/drivers/ieee1394/csr1212.h | |||
@@ -283,8 +283,8 @@ extern struct csr1212_keyval *csr1212_new_string_descriptor_leaf(const char *s); | |||
283 | * Take care with subsequent ROM modifications: There is no function to remove | 283 | * Take care with subsequent ROM modifications: There is no function to remove |
284 | * previously specified associations. | 284 | * previously specified associations. |
285 | */ | 285 | */ |
286 | extern int csr1212_associate_keyval(struct csr1212_keyval *kv, | 286 | extern void csr1212_associate_keyval(struct csr1212_keyval *kv, |
287 | struct csr1212_keyval *associate); | 287 | struct csr1212_keyval *associate); |
288 | 288 | ||
289 | 289 | ||
290 | /* The following functions manage the association of a keyval and directories. | 290 | /* The following functions manage the association of a keyval and directories. |