Content-Type: multipart/mixed; boundary="===============4936253164318888250==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH 5/5] powercap/drivers/dtpm: Add dtpm devfreq with energy model support Date: Fri, 26 Nov 2021 09:45:00 +0800 Message-ID: <202111260918.qEJu6uVF-lkp@intel.com> In-Reply-To: <20211124125506.2971069-5-daniel.lezcano@linaro.org> List-Id: --===============4936253164318888250== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Daniel, I love your patch! Perhaps something to improve: [auto build test WARNING on rafael-pm/linux-next] [also build test WARNING on robh/for-next rockchip/for-next v5.16-rc2 next-= 20211125] [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/Daniel-Lezcano/dt-bindings= -Powerzone-new-bindings/20211124-222933 base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git= linux-next config: powerpc-allyesconfig (https://download.01.org/0day-ci/archive/20211= 126/202111260918.qEJu6uVF-lkp(a)intel.com/config) compiler: powerpc-linux-gcc (GCC) 11.2.0 reproduce (this is a W=3D1 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/0day-ci/linux/commit/97f4328cf8894b4f597930342= 27c5a1df91953ed git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Daniel-Lezcano/dt-bindings-Powerzo= ne-new-bindings/20211124-222933 git checkout 97f4328cf8894b4f59793034227c5a1df91953ed # save the config file to linux build tree COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-11.2.0 make.cross= ARCH=3Dpowerpc = If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/powercap/dtpm_devfreq.c:29:22: warning: no previous prototype fo= r 'to_dtpm_devfreq' [-Wmissing-prototypes] 29 | struct dtpm_devfreq *to_dtpm_devfreq(struct dtpm *dtpm) | ^~~~~~~~~~~~~~~ vim +/to_dtpm_devfreq +29 drivers/powercap/dtpm_devfreq.c 28 = > 29 struct dtpm_devfreq *to_dtpm_devfreq(struct dtpm *dtpm) 30 { 31 return container_of(dtpm, struct dtpm_devfreq, dtpm); 32 } 33 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============4936253164318888250==--