Re: [PATCH bpf-next] bpftool: Don't try to return value from void function in skeleton

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

 



On Tue, 26 Jul 2022 at 14:32, Jörn-Thorben Hinz
<jthinz@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> A skeleton generated by bpftool previously contained a return followed
> by an expression in OBJ_NAME__detach(), which has return type void. This
> did not hurt, the bpf_object__detach_skeleton() called there returns
> void itself anyway, but led to a warning when compiling with e.g.
> -pedantic.
>
> Signed-off-by: Jörn-Thorben Hinz <jthinz@xxxxxxxxxxxxxxxxxxxx>

Reviewed-by: Quentin Monnet <quentin@xxxxxxxxxxxxx>

Thank you!




[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