Content-Type: multipart/mixed; boundary="===============3028845405821614024==" MIME-Version: 1.0 From: kbuild test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH v2] pwm: Enable compile testing for some of drivers Date: Mon, 09 Mar 2020 06:05:27 +0800 Message-ID: <202003090655.idrbPxaq%lkp@intel.com> In-Reply-To: <20200303202447.4245-1-krzk@kernel.org> List-Id: --===============3028845405821614024== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Krzysztof, I love your patch! Perhaps something to improve: [auto build test WARNING on pwm/for-next] [also build test WARNING on v5.6-rc4 next-20200306] [if your patch is applied to the wrong git tree, please drop us a note to h= elp 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/37406= 982] url: https://github.com/0day-ci/linux/commits/Krzysztof-Kozlowski/pwm-En= able-compile-testing-for-some-of-drivers/20200304-050211 base: https://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linu= x-pwm.git for-next If you fix the issue, kindly add following tag Reported-by: kbuild test robot smatch warnings: drivers/pwm/pwm-meson.c:139 meson_pwm_request() warn: inconsistent indenting vim +139 drivers/pwm/pwm-meson.c 211ed630753d2f Neil Armstrong 2016-08-22 119 = 211ed630753d2f Neil Armstrong 2016-08-22 120 static int meson_pwm_re= quest(struct pwm_chip *chip, struct pwm_device *pwm) 211ed630753d2f Neil Armstrong 2016-08-22 121 { 1064c6bacedd70 Martin Blumenstingl 2019-06-12 122 struct meson_pwm *meso= n =3D to_meson_pwm(chip); 1064c6bacedd70 Martin Blumenstingl 2019-06-12 123 struct meson_pwm_chann= el *channel; 211ed630753d2f Neil Armstrong 2016-08-22 124 struct device *dev =3D= chip->dev; 211ed630753d2f Neil Armstrong 2016-08-22 125 int err; 211ed630753d2f Neil Armstrong 2016-08-22 126 = 1064c6bacedd70 Martin Blumenstingl 2019-06-12 127 channel =3D pwm_get_ch= ip_data(pwm); 1064c6bacedd70 Martin Blumenstingl 2019-06-12 128 if (channel) 1064c6bacedd70 Martin Blumenstingl 2019-06-12 129 return 0; 1064c6bacedd70 Martin Blumenstingl 2019-06-12 130 = 1064c6bacedd70 Martin Blumenstingl 2019-06-12 131 channel =3D &meson->ch= annels[pwm->hwpwm]; 211ed630753d2f Neil Armstrong 2016-08-22 132 = 211ed630753d2f Neil Armstrong 2016-08-22 133 if (channel->clk_paren= t) { 211ed630753d2f Neil Armstrong 2016-08-22 134 err =3D clk_set_paren= t(channel->clk, channel->clk_parent); 211ed630753d2f Neil Armstrong 2016-08-22 135 if (err < 0) { 211ed630753d2f Neil Armstrong 2016-08-22 136 dev_err(dev, "failed= to set parent %s for %s: %d\n", 211ed630753d2f Neil Armstrong 2016-08-22 137 __clk_get_name(chan= nel->clk_parent), 211ed630753d2f Neil Armstrong 2016-08-22 138 __clk_get_name(chan= nel->clk), err); 211ed630753d2f Neil Armstrong 2016-08-22 @139 return err; 211ed630753d2f Neil Armstrong 2016-08-22 140 } 211ed630753d2f Neil Armstrong 2016-08-22 141 } 211ed630753d2f Neil Armstrong 2016-08-22 142 = 211ed630753d2f Neil Armstrong 2016-08-22 143 err =3D clk_prepare_en= able(channel->clk); 211ed630753d2f Neil Armstrong 2016-08-22 144 if (err < 0) { 211ed630753d2f Neil Armstrong 2016-08-22 145 dev_err(dev, "failed = to enable clock %s: %d\n", 211ed630753d2f Neil Armstrong 2016-08-22 146 __clk_get_name(chann= el->clk), err); 211ed630753d2f Neil Armstrong 2016-08-22 147 return err; 211ed630753d2f Neil Armstrong 2016-08-22 148 } 211ed630753d2f Neil Armstrong 2016-08-22 149 = 1064c6bacedd70 Martin Blumenstingl 2019-06-12 150 return pwm_set_chip_da= ta(pwm, channel); 211ed630753d2f Neil Armstrong 2016-08-22 151 } 211ed630753d2f Neil Armstrong 2016-08-22 152 = :::::: The code at line 139 was first introduced by commit :::::: 211ed630753d2f0553ff642346e9995503bc240d pwm: Add support for Meson = PWM Controller :::::: TO: Neil Armstrong :::::: CC: Thierry Reding --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============3028845405821614024==--