lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 11 Oct 2022 06:12:15 +0800
From:   kernel test robot <lkp@...el.com>
To:     Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
        Marc Zyngier <maz@...nel.org>,
        Bartosz Golaszewski <brgl@...ev.pl>,
        Kent Gibson <warthog618@...il.com>,
        Mauro Carvalho Chehab <mchehab@...nel.org>,
        Billy Tsai <billy_tsai@...eedtech.com>,
        Thomas Gleixner <tglx@...utronix.de>,
        Linus Walleij <linus.walleij@...aro.org>,
        Mika Westerberg <mika.westerberg@...ux.intel.com>,
        AngeloGioacchino Del Regno 
        <angelogioacchino.delregno@...labora.com>,
        Chen-Yu Tsai <wenst@...omium.org>,
        Claudiu Beznea <claudiu.beznea@...rochip.com>,
        Samuel Holland <samuel@...lland.org>,
        Horatiu Vultur <horatiu.vultur@...rochip.com>,
        Rafał Miłecki <rafal@...ecki.pl>,
        Bjorn Andersson <bjorn.andersson@...aro.org>,
        Dmitry Baryshkov <dmitry.baryshkov@...aro.org>,
        Geert Uytterhoeven <geert+renesas@...der.be>,
        Lad Prabhakar <prabhakar.mahadev-lad.rj@...renesas.com>,
        Phil Edworthy <phil.edworthy@...esas.com>,
        Krzysztof Kozlowski <krzk@...nel.org>,
        Fabien Dessenne <fabien.dessenne@...s.st.com>,
        Prathamesh Shete <pshete@...dia.com>,
        Basavaraj Natikar <Basavaraj.Natikar@....com>,
        linux-gpio@...r.kernel.org, linux-tegra@...r.kernel.org,
        linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
        linux-actions@...ts.infradead.org
Cc:     kbuild-all@...ts.01.org, linux-media@...r.kernel.org
Subject: Re: [PATCH v2 36/36] pinctrl: Clean up headers

Hi Andy,

I love your patch! Yet something to improve:

[auto build test ERROR on 9d157c89c5569f0ef560b7a5b2d7bf59ae98499c]

url:    https://github.com/intel-lab-lkp/linux/commits/Andy-Shevchenko/pinctrl-Clean-up-and-add-missed-headers/20221011-042138
base:   9d157c89c5569f0ef560b7a5b2d7bf59ae98499c
config: riscv-allmodconfig
compiler: riscv64-linux-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/intel-lab-lkp/linux/commit/4c604b9cf7e296809c5b17f12e9e9766bfda0ee4
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review Andy-Shevchenko/pinctrl-Clean-up-and-add-missed-headers/20221011-042138
        git checkout 4c604b9cf7e296809c5b17f12e9e9766bfda0ee4
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash drivers/pinctrl/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>

All error/warnings (new ones prefixed by >>):

>> drivers/pinctrl/starfive/pinctrl-starfive-jh7100.c:897:21: error: variable 'starfive_pinconf_ops' has initializer but incomplete type
     897 | static const struct pinconf_ops starfive_pinconf_ops = {
         |                     ^~~~~~~~~~~
>> drivers/pinctrl/starfive/pinctrl-starfive-jh7100.c:898:10: error: 'const struct pinconf_ops' has no member named 'pin_config_get'
     898 |         .pin_config_get = starfive_pinconf_get,
         |          ^~~~~~~~~~~~~~
>> drivers/pinctrl/starfive/pinctrl-starfive-jh7100.c:898:27: warning: excess elements in struct initializer
     898 |         .pin_config_get = starfive_pinconf_get,
         |                           ^~~~~~~~~~~~~~~~~~~~
   drivers/pinctrl/starfive/pinctrl-starfive-jh7100.c:898:27: note: (near initialization for 'starfive_pinconf_ops')
>> drivers/pinctrl/starfive/pinctrl-starfive-jh7100.c:899:10: error: 'const struct pinconf_ops' has no member named 'pin_config_group_get'
     899 |         .pin_config_group_get = starfive_pinconf_group_get,
         |          ^~~~~~~~~~~~~~~~~~~~
   drivers/pinctrl/starfive/pinctrl-starfive-jh7100.c:899:33: warning: excess elements in struct initializer
     899 |         .pin_config_group_get = starfive_pinconf_group_get,
         |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/pinctrl/starfive/pinctrl-starfive-jh7100.c:899:33: note: (near initialization for 'starfive_pinconf_ops')
>> drivers/pinctrl/starfive/pinctrl-starfive-jh7100.c:900:10: error: 'const struct pinconf_ops' has no member named 'pin_config_group_set'
     900 |         .pin_config_group_set = starfive_pinconf_group_set,
         |          ^~~~~~~~~~~~~~~~~~~~
   drivers/pinctrl/starfive/pinctrl-starfive-jh7100.c:900:33: warning: excess elements in struct initializer
     900 |         .pin_config_group_set = starfive_pinconf_group_set,
         |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/pinctrl/starfive/pinctrl-starfive-jh7100.c:900:33: note: (near initialization for 'starfive_pinconf_ops')
>> drivers/pinctrl/starfive/pinctrl-starfive-jh7100.c:901:10: error: 'const struct pinconf_ops' has no member named 'pin_config_dbg_show'
     901 |         .pin_config_dbg_show = starfive_pinconf_dbg_show,
         |          ^~~~~~~~~~~~~~~~~~~
   drivers/pinctrl/starfive/pinctrl-starfive-jh7100.c:901:32: warning: excess elements in struct initializer
     901 |         .pin_config_dbg_show = starfive_pinconf_dbg_show,
         |                                ^~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/pinctrl/starfive/pinctrl-starfive-jh7100.c:901:32: note: (near initialization for 'starfive_pinconf_ops')
>> drivers/pinctrl/starfive/pinctrl-starfive-jh7100.c:902:10: error: 'const struct pinconf_ops' has no member named 'is_generic'
     902 |         .is_generic = true,
         |          ^~~~~~~~~~
   drivers/pinctrl/starfive/pinctrl-starfive-jh7100.c:902:23: warning: excess elements in struct initializer
     902 |         .is_generic = true,
         |                       ^~~~
   drivers/pinctrl/starfive/pinctrl-starfive-jh7100.c:902:23: note: (near initialization for 'starfive_pinconf_ops')
>> drivers/pinctrl/starfive/pinctrl-starfive-jh7100.c:897:33: error: storage size of 'starfive_pinconf_ops' isn't known
     897 | static const struct pinconf_ops starfive_pinconf_ops = {
         |                                 ^~~~~~~~~~~~~~~~~~~~


vim +898 drivers/pinctrl/starfive/pinctrl-starfive-jh7100.c

ec648f6b7686b7 drivers/pinctrl/pinctrl-starfive.c Emil Renner Berthing 2021-07-06  896  
ec648f6b7686b7 drivers/pinctrl/pinctrl-starfive.c Emil Renner Berthing 2021-07-06 @897  static const struct pinconf_ops starfive_pinconf_ops = {
ec648f6b7686b7 drivers/pinctrl/pinctrl-starfive.c Emil Renner Berthing 2021-07-06 @898  	.pin_config_get = starfive_pinconf_get,
ec648f6b7686b7 drivers/pinctrl/pinctrl-starfive.c Emil Renner Berthing 2021-07-06 @899  	.pin_config_group_get = starfive_pinconf_group_get,
ec648f6b7686b7 drivers/pinctrl/pinctrl-starfive.c Emil Renner Berthing 2021-07-06 @900  	.pin_config_group_set = starfive_pinconf_group_set,
ec648f6b7686b7 drivers/pinctrl/pinctrl-starfive.c Emil Renner Berthing 2021-07-06 @901  	.pin_config_dbg_show = starfive_pinconf_dbg_show,
ec648f6b7686b7 drivers/pinctrl/pinctrl-starfive.c Emil Renner Berthing 2021-07-06 @902  	.is_generic = true,
ec648f6b7686b7 drivers/pinctrl/pinctrl-starfive.c Emil Renner Berthing 2021-07-06  903  };
ec648f6b7686b7 drivers/pinctrl/pinctrl-starfive.c Emil Renner Berthing 2021-07-06  904  

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

View attachment "config" of type "text/plain" (316927 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ