]> err.no Git - linux-2.6/commit
[BLUETOOTH]: Make hidp_setup_input() return int
authorWANG Cong <xiyou.wangcong@gmail.com>
Wed, 26 Sep 2007 05:57:31 +0000 (22:57 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:52:39 +0000 (16:52 -0700)
commit53465eb4ab16660eab0a7be168a087a97172e650
tree4449d8f837fa9a17ab158957628538b7d47bb203
parent912d8f0b1f17b7e851ebbfeb17a16de9f9c7cb88
[BLUETOOTH]: Make hidp_setup_input() return int

This patch:
- makes hidp_setup_input() return int to indicate errors;
- checks its return value to handle errors.

And this time it is against -rc7-mm1 tree.

Thanks to roel and Marcel Holtmann for comments.

Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bluetooth/hidp/core.c