# Re: \[PATCH 1/3\] mm: change vm\_get\_page\_prot() to accept vm\_flags\_t argument

- From: Pedro Falcato \<pfalcato@suse.de\>
- Date: 2025-06-20 18:31:14 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2025/06/315299
- Thread: https://ratatoskr.run/linuxppc-dev/2025/06/315057/t.md

```text
On Wed, Jun 18, 2025 at 08:42:52PM +0100, Lorenzo Stoakes wrote:
> We abstract the type of the VMA flags to vm_flags_t, however in may places
> it is simply assumed this is unsigned long, which is simply incorrect.
> 
> At the moment this is simply an incongruity, however in future we plan to
> change this type and therefore this change is a critical requirement for
> doing so.
> 
> Overall, this patch does not introduce any functional change.
> 
> Signed-off-by: Lorenzo Stoakes <redacted>

Nice little cleanup, thanks!

Reviewed-by: Pedro Falcato <pfalcato@suse.de>

-- 
Pedro

```
