summaryrefslogtreecommitdiff
path: root/net/key
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2012-02-26 18:46:07 (GMT)
committerTony Luck <tony.luck@intel.com>2012-02-27 21:01:42 (GMT)
commit454ca6040acc441221d1b07c38c6127947a223d0 (patch)
tree365d768a12a2fa8820d825b5ee03ddd86df4aae3 /net/key
parentc19ce0ab53ad9698968a154647f3dc22aad6c45b (diff)
downloadlinux-fsl-qoriq-454ca6040acc441221d1b07c38c6127947a223d0.tar.xz
[IA64] Check return from device_register() in cx_device_register()
The device_register() is declared with must_check, causing this: arch/ia64/sn/kernel/tiocx.c: In function 'cx_device_register': arch/ia64/sn/kernel/tiocx.c:210:17: warning: ignoring return value of 'device_register', declared with attribute warn_unused_result Check the return value, and free resources if it fails. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'net/key')
0 files changed, 0 insertions, 0 deletions