oe-kbuild-all.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* arch/um/drivers/harddog_user.c:6:10: fatal error: stdio.h: No such file or directory
@ 2023-05-09 22:14 kernel test robot
  2023-05-10  5:54 ` Richard Weinberger
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2023-05-09 22:14 UTC (permalink / raw)
  To: Johannes Berg; +Cc: oe-kbuild-all, linux-kernel, Richard Weinberger

Hi Johannes,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   16a8829130ca22666ac6236178a6233208d425c3
commit: fc54a4f15988e228cf88f888483e985c5f35031e um: prevent user code in modules
date:   3 weeks ago
config: um-allmodconfig (https://download.01.org/0day-ci/archive/20230510/202305100640.HGwVAUIt-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fc54a4f15988e228cf88f888483e985c5f35031e
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout fc54a4f15988e228cf88f888483e985c5f35031e
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=um olddefconfig
        make W=1 O=build_dir ARCH=um SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202305100640.HGwVAUIt-lkp@intel.com/

All errors (new ones prefixed by >>):

>> arch/um/drivers/harddog_user.c:6:10: fatal error: stdio.h: No such file or directory
       6 | #include <stdio.h>
         |          ^~~~~~~~~
   compilation terminated.


vim +6 arch/um/drivers/harddog_user.c

^1da177e4c3f41 Linus Torvalds 2005-04-16  @6  #include <stdio.h>
^1da177e4c3f41 Linus Torvalds 2005-04-16   7  #include <unistd.h>
^1da177e4c3f41 Linus Torvalds 2005-04-16   8  #include <errno.h>
37185b33240870 Al Viro        2012-10-08   9  #include <os.h>
^1da177e4c3f41 Linus Torvalds 2005-04-16  10  

:::::: The code at line 6 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: arch/um/drivers/harddog_user.c:6:10: fatal error: stdio.h: No such file or directory
  2023-05-09 22:14 arch/um/drivers/harddog_user.c:6:10: fatal error: stdio.h: No such file or directory kernel test robot
@ 2023-05-10  5:54 ` Richard Weinberger
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Weinberger @ 2023-05-10  5:54 UTC (permalink / raw)
  To: kernel test robot; +Cc: Johannes Berg, oe-kbuild-all, linux-kernel

----- Ursprüngliche Mail -----
> Von: "kernel test robot" <lkp@intel.com>
> FYI, the error/warning still remains.
> 
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> master
> head:   16a8829130ca22666ac6236178a6233208d425c3
> commit: fc54a4f15988e228cf88f888483e985c5f35031e um: prevent user code in
> modules
> date:   3 weeks ago
> config: um-allmodconfig
> (https://download.01.org/0day-ci/archive/20230510/202305100640.HGwVAUIt-lkp@intel.com/config)
> compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
> reproduce (this is a W=1 build):

The fix is already in linux-next. PR will follow shortly.

Thanks,
//richard

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-05-10  6:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-09 22:14 arch/um/drivers/harddog_user.c:6:10: fatal error: stdio.h: No such file or directory kernel test robot
2023-05-10  5:54 ` Richard Weinberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).