[PATCH v2 2/7] drivers: mfd: Add a driver for iEi WT61P803 PUZZLE MCU

kernel test robot lkp at intel.com
Sat Sep 26 15:16:16 EDT 2020


Hi Luka,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on hwmon/hwmon-next]
[also build test WARNING on lee-mfd/for-mfd-next pavel-linux-leds/for-next linus/master v5.9-rc6 next-20200925]
[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]

url:    https://github.com/0day-ci/linux/commits/Luka-Kovacic/Add-support-for-the-iEi-Puzzle-M801-board/20200926-215756
base:   https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next
config: x86_64-randconfig-s032-20200927 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.2-201-g24bdaac6-dirty
        # https://github.com/0day-ci/linux/commit/d025100057209ebc82b8dbc49aeff8c9acfc36f4
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Luka-Kovacic/Add-support-for-the-iEi-Puzzle-M801-board/20200926-215756
        git checkout d025100057209ebc82b8dbc49aeff8c9acfc36f4
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64 

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


sparse warnings: (new ones prefixed by >>)

>> drivers/mfd/iei-wt61p803-puzzle.c:121:15: sparse: sparse: symbol 'iei_wt61p803_puzzle_checksum' was not declared. Should it be static?
>> drivers/mfd/iei-wt61p803-puzzle.c:305:5: sparse: sparse: symbol 'iei_wt61p803_puzzle_buzzer' was not declared. Should it be static?
>> drivers/mfd/iei-wt61p803-puzzle.c:344:5: sparse: sparse: symbol 'iei_wt61p803_puzzle_get_version' was not declared. Should it be static?
>> drivers/mfd/iei-wt61p803-puzzle.c:423:5: sparse: sparse: symbol 'iei_wt61p803_puzzle_get_mcu_status' was not declared. Should it be static?
>> drivers/mfd/iei-wt61p803-puzzle.c:472:5: sparse: sparse: symbol 'iei_wt61p803_puzzle_get_serial_number' was not declared. Should it be static?
>> drivers/mfd/iei-wt61p803-puzzle.c:499:5: sparse: sparse: symbol 'iei_wt61p803_puzzle_write_serial_number' was not declared. Should it be static?
>> drivers/mfd/iei-wt61p803-puzzle.c:547:5: sparse: sparse: symbol 'iei_wt61p803_puzzle_get_mac_addresses' was not declared. Should it be static?
>> drivers/mfd/iei-wt61p803-puzzle.c:584:5: sparse: sparse: symbol 'iei_wt61p803_puzzle_write_mac_address' was not declared. Should it be static?
>> drivers/mfd/iei-wt61p803-puzzle.c:633:5: sparse: sparse: symbol 'iei_wt61p803_puzzle_write_power_loss_recovery' was not declared. Should it be static?

Please review and possibly fold the followup patch.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 34195 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20200927/56368174/attachment-0001.gz>


More information about the linux-arm-kernel mailing list