1
linux/drivers/net/cxgb3
Dan Noe d96a51f6b8 cxgb3: Fix __must_check warning with dev_dbg.
Fix the warning:
drivers/net/cxgb3/cxgb3_main.c: In function ‘offload_open’:
drivers/net/cxgb3/cxgb3_main.c:936: warning: ignoring return value of
 ‘sysfs_create_group’, declared with attribute warn_unused_result

Now the return value is checked; if sysfs_create_group() returns failure,
a warning is printed using dev_dbg, and the code continues as before.  Use
of dev_dbg ensures printk is not needlessly included unless desired for
debugging.

Signed-off-by: Dan Noe <dpn@isomerica.net>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2008-04-17 15:31:32 -04:00
..
adapter.h cxgb3 - parity initialization for T3C adapters. 2008-01-28 15:07:22 -08:00
ael1002.c
common.h annotate cxgb3 2008-01-28 15:10:30 -08:00
cxgb3_ctl_defs.h
cxgb3_defs.h
cxgb3_ioctl.h
cxgb3_main.c cxgb3: Fix __must_check warning with dev_dbg. 2008-04-17 15:31:32 -04:00
cxgb3_offload.c annotate cxgb3 (ab)uses of skb->priority/skb->csum 2008-03-26 00:18:46 -04:00
cxgb3_offload.h
firmware_exports.h drivers/net/cxgb3: trim trailing whitespace 2008-01-28 15:04:13 -08:00
l2t.c [NET] NEIGHBOUR: Remove unpopular neigh_is_connected(). 2008-03-04 15:18:23 +09:00
l2t.h
Makefile
mc5.c cxgb3: Remove incorrect __devinit annotations 2008-02-03 04:28:35 -08:00
regs.h cxgb3 - parity initialization for T3C adapters. 2008-01-28 15:07:22 -08:00
sge_defs.h
sge.c cxgb3: Fix lockdep problems with sge.reg_lock 2008-03-25 23:42:05 -04:00
t3_cpl.h
t3_hw.c cxgb3: Remove incorrect __devinit annotations 2008-02-03 04:28:35 -08:00
t3cdev.h
version.h cxgb3 - FW upgrade 2008-01-28 15:04:09 -08:00
vsc8211.c
xgmac.c drivers/net/cxgb3: trim trailing whitespace 2008-01-28 15:04:13 -08:00