diff options
author | Joe Lawrence <[email protected]> | 2014-06-25 17:06:28 -0400 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2014-07-25 17:16:58 -0400 |
commit | c9834c70efbaaa1461ec04289d97a842244fb294 (patch) | |
tree | fc0f1e232f388236b602cd2bfd429db4700ef631 /fs/jbd2/commit.c | |
parent | 3e67c459d0ac945ac09639d85de299e65317aefe (diff) |
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 <[email protected]>
Acked-by: Sreekanth Reddy <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions