Messages in this thread | | | Date | Fri, 16 Dec 2022 09:00:16 +0100 | From | "Arnd Bergmann" <> | Subject | Re: [PATCH] reiserfs: avoid objtool warning after panic |
| |
On Thu, Dec 15, 2022, at 23:31, kernel test robot wrote: > Hi Arnd, > > I love your patch! Perhaps something to improve: > > compiler: gcc-11 (Debian 11.3.0-8) 11.3.0 > reproduce (this is a W=1 build): > > If you fix the issue, kindly add following tag where applicable > | Reported-by: kernel test robot <lkp@intel.com> > > All warnings (new ones prefixed by >>): > >>> fs/reiserfs/namei.o: warning: objtool: reiserfs_rename+0x212: unreachable instruction > -- >>> fs/reiserfs/ibalance.o: warning: objtool: balance_internal_when_delete+0x44c: unreachable instruction > -- >>> fs/reiserfs/stree.o: warning: objtool: reiserfs_cut_from_item+0x17a: unreachable instruction > -- >>> fs/reiserfs/journal.o: warning: objtool: do_journal_end+0x4af: unreachable instruction > -- >>> fs/reiserfs/item_ops.o: warning: objtool: direntry_check_left+0x65: unreachable instruction
Ok, I'll have to revisit this one. I think I tried something similar before and ran into the same problem but I though I had figured it out this time.
The problem apparently is that the patch to shut up the objtool warning with clang in turn adds a different objtool warning with gcc...
Arnd
| |