[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Zryf1Av5AthqIKDH@arm.com>
Date: Wed, 14 Aug 2024 13:15:16 +0100
From: Catalin Marinas <catalin.marinas@....com>
To: Uros Bizjak <ubizjak@...il.com>
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH 2/2] mm/kmemleak: Use IS_ERR_PCPU() for pointer in the
percpu address space
On Tue, Aug 13, 2024 at 07:25:11PM +0200, Uros Bizjak wrote:
> Use IS_ERR_PCPU() instead of IS_ERR() for pointers in the percpu address
> space. The patch also fixes following sparse warnings:
>
> kmemleak.c:1063:39: warning: cast removes address space '__percpu' of expression
> kmemleak.c:1138:37: warning: cast removes address space '__percpu' of expression
>
> Signed-off-by: Uros Bizjak <ubizjak@...il.com>
> Cc: Catalin Marinas <catalin.marinas@....com>
> Cc: Andrew Morton <akpm@...ux-foundation.org>
Acked-by: Catalin Marinas <catalin.marinas@....com>
Powered by blists - more mailing lists