OpenCloudOS-Kernel/drivers/staging/bcm
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
..
Adapter.h Staging: bcm: Remove typedef for _S_MIBS_EXTSERVICEFLOW_PARAMETERS and call directly. 2012-11-26 16:07:57 -08:00
Bcmchar.c Staging: bcm: Remove typedef for _S_MIBS_HOST_STATS_MIBS and call directly. 2012-11-26 16:07:57 -08:00
Bcmnet.c ethtool: fix drvinfo strings set in drivers 2013-01-06 21:06:31 -08:00
CmHost.c Staging: bcm: Remove typedef for _S_MIBS_SERVICEFLOW_TABLE and call directly. 2012-11-26 16:07:57 -08:00
CmHost.h Staging: bcm: Remove typedef stLocalSFAddRequestAlt. 2012-10-30 19:44:48 -07:00
DDRInit.c Staging: bcm: Remove typedef for _MINI_ADAPTER and call directly. 2012-06-04 21:09:22 -07:00
DDRInit.h Staging: bcm: Remove typedef for _MINI_ADAPTER and call directly. 2012-06-04 21:09:22 -07:00
Debug.h staging: bcm: Remove all commented macros 2012-07-11 17:04:42 -07:00
HandleControlPacket.c Staging: bcm: Remove typedef for _S_MIBS_DROPPED_APP_CNTRL_MESSAGES and call directly. 2012-11-26 16:07:57 -08:00
HostMIBSInterface.h Staging: bcm: Remove typedef for _U_MIBS_IP_ADDRESS and call directly. 2012-11-26 16:07:58 -08:00
IPv6Protocol.c Staging: bcm: Remove typedef for _MINI_ADAPTER and call directly. 2012-06-04 21:09:22 -07:00
IPv6ProtocolHdr.h Staging: bcm: Remove typedef for _MINI_ADAPTER and call directly. 2012-06-04 21:09:22 -07:00
InterfaceAdapter.h Staging: bcm: Change ULONG to unsigned long in InterfaceAdapter.h 2012-11-02 11:36:47 -07:00
InterfaceDld.c Staging: bcm: Remove typedef for _S_INTERFACE_ADAPTER and call directly. 2012-11-02 11:36:46 -07:00
InterfaceIdleMode.c Staging: bcm: Remove typedef for _S_INTERFACE_ADAPTER and call directly. 2012-11-02 11:36:46 -07:00
InterfaceIdleMode.h Staging: bcm: InterfaceIdleMode.h: Checkpatch fixes 2012-10-23 20:28:19 -07:00
InterfaceInit.c Staging: bcm: Add two products and remove an existing product. 2012-11-13 12:38:29 -08:00
InterfaceInit.h Staging: bcm: Add two products and remove an existing product. 2012-11-13 12:38:29 -08:00
InterfaceIsr.c Staging: bcm: Remove typedef for _S_INTERFACE_ADAPTER and call directly. 2012-11-02 11:36:46 -07:00
InterfaceIsr.h Staging: bcm: Remove typedef for _S_INTERFACE_ADAPTER and call directly. 2012-11-02 11:36:46 -07:00
InterfaceMacros.h
InterfaceMisc.c Staging: bcm: Remove typedef for _S_INTERFACE_ADAPTER and call directly. 2012-11-02 11:36:46 -07:00
InterfaceMisc.h Staging: bcm: Remove typedef for _S_INTERFACE_ADAPTER and call directly. 2012-11-02 11:36:46 -07:00
InterfaceRx.c Staging: bcm: Remove typedef for _USB_RCB and call directly. 2012-11-02 11:36:46 -07:00
InterfaceRx.h Staging: bcm: Remove typedef for _S_INTERFACE_ADAPTER and call directly. 2012-11-02 11:36:46 -07:00
InterfaceTx.c Staging: bcm: Remove typedef for _USB_TCB and call directly. 2012-11-02 11:36:46 -07:00
InterfaceTx.h beceem: remove dead code 2010-11-01 09:50:16 -04:00
Ioctl.h Staging: bcm: Remove typedef for rdmbuffer and call directly. 2012-11-26 16:05:23 -08:00
Kconfig Staging: remove CONFIG_EXPERIMENTAL dependancies 2012-09-17 23:02:36 -07:00
LeakyBucket.c Staging: bcm: LeakyBucket.c: Checkpatch fixes 2012-10-23 20:28:19 -07:00
Macros.h staging: bcm: Remove all commented macros 2012-07-11 17:04:42 -07:00
Makefile beceem: remove ARP spoofing 2010-11-01 09:53:58 -04:00
Misc.c Staging: bcm: Remove typedef for _S_MIBS_EXTSERVICEFLOW_PARAMETERS and call directly. 2012-11-26 16:07:57 -08:00
PHSDefines.h staging: bcm: Remove all commented macros 2012-07-11 17:04:42 -07:00
PHSModule.c staging: bcm: Fix typo in drivers/bcm 2012-08-17 09:45:37 -07:00
PHSModule.h Staging: bcm: Remove typedef for _MINI_ADAPTER and call directly. 2012-06-04 21:09:22 -07:00
Protocol.h Staging: bcm: Remove typedef for _ETH_HEADER_STRUC and call directly. 2012-06-04 21:06:35 -07:00
Prototypes.h Staging: bcm: Remove typedef for _S_MIBS_HOST_STATS_MIBS and call directly. 2012-11-26 16:07:57 -08:00
Qos.c Staging: bcm: Remove typedef for _MINI_ADAPTER and call directly. 2012-06-04 21:09:22 -07:00
Queue.h
TODO beceem: update TODO list 2010-11-01 14:18:16 -04:00
Transmit.c Staging: bcm: Remove typedef for _S_INTERFACE_ADAPTER and call directly. 2012-11-02 11:36:46 -07:00
Typedefs.h
Version.h
cntrl_SignalingInterface.h Staging: bcm: Change B_UINT8 to u8 in cntrl_SignalingInterface.h 2012-10-29 17:07:57 -07:00
headers.h Staging: bcm: Fix a coding style error reported by checkpatch.pl 2011-08-23 15:20:52 -07:00
hostmibs.c Staging: bcm: Remove typedef for _S_MIBS_CLASSIFIER_RULE and call directly. 2012-11-26 16:07:58 -08:00
led_control.c Staging: bcm: Remove typedef for _MINI_ADAPTER and call directly. 2012-06-04 21:09:22 -07:00
led_control.h Staging: bcm: Move directives for the preprocessor statement to enum value in led_control.h 2012-02-13 20:16:14 -08:00
nvm.c Staging: bcm: Remove typedef for _FLASH2X_SECTION_VAL and reference directly. 2012-11-26 16:05:22 -08:00
nvm.h beceem: eliminate dead code 2010-10-29 20:44:57 -07:00
sort.c Staging: bcm: Remove typedef for _MINI_ADAPTER and call directly. 2012-06-04 21:09:22 -07:00
target_params.h staging: bcm: Fix typo in drivers/bcm 2012-08-17 09:45:37 -07:00
vendorspecificextn.c Staging: bcm: Remove typedef for _FLASH2X_SECTION_VAL and reference directly. 2012-11-26 16:05:22 -08:00
vendorspecificextn.h Staging: bcm: Remove typedef for _FLASH2X_SECTION_VAL and reference directly. 2012-11-26 16:05:22 -08:00