Re: [PATCH] usb: gadget: f_fs: fix fortify warning

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

 



Hi Dmitry,

kernel test robot noticed the following build errors:

[auto build test ERROR on usb/usb-testing]
[also build test ERROR on usb/usb-next usb/usb-linus linus/master v6.7-rc5 next-20231213]
[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/Dmitry-Antipov/usb-gadget-f_fs-fix-fortify-warning/20231212-193946
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing
patch link:    https://lore.kernel.org/r/20231212112923.61799-1-dmantipov%40yandex.ru
patch subject: [PATCH] usb: gadget: f_fs: fix fortify warning
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20231214/202312140411.KJ3yiKt5-lkp@xxxxxxxxx/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231214/202312140411.KJ3yiKt5-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312140411.KJ3yiKt5-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

   In file included from <built-in>:1:
>> ./usr/include/linux/usb/functionfs.h:76:2: error: type name requires a specifier or qualifier
           struct_group(IDs,
           ^
>> ./usr/include/linux/usb/functionfs.h:77:3: error: unexpected type name '__u8': expected identifier
                   __u8    CompatibleID[8];
                   ^
>> ./usr/include/linux/usb/functionfs.h:77:8: error: expected ')'
                   __u8    CompatibleID[8];
                           ^
   ./usr/include/linux/usb/functionfs.h:76:14: note: to match this '('
           struct_group(IDs,
                       ^
>> ./usr/include/linux/usb/functionfs.h:76:15: error: a parameter list without types is only allowed in a function definition
           struct_group(IDs,
                        ^
   ./usr/include/linux/usb/functionfs.h:79:2: error: type name requires a specifier or qualifier
           );
           ^
>> ./usr/include/linux/usb/functionfs.h:79:2: error: expected member name or ';' after declaration specifiers
>> ./usr/include/linux/usb/functionfs.h:78:27: error: expected ';' at end of declaration list
                   __u8    SubCompatibleID[8];
                                              ^
                                              ;
   7 errors generated.

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




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux