kernel-fxtec-pro1x/drivers/message/fusion
Ferenc Wagner 8af3d8d5bc [SCSI] fusion: ensure NUL-termination of MptCallbacksName elements
Using strlcpy instead of memcpy makes the strlen() calls superfluous
and also ensures zero-termination of the copied string.
At the same time get rid of the magic constant 50.

Actually, I can't see why copying the callback name is necessary
instead of simply storing a pointer to it (just like to the callback
function itself), but that goes beyond the scope of this fix.

Signed-off-by: Ferenc Wagner <wferi@niif.hu>
Acked-by: "Nandigama, Nagalakshmi" <Nagalakshmi.Nandigama@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2011-12-15 10:57:29 +04:00
..
lsi Fix common misspellings 2011-03-31 11:26:23 -03:00
Kconfig
Makefile message: change to new flag variable 2011-03-17 14:05:34 +01:00
mptbase.c [SCSI] fusion: ensure NUL-termination of MptCallbacksName elements 2011-12-15 10:57:29 +04:00
mptbase.h [SCSI] fusion: ensure NUL-termination of MptCallbacksName elements 2011-12-15 10:57:29 +04:00
mptctl.c Fix common misspellings 2011-03-31 11:26:23 -03:00
mptctl.h [SCSI] mpt fusion : Updated copyright statment with 2008 included 2008-06-05 09:27:17 -05:00
mptdebug.h [SCSI] mpt fusion: Fixing 1078 data corruption issue for 36GB memory region 2009-06-09 17:21:31 -05:00
mptfc.c SCSI host lock push-down 2010-11-16 13:33:23 -08:00
mptlan.c [SCSI] mptfusion: Extra debug prints added relavent to Device missing delay error handling 2010-07-28 09:07:47 -05:00
mptlan.h mptlan: Kill directly reference of netdev->priv 2008-12-03 21:13:37 -08:00
mptsas.c [SCSI] mptfusion: Fix for device offline while doing aggressive HBA reset 2011-08-27 08:35:53 -06:00
mptsas.h [SCSI] mptfusion: Added sanity to check B_T mapping for device before adding to OS 2010-07-27 12:02:32 -05:00
mptscsih.c [SCSI] mptfusion: Added check for SILI bit in READ_16 CDB for DATA UNDERRUN ERRATA 2011-09-22 15:15:08 +04:00
mptscsih.h [SCSI] mptfusion: Better handling of DEAD IOC PCI-E Link down error condition 2011-08-27 08:35:16 -06:00
mptspi.c [SCSI] mptfusion: Adding inline data padding support for TAPE drive. 2011-05-01 11:57:50 -05:00