From: Joe Lawrence Date: Wed, 25 Jun 2014 21:06:28 +0000 (-0400) Subject: mptfusion: make adapter prod_name[] a pointer X-Git-Tag: omap-for-v3.17/fixes-against-rc2~143^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9834c70efbaaa1461ec04289d97a842244fb294;p=pandora-kernel.git 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 Acked-by: Sreekanth Reddy Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed