From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mslow1.mail.gandi.net (mslow1.mail.gandi.net [217.70.178.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9BD4123A4 for ; Fri, 22 Apr 2022 09:22:57 +0000 (UTC) Received: from relay8-d.mail.gandi.net (unknown [217.70.183.201]) by mslow1.mail.gandi.net (Postfix) with ESMTP id 4CFD6C2FFA for ; Fri, 22 Apr 2022 09:18:06 +0000 (UTC) Received: (Authenticated sender: miquel.raynal@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id CE9851BF210; Fri, 22 Apr 2022 09:17:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1650619078; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mggckCRdpCTXoS+dTfsucqDXNXyDRQ8YZv/6KdqwEIg=; b=Kk8Iry75zaOxB17Jq27o7MNFhFlbkbHcrrqiZmQ/SUFEt/TK4mfpuDFelRuZ7zu8o3SzC1 ZDtjqR23mMttEFOH7FPmjcRjcO7GJOG4RdG0ULM8O5jkK1cvcoxR05IpdPFvPjhMrqGkxv Qk4UEPBOIOg36422Turvr2z14jOiV86x4kU7T1NRCZMkvMuKWpgv7JEnvm0EVP09nuCrD1 dCm8El4vmBYYhhiblNqlCmXcF2I1bf4dVNfugSWmadC2dxX7s7+H+dImdKj7iIJRVXPF9t ZLTj8okONZagu9gR6G4zebAnRiPRrOA8sRE0grdfP/nXZcY0VtLTHHI8X/eAQw== Date: Fri, 22 Apr 2022 11:17:55 +0200 From: Miquel Raynal To: Jean-Marc Eurin Cc: kernel test robot , llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org Subject: Re: [mtd:mtd/next 10/11] drivers/mtd/mtdoops.c:244:39: warning: format specifies type 'long' but the argument has type 'unsigned int' Message-ID: <20220422111755.6b26ea9e@xps13> In-Reply-To: References: <202204212106.9R1ylUB7-lkp@intel.com> <20220421154806.52e1992b@xps13> Organization: Bootlin X-Mailer: Claws Mail 3.17.7 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Jean-Marc, jmeurin@google.com wrote on Thu, 21 Apr 2022 15:22:26 -0700: > On Thu, Apr 21, 2022 at 6:48 AM Miquel Raynal = wrote: > > > > Hi Jean-Marc, > > > > lkp@intel.com wrote on Thu, 21 Apr 2022 21:22:47 +0800: > > =20 > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git= mtd/next > > > head: f812679fab605b3d5b853ed24a81dabb222ea23a > > > commit: 0629fcef16d703d384f76cb2c2c3a119a9149a34 [10/11] mtd: mtdoops= : Create a header structure for the saved mtdoops. > > > config: hexagon-randconfig-r045-20220420 (https://download.01.org/0da= y-ci/archive/20220421/202204212106.9R1ylUB7-lkp@intel.com/config) > > > compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project = bac6cd5bf85669e3376610cfc4c4f9ca015e7b9b) > > > 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://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.g= it/commit/?id=3D0629fcef16d703d384f76cb2c2c3a119a9149a34 > > > git remote add mtd https://git.kernel.org/pub/scm/linux/kerne= l/git/mtd/linux.git > > > git fetch --no-tags mtd mtd/next > > > git checkout 0629fcef16d703d384f76cb2c2c3a119a9149a34 > > > # save the config file > > > mkdir build_dir && cp config build_dir/.config > > > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cros= s W=3D1 O=3Dbuild_dir ARCH=3Dhexagon SHELL=3D/bin/bash drivers/mtd/ > > > > > > If you fix the issue, kindly add following tag as appropriate > > > Reported-by: kernel test robot > > > > > > All warnings (new ones prefixed by >>): > > > =20 > > > >> drivers/mtd/mtdoops.c:244:39: warning: format specifies type 'long= ' but the argument has type 'unsigned int' [-Wformat] =20 > > > page * record_size, retlen, sizeof(= hdr), ret); > > > ^~~~~~~= ~~~~ > > > include/linux/printk.h:446:60: note: expanded from macro 'printk' > > > #define printk(fmt, ...) printk_index_wrap(_printk, fmt, ##__VA_AR= GS__) > > > ~~~ ^~~~~~~= ~~~~ > > > include/linux/printk.h:418:19: note: expanded from macro 'printk_i= ndex_wrap' > > > _p_func(_fmt, ##__VA_ARGS__); = \ > > > ~~~~ ^~~~~~~~~~~ > > > 1 warning generated. =20 > > > > I've dropped the series for now. Please have a look at the reports and > > propose a new version when this is fixed? =20 >=20 > Sorry about that, I had made that change based on this suggestion > https://lore.kernel.org/all/202203310648.it4f2xXD-lkp@intel.com/ :-) Did you verify with > > > # save the config file > > > mkdir build_dir && cp config build_dir/.config > > > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cros= s W=3D1 O=3Dbuild_dir ARCH=3Dhexagon SHELL=3D/bin/bash drivers/mtd/ That the errors were actually gone? You seem to suggest that you didn't :) Thanks, Miqu=C3=A8l