]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/memory-failure: use helper macro task_pid_nr()
authorMiaohe Lin <linmiaohe@huawei.com>
Wed, 12 Jun 2024 07:18:30 +0000 (15:18 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 4 Jul 2024 02:30:11 +0000 (19:30 -0700)
commit96e13a4ea2ba720619f220bead2864dcf913b173
tree7da25a92b57eeca3c76d96223bf9d7d6272b46a0
parent5a8b01be4f6f50838b094509a49e1e5ed32c1c5c
mm/memory-failure: use helper macro task_pid_nr()

Use helper macro task_pid_nr() to get the pid of a task.  No functional
change intended.

Link: https://lkml.kernel.org/r/20240612071835.157004-9-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Cc: Borislav Petkov (AMD) <bp@alien8.de>
Cc: David Hildenbrand <david@redhat.com>
Cc: kernel test robot <lkp@intel.com>
Cc: Naoya Horiguchi <nao.horiguchi@gmail.com>
Cc: Tony Luck <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/memory-failure.c