Re: [PATCH] bpf: Replace (arg_type & MEM_RDONLY) with type_is_rdonly_mem

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

 



On Tue, Jan 7, 2025 at 3:02 PM Stanislav Fomichev <stfomichev@xxxxxxxxx> wrote:
>
> On 01/07, Feng Yang wrote:
> > From: Feng Yang <yangfeng@xxxxxxxxxx>
> >
> > The existing 'type_is_rdonly_mem' function is more formal in linux source
> >
> > Signed-off-by: Feng Yang <yangfeng@xxxxxxxxxx>
>
> Looks ok, but I'm not sure this cleanup is worth it on its own..
>
> Acked-by: Stanislav Fomichev <sdf@xxxxxxxxxxx>

Yeah.
If we do this let's change type_is_rdonly_mem(u32 type)
to enum as well.

pw-bot: cr





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux