linux/arch/ia64/sn/kernel
Paul Gortmaker 454ca6040a [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>
2012-02-27 13:01:42 -08:00
..
sn2
bte_error.c
bte.c
huberror.c [IA64] genirq fixup for SGI/SN 2012-02-22 11:11:06 -08:00
idle.c
io_acpi_init.c ia64: Add export.h to arch/ia64 specific files as required 2011-10-31 19:30:58 -04:00
io_common.c
io_init.c ia64: Add export.h to arch/ia64 specific files as required 2011-10-31 19:30:58 -04:00
iomv.c
irq.c [IA64] genirq fixup for SGI/SN 2012-02-22 11:11:06 -08:00
klconflib.c
machvec.c
Makefile
mca.c
msi_sn.c
pio_phys.S
setup.c
tiocx.c [IA64] Check return from device_register() in cx_device_register() 2012-02-27 13:01:42 -08:00