Re: [PATCH bpf-next 1/3] objtool: Move noreturns.h to a common location

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

 



On Tue, Feb 11, 2025 at 11:50 PM Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:
>
> On Tue, Feb 11, 2025 at 10:33:57AM +0800, Yafang Shao wrote:
> > It will used by bpf to reject attaching fexit prog to functions
> > annotated with __noreturn.
> >
> > Signed-off-by: Yafang Shao <laoar.shao@xxxxxxxxx>
> > Cc: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
> > Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> > ---
> >  {tools/objtool => include/linux}/noreturns.h |  0
> >  tools/include/linux/noreturns.h              | 52 ++++++++++++++++++++
>
> Instead of moving the file, please make a copy

Are you suggesting we keep tools/objtool/noreturns.h as is and simply
copy it to include/linux/noreturns.h? In other words, the two files
would be tools/objtool/noreturns.h and include/linux/noreturns.h.

> and add it to
> tools/objtool/sync-check.sh.

Sure.

-- 
Regards
Yafang





[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