lkml.org 
[lkml]   [2022]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v3 0/1] mm/page_isolation: fix clang deadcode warning
Date
When !CONFIG_VM_BUG_ON, there is warning of
clang-analyzer-deadcode.DeadStores:
Value stored to 'mt' during its initialization
is never read.

Changelog
===
V3
---

Difference with previous patch is use __maybe_unused
suggested by David.

V2
---
Difference with previous patch is just to make it
new lines as it is too long for single line.

Feel free to give comments and suggestions. Thanks.

previous discussion here:
[1] https://lore.kernel.org/linux-mm/20221021030953.34925-1-quic_aiquny@quicinc.com/
[2] https://lore.kernel.org/linux-mm/20221021051936.15346-1-quic_aiquny@quicinc.com/

Maria Yu (1):
mm/page_isolation: fix clang deadcode warning

mm/page_isolation.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--
2.17.1

\
 
 \ /
  Last update: 2022-10-21 12:17    [W:0.030 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site