Re: [RFC bpf-next v1 1/8] bpf: add a get_helper_proto() utility function

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

 



On Mon, 2024-07-01 at 17:41 -0700, Andrii Nakryiko wrote:

[...]

> subjective, but this might be cleaner and will keep first verbose() on
> a single line:
> 
> err = get_helper_proto(...);
> if (err == -ERANGE) {
>     verbose(...);
>     return -EINVAL;
> } else if (err) {
>     verbose(...);
>     return err;
> }

Will do.





[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