diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-03-11 22:50:13 +0100 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-04-30 00:00:28 +0200 |
commit | 64ff712321875c2457d3a77d3fc4ab4989f7a8c0 (patch) | |
tree | 05fa3dc1110fdecc90daa27bbf67311f0d530aba /drivers/ieee1394/csr1212.h | |
parent | 982610bd0d8e64baff36099f6dc456ea52d22257 (diff) | |
download | linux-64ff712321875c2457d3a77d3fc4ab4989f7a8c0.tar.bz2 |
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); * Take care with subsequent ROM modifications: There is no function to remove * previously specified associations. */ -extern int csr1212_associate_keyval(struct csr1212_keyval *kv, - struct csr1212_keyval *associate); +extern void csr1212_associate_keyval(struct csr1212_keyval *kv, + struct csr1212_keyval *associate); /* The following functions manage the association of a keyval and directories. |