public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* Please apply d2155fe54ddb to 5.10 and 5.4
@ 2025-04-22  6:04 Qingfang Deng
  2025-04-22  6:06 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 10+ messages in thread
From: Qingfang Deng @ 2025-04-22  6:04 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Sasha Levin; +Cc: stable

Hi Greg and Sasha,

Please consider applying d2155fe54ddb ("mm: compaction: remove
duplicate !list_empty(&sublist) check") to 5.10 and 5.4, as it
resolves a -Wdangling-pointer warning in recent GCC versions:

In function '__list_cut_position',
    inlined from 'list_cut_position' at ./include/linux/list.h:400:3,
    inlined from 'move_freelist_tail' at mm/compaction.c:1241:3:
./include/linux/list.h:370:21: warning: storing the address of local
variable 'sublist' in '*&freepage_6(D)->D.15621.D.15566.lru.next'
[-Wdangling-pointer=]

Regards,
Qingfang

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-04-23  7:40 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-22  6:04 Please apply d2155fe54ddb to 5.10 and 5.4 Qingfang Deng
2025-04-22  6:06 ` Greg Kroah-Hartman
2025-04-22  6:10   ` Qingfang Deng
2025-04-22  6:27     ` Greg Kroah-Hartman
2025-04-22  6:34       ` Qingfang Deng
2025-04-22  7:04         ` David Hildenbrand
2025-04-22  9:58           ` Qingfang Deng
2025-04-22 12:41             ` Greg Kroah-Hartman
2025-04-23  7:37               ` Qingfang Deng
2025-04-23  7:39                 ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox