linux/drivers/scsi/qla4xxx
Michael Chan 7ffc49a6ee [ETH]: Combine format_addr() with print_mac().
print_mac() used many most net drivers and format_addr() used by
net-sysfs.c are very similar and they can be intergrated.

format_addr() is also identically redefined in the qla4xxx iscsi
driver.

Export a new function sysfs_format_mac() to be used by net-sysfs,
qla4xxx and others in the future.  Both print_mac() and
sysfs_format_mac() call _format_mac_addr() to do the formatting.

Changed print_mac() to use unsigned char * to be consistent with
net_device struct's dev_addr.  Added buffer length overrun checking
as suggested by Joe Perches.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-01-28 15:00:05 -08:00
..
Kconfig [PATCH] SCSI: ISCSI build failure 2006-10-31 08:13:19 -08:00
Makefile
ql4_dbg.c [SCSI] qla4xxx: ql4_dbg.c remove dead code 2007-05-26 11:47:22 -05:00
ql4_dbg.h [SCSI] Maintain module-parameter name consistency with qla2xxx/qla4xxx. 2006-10-25 15:12:17 -07:00
ql4_def.h [SCSI] qla4xxx: ql4_def.h log all AENs and cleanup 2007-05-26 11:47:27 -05:00
ql4_fw.h Change struct marker users 2007-10-19 11:53:53 -07:00
ql4_glbl.h [SCSI] qla4xxx: update rev num and misc cleanup 2007-05-26 11:47:40 -05:00
ql4_init.c [SCSI] libiscsi: fix shutdown 2008-01-11 18:28:33 -06:00
ql4_inline.h [SCSI] qla4xxx: add support for qla4032 2006-11-22 12:14:04 -06:00
ql4_iocb.c Change struct marker users 2007-10-19 11:53:53 -07:00
ql4_isr.c [SCSI] replace sizeof sense_buffer with SCSI_SENSE_BUFFERSIZE 2008-01-23 11:29:27 -06:00
ql4_mbx.c [SCSI] qla4xxx: ql4_mbx.c remove dead code bugfixes 2007-05-26 11:47:49 -05:00
ql4_nvram.c [SCSI] qla4xxx: update rev num and misc cleanup 2007-05-26 11:47:40 -05:00
ql4_nvram.h [SCSI] qla4xxx: add support for qla4032 2006-11-22 12:14:04 -06:00
ql4_os.c [ETH]: Combine format_addr() with print_mac(). 2008-01-28 15:00:05 -08:00
ql4_version.h [SCSI] qla4xxx: Fix underrun/overrun conditions 2007-07-14 19:11:38 -05:00