Re: [PATCH 5/7] mptfusion: make adapter prod_name[] a pointer

2014-06-05 Thread Christoph Hellwig
On Wed, Jun 04, 2014 at 12:51:55PM -0400, Joe Lawrence wrote: > 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 sparse warning: > > drivers/message/fusion/

[PATCH 5/7] mptfusion: make adapter prod_name[] a pointer

2014-06-04 Thread Joe Lawrence
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 sparse warning: drivers/message/fusion/mptbase.c:2858 MptDisplayIocCapabilities() warn: this array is probably