[PATCH] Cleanup: replace prefered with preferred

kbuild test robot lkp at intel.com
Thu Oct 24 22:37:00 UTC 2019


Hi Mark,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[cannot apply to v5.4-rc4 next-20191024]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/Mark-Salyzyn/Cleanup-replace-prefered-with-preferred/20191024-084105
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 13b86bc4cd648eae69fdcf3d04b2750c76350053
config: x86_64-randconfig-a004-201942 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.2-10+deb8u1) 4.9.2
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp at intel.com>

All errors (new ones prefixed by >>):

   In file included from include/linux/sysctl.h:30:0,
                    from include/linux/key.h:17,
                    from include/linux/cred.h:13,
                    from include/linux/seq_file.h:12,
                    from include/linux/cgroup.h:18,
                    from include/linux/memcontrol.h:13,
                    from include/linux/swap.h:9,
                    from include/linux/suspend.h:5,
                    from arch/x86/kernel/asm-offsets.c:13:
>> include/uapi/linux/sysctl.h:561:29: error: expected ',' or '}' before '__attribute__'
     NET_IPV6_TEMP_PREFERED_LFT __attribute__((deprecated)) = /* NOTYPO */
                                ^
   make[2]: *** [arch/x86/kernel/asm-offsets.s] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [sub-make] Error 2
   29 real  5 user  4 sys  35.37% cpu 	make prepare

vim +561 include/uapi/linux/sysctl.h

   546	
   547	enum {
   548		NET_IPV6_FORWARDING=1,
   549		NET_IPV6_HOP_LIMIT=2,
   550		NET_IPV6_MTU=3,
   551		NET_IPV6_ACCEPT_RA=4,
   552		NET_IPV6_ACCEPT_REDIRECTS=5,
   553		NET_IPV6_AUTOCONF=6,
   554		NET_IPV6_DAD_TRANSMITS=7,
   555		NET_IPV6_RTR_SOLICITS=8,
   556		NET_IPV6_RTR_SOLICIT_INTERVAL=9,
   557		NET_IPV6_RTR_SOLICIT_DELAY=10,
   558		NET_IPV6_USE_TEMPADDR=11,
   559		NET_IPV6_TEMP_VALID_LFT=12,
   560		NET_IPV6_TEMP_PREFERRED_LFT = 13,
 > 561		NET_IPV6_TEMP_PREFERED_LFT __attribute__((deprecated)) = /* NOTYPO */
   562			NET_IPV6_TEMP_PREFERRED_LFT,
   563		NET_IPV6_REGEN_MAX_RETRY=14,
   564		NET_IPV6_MAX_DESYNC_FACTOR=15,
   565		NET_IPV6_MAX_ADDRESSES=16,
   566		NET_IPV6_FORCE_MLD_VERSION=17,
   567		NET_IPV6_ACCEPT_RA_DEFRTR=18,
   568		NET_IPV6_ACCEPT_RA_PINFO=19,
   569		NET_IPV6_ACCEPT_RA_RTR_PREF=20,
   570		NET_IPV6_RTR_PROBE_INTERVAL=21,
   571		NET_IPV6_ACCEPT_RA_RT_INFO_MAX_PLEN=22,
   572		NET_IPV6_PROXY_NDP=23,
   573		NET_IPV6_ACCEPT_SOURCE_ROUTE=25,
   574		NET_IPV6_ACCEPT_RA_FROM_LOCAL=26,
   575		NET_IPV6_ACCEPT_RA_RT_INFO_MIN_PLEN=27,
   576		__NET_IPV6_MAX
   577	};
   578	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 29512 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20191025/d299c2d5/attachment-0001.gz>


More information about the amd-gfx mailing list