mirror of
https://github.com/torvalds/linux.git
synced 2024-11-08 13:11:45 +00:00
d96a51f6b8
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> |
||
---|---|---|
.. | ||
adapter.h | ||
ael1002.c | ||
common.h | ||
cxgb3_ctl_defs.h | ||
cxgb3_defs.h | ||
cxgb3_ioctl.h | ||
cxgb3_main.c | ||
cxgb3_offload.c | ||
cxgb3_offload.h | ||
firmware_exports.h | ||
l2t.c | ||
l2t.h | ||
Makefile | ||
mc5.c | ||
regs.h | ||
sge_defs.h | ||
sge.c | ||
t3_cpl.h | ||
t3_hw.c | ||
t3cdev.h | ||
version.h | ||
vsc8211.c | ||
xgmac.c |