OpenCloudOS-Kernel/drivers/staging/ccg
Jiri Pirko 7826d43f2d ethtool: fix drvinfo strings set in drivers
Use strlcpy where possible to ensure the string is \0 terminated.
Use always sizeof(string) instead of 32, ETHTOOL_BUSINFO_LEN
and custom defines.
Use snprintf instead of sprint.
Remove unnecessary inits of ->fw_version
Remove unnecessary inits of drvinfo struct.

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-01-06 21:06:31 -08:00
..
Kconfig USB merge for 3.7-rc1 2012-10-01 13:23:01 -07:00
Makefile staging: ccg: include all sourced files 2012-09-10 15:35:35 +03:00
TODO
ccg.c staging: ccg: rename ccg init and exit functions to conventional names 2012-10-22 15:50:07 -07:00
composite.c usb: gadget: remove global variable composite in composite.c 2012-09-10 15:35:41 +03:00
composite.h staging: ccg: include all sourced files 2012-09-10 15:35:35 +03:00
config.c staging: ccg: include all sourced files 2012-09-10 15:35:35 +03:00
epautoconf.c staging: ccg: include all sourced files 2012-09-10 15:35:35 +03:00
f_acm.c staging: ccg: include all sourced files 2012-09-10 15:35:35 +03:00
f_fs.c staging: ccg: include all sourced files 2012-09-10 15:35:35 +03:00
f_mass_storage.c staging: ccg: include all sourced files 2012-09-10 15:35:35 +03:00
f_rndis.c staging: ccg: include all sourced files 2012-09-10 15:35:35 +03:00
gadget_chips.h staging: ccg: include all sourced files 2012-09-10 15:35:35 +03:00
ndis.h staging: ccg: include all sourced files 2012-09-10 15:35:35 +03:00
rndis.c staging: ccg: include all sourced files 2012-09-10 15:35:35 +03:00
rndis.h staging: ccg: include all sourced files 2012-09-10 15:35:35 +03:00
storage_common.c staging: ccg: include all sourced files 2012-09-10 15:35:35 +03:00
sysfs-class-ccg_usb
u_ether.c ethtool: fix drvinfo strings set in drivers 2013-01-06 21:06:31 -08:00
u_ether.h staging: ccg: include all sourced files 2012-09-10 15:35:35 +03:00
u_serial.c TTY: call tty_port_destroy in the rest of drivers 2012-11-15 17:20:58 -08:00
u_serial.h staging: ccg: include all sourced files 2012-09-10 15:35:35 +03:00
usbstring.c staging: ccg: include all sourced files 2012-09-10 15:35:35 +03:00