Content-Type: multipart/mixed; boundary="===============7610908174905139136==" MIME-Version: 1.0 From: Hans de Goede To: kbuild-all@lists.01.org Subject: Re: [PATCH v3] pinctrl: baytrail: Clear direct_irq_en flag on broken configs Date: Wed, 12 Jan 2022 20:58:00 +0100 Message-ID: In-Reply-To: <202201090203.kgCw6bSd-lkp@intel.com> List-Id: --===============7610908174905139136== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi, On 1/8/22 19:54, kernel test robot wrote: > Hi Hans, > = > I love your patch! Perhaps something to improve: > = > [auto build test WARNING on linusw-pinctrl/devel] > [also build test WARNING on v5.16-rc8 next-20220107] > [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/Hans-de-Goede/pinctrl-ba= ytrail-Clear-direct_irq_en-flag-on-broken-configs/20220108-074637 > base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinc= trl.git devel > config: i386-randconfig-c001-20220107 (https://download.01.org/0day-ci/ar= chive/20220109/202201090203.kgCw6bSd-lkp(a)intel.com/config) > compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project f3a3= 44d2125fa37e59bae1b0874442c650a19607) > reproduce (this is a W=3D1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbi= n/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # https://github.com/0day-ci/linux/commit/fc9eb527f62b0bebde64745= ec5b0a838fde7ef41 > git remote add linux-review https://github.com/0day-ci/linux > git fetch --no-tags linux-review Hans-de-Goede/pinctrl-baytrail-C= lear-direct_irq_en-flag-on-broken-configs/20220108-074637 > git checkout fc9eb527f62b0bebde64745ec5b0a838fde7ef41 > # save the config file to linux build tree > mkdir build_dir > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cross W= =3D1 O=3Dbuild_dir ARCH=3Di386 SHELL=3D/bin/bash drivers/pinctrl/intel/ > = > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > = > All warnings (new ones prefixed by >>): > = >>> drivers/pinctrl/intel/pinctrl-baytrail.c:1483:58: warning: format speci= fies type 'long' but the argument has type 'int' [-Wformat] > dev_dbg(vg->dev, "Pin %i: uses direct IRQ %ld\n", pin,= match - direct_irq); > ~~~ = ^~~~~~~~~~~~~~~~~~ > %d > include/linux/dev_printk.h:163:47: note: expanded from macro 'dev_dbg' > dev_printk(KERN_DEBUG, dev, dev_fmt(fmt), ##__VA_ARGS_= _); \ > ~~~ ^~~~~~~~~~~ > include/linux/dev_printk.h:129:34: note: expanded from macro 'dev_prin= tk' > _dev_printk(level, dev, fmt, ##__VA_ARGS__); = \ > ~~~ ^~~~~~~~~~~ > 1 warning generated. Hmm, ok. so x86_64 needs a %ld for the pointer arithmic result on i386 need= s a %d without the 'l' what fun. I'll just store it in a temp int variable in the = next version. I need to do a new version anyways since I ended up going down a bit of a r= abithole wrt the direct IRQ stuff and I now finally completely understand how this a= ll works including how the trigger bits in the pinctrl work together with the ones i= n the IO-APIC. See the next version of this patch for details. Regards, Hans --===============7610908174905139136==--