summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJoe Lawrence <joe.lawrence@stratus.com>2014-06-25 23:06:28 +0200
committerChristoph Hellwig <hch@lst.de>2014-07-25 23:16:58 +0200
commitc9834c70efbaaa1461ec04289d97a842244fb294 (patch)
treefc0f1e232f388236b602cd2bfd429db4700ef631 /scripts
parentmptfusion: use memdup_user (diff)
downloadlinux-c9834c70efbaaa1461ec04289d97a842244fb294.tar.xz
linux-c9834c70efbaaa1461ec04289d97a842244fb294.zip
mptfusion: make adapter prod_name[] a pointer
The struct _MPT_ADAPTER doesn't need a full copy of the product string, so prod_name can point to the string literal storage that the driver already provides. Avoids the following smatch warning: drivers/message/fusion/mptbase.c:2858 MptDisplayIocCapabilities() warn: this array is probably non-NULL. 'ioc->prod_name' Signed-off-by: Joe Lawrence <joe.lawrence@stratus.com> Acked-by: Sreekanth Reddy <Sreekanth.Reddy@avagotech.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions