[PATCH v2 0/1] mm/page_isolation: fix clang deadcode warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When !CONFIG_VM_BUG_ON, there is warning of
clang-analyzer-deadcode.DeadStores:
Value stored to 'mt' during its initialization
is never read.

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@xxxxxxxxxxx/

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

 mm/page_isolation.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

-- 
2.17.1





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux