lkml.org 
[lkml]   [2023]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2 1/3] MIPS: Remove noreturn attribute for die()
From
Date


On 08/14/2023 01:24 PM, kernel test robot wrote:
> Hi Tiezhu,
>
> kernel test robot noticed the following build warnings:
>
> [auto build test WARNING on linus/master]
> [also build test WARNING on v6.5-rc6 next-20230809]
> [If your patch is applied to the wrong git tree, kindly drop us a note.
> And when submitting patch, we suggest to use '--base' as documented in
> https://git-scm.com/docs/git-format-patch#_base_tree_information]
>
> url: https://github.com/intel-lab-lkp/linux/commits/Tiezhu-Yang/MIPS-Remove-noreturn-attribute-for-die/20230814-115513
> base: linus/master
> patch link: https://lore.kernel.org/r/1691985181-28363-2-git-send-email-yangtiezhu%40loongson.cn
> patch subject: [PATCH v2 1/3] MIPS: Remove noreturn attribute for die()
> config: mips-allyesconfig (https://download.01.org/0day-ci/archive/20230814/202308141322.sZl3fv7u-lkp@intel.com/config)
> compiler: mips-linux-gcc (GCC) 12.3.0
> reproduce: (https://download.01.org/0day-ci/archive/20230814/202308141322.sZl3fv7u-lkp@intel.com/reproduce)
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202308141322.sZl3fv7u-lkp@intel.com/
>

...

> arch/mips/kernel/traps.c: In function 'die':
>>> arch/mips/kernel/traps.c:426:1: warning: 'noreturn' function does return
> 426 | }
> | ^

Thanks for your report, the follow up patch #2 of this patch series
can silence the above warning.

[PATCH v2 2/3] MIPS: Modify the declaration for die()
https://lore.kernel.org/all/1691985181-28363-3-git-send-email-yangtiezhu@loongson.cn/

Thanks,
Tiezhu

\
 
 \ /
  Last update: 2023-08-14 08:25    [W:0.034 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site