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] [day] [month] [year] [list]
Message-ID: <201910300906.kpQSjRPu%lkp@intel.com>
Date:   Wed, 30 Oct 2019 09:36:20 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Weiyi Lu <weiyi.lu@...iatek.com>
Cc:     kbuild-all@...ts.01.org, Nicolas Boichat <drinkcat@...omium.org>,
        Matthias Brugger <matthias.bgg@...il.com>,
        Rob Herring <robh@...nel.org>,
        James Liao <jamesjj.liao@...iatek.com>,
        Fan Chen <fan.chen@...iatek.com>,
        linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
        linux-mediatek@...ts.infradead.org, srv_heupstream@...iatek.com,
        Weiyi Lu <weiyi.lu@...iatek.com>,
        Yong Wu <yong.wu@...iatek.com>
Subject: Re: [PATCH v8 09/14] soc: mediatek: Add multiple step bus protection
 control

Hi Weiyi,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v5.4-rc5 next-20191029]
[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/Weiyi-Lu/Mediatek-MT8183-scpsys-support/20191030-060526
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 23fdb198ae81f47a574296dab5167c5e136a02ba
config: mips-allmodconfig (attached as .config)
compiler: mips-linux-gcc (GCC) 7.4.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=mips 

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

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

   In file included from <command-line>:0:0:
>> include/linux/soc/mediatek/scpsys-ext.h:26:2: error: unknown type name 'u32'
     u32 set_ofs;
     ^~~
   include/linux/soc/mediatek/scpsys-ext.h:27:2: error: unknown type name 'u32'
     u32 clr_ofs;
     ^~~
   include/linux/soc/mediatek/scpsys-ext.h:28:2: error: unknown type name 'u32'
     u32 en_ofs;
     ^~~
   include/linux/soc/mediatek/scpsys-ext.h:29:2: error: unknown type name 'u32'
     u32 sta_ofs;
     ^~~
   include/linux/soc/mediatek/scpsys-ext.h:30:2: error: unknown type name 'u32'
     u32 mask;
     ^~~
   include/linux/soc/mediatek/scpsys-ext.h:31:2: error: unknown type name 'u32'
     u32 clr_ack_mask;
     ^~~
>> include/linux/soc/mediatek/scpsys-ext.h:35:9: warning: 'struct regmap' declared inside parameter list will not be visible outside of this definition or declaration
     struct regmap *infracfg, struct regmap *smi_common);
            ^~~~~~
   include/linux/soc/mediatek/scpsys-ext.h:37:9: warning: 'struct regmap' declared inside parameter list will not be visible outside of this definition or declaration
     struct regmap *infracfg, struct regmap *smi_common);
            ^~~~~~

vim +/u32 +26 include/linux/soc/mediatek/scpsys-ext.h

    23	
    24	struct bus_prot {
    25		enum regmap_type type;
  > 26		u32 set_ofs;
    27		u32 clr_ofs;
    28		u32 en_ofs;
  > 29		u32 sta_ofs;
    30		u32 mask;
    31		u32 clr_ack_mask;
    32	};
    33	
    34	int mtk_scpsys_ext_set_bus_protection(const struct bus_prot *bp_table,
  > 35		struct regmap *infracfg, struct regmap *smi_common);
    36	int mtk_scpsys_ext_clear_bus_protection(const struct bus_prot *bp_table,
    37		struct regmap *infracfg, struct regmap *smi_common);
    38	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/gzip" (62069 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ