diff options
author | Lad, Prabhakar <prabhakar.csengg@gmail.com> | 2015-02-05 09:40:05 -0500 |
---|---|---|
committer | Darren Hart <dvhart@linux.intel.com> | 2015-02-06 21:44:28 -0500 |
commit | 4e7f09ad5ea98ae60a435575ae877bd68a5f2d5c (patch) | |
tree | 6024571b0a4a7c957202d3f813549b5bf3b93884 | |
parent | b0dcaf4fbb36895175657be029ed64eda2a34707 (diff) |
samsung-laptop: Fix sparse integer as NULL warning
Fix the following sparse warning:
samsung-laptop.c:1365:52: warning: Using plain integer as NULL pointer
Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
-rw-r--r-- | drivers/platform/x86/samsung-laptop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/samsung-laptop.c b/drivers/platform/x86/samsung-laptop.c index 174333660288..3257b0228613 100644 --- a/drivers/platform/x86/samsung-laptop.c +++ b/drivers/platform/x86/samsung-laptop.c | |||
@@ -1461,7 +1461,7 @@ static int __init samsung_sabi_init(struct samsung_laptop *samsung) | |||
1461 | samsung_sabi_diag(samsung); | 1461 | samsung_sabi_diag(samsung); |
1462 | 1462 | ||
1463 | /* Try to find one of the signatures in memory to find the header */ | 1463 | /* Try to find one of the signatures in memory to find the header */ |
1464 | for (i = 0; sabi_configs[i].test_string != 0; ++i) { | 1464 | for (i = 0; sabi_configs[i].test_string != NULL; ++i) { |
1465 | samsung->config = &sabi_configs[i]; | 1465 | samsung->config = &sabi_configs[i]; |
1466 | loca = find_signature(samsung->f0000_segment, | 1466 | loca = find_signature(samsung->f0000_segment, |
1467 | samsung->config->test_string); | 1467 | samsung->config->test_string); |