From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 45C8AC00140 for ; Fri, 12 Aug 2022 19:00:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239136AbiHLTAA (ORCPT ); Fri, 12 Aug 2022 15:00:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238125AbiHLS77 (ORCPT ); Fri, 12 Aug 2022 14:59:59 -0400 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D594E792C3; Fri, 12 Aug 2022 11:59:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1660330797; x=1691866797; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=4Ow1W24xlj9rqqWThweUCQ6rtXxfqSuZQ7o+V2zW394=; b=geHbo7czP3E1deKqquocTkOiLa4hYQC7VyL2sd5rRLrGcjSuWPcZRZd5 x1neq6P0K68MqRps0UiaNXpbjEiwHWk9DNI1Imv8cNz1207nNBvApQp24 5dmq8MIslc3JX30eX6i57qXREe+jCfhlVlomFIlQIsc6AZbRKiKvC/iDP 8dwltM9J1iAQD1SDwwamHr515TpenV1jUO4fgno9S9JQzwbsV/FMHEN2V kz3ysRUHlJoZ4omjRf6JXcL9R58TktaPyA3OVBiSttsBmLCHCCg8xiFJP iJ+Ga+VWyBQNBf/4xxPcyByAUy/R+gUM2eEYg6w0XT4w15kcPsoqz32pp w==; X-IronPort-AV: E=McAfee;i="6400,9594,10437"; a="292934092" X-IronPort-AV: E=Sophos;i="5.93,233,1654585200"; d="scan'208";a="292934092" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Aug 2022 11:59:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,233,1654585200"; d="scan'208";a="695362258" Received: from lkp-server02.sh.intel.com (HELO 8745164cafc7) ([10.239.97.151]) by FMSMGA003.fm.intel.com with ESMTP; 12 Aug 2022 11:59:52 -0700 Received: from kbuild by 8745164cafc7 with local (Exim 4.96) (envelope-from ) id 1oMZsu-0000qF-01; Fri, 12 Aug 2022 18:59:52 +0000 Date: Sat, 13 Aug 2022 02:59:20 +0800 From: kernel test robot To: Manish Mandlik , Arend van Spriel , Greg Kroah-Hartman , marcel@holtmann.org, luiz.dentz@gmail.com Cc: kbuild-all@lists.01.org, Johannes Berg , Dan Williams , Jason Gunthorpe , "Signed-off-by : Manish Mandlik" , linux-bluetooth@vger.kernel.org, Thomas Gleixner , "Rafael J . Wysocki" , chromeos-bluetooth-upstreaming@chromium.org, Won Chung , Abhishek Pandit-Subedi , Eric Dumazet , Jakub Kicinski , Johan Hedberg , Paolo Abeni , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH v5 3/5] Bluetooth: Add support for hci devcoredump Message-ID: <202208130238.wyNvbcE7-lkp@intel.com> References: <20220810085753.v5.3.Iaf638bb9f885f5880ab1b4e7ae2f73dd53a54661@changeid> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220810085753.v5.3.Iaf638bb9f885f5880ab1b4e7ae2f73dd53a54661@changeid> Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Manish, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on bluetooth/master] [also build test WARNING on bluetooth-next/master driver-core/driver-core-testing linus/master next-20220812] [cannot apply to v5.19] [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#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Manish-Mandlik/sysfs-Add-attribute-info-for-sys-devices-coredump_disabled/20220811-000313 base: https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git master config: loongarch-randconfig-r022-20220811 (https://download.01.org/0day-ci/archive/20220813/202208130238.wyNvbcE7-lkp@intel.com/config) compiler: loongarch64-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 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/intel-lab-lkp/linux/commit/6fe2192077ebdca91aef91e907f79d9e38960a21 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Manish-Mandlik/sysfs-Add-attribute-info-for-sys-devices-coredump_disabled/20220811-000313 git checkout 6fe2192077ebdca91aef91e907f79d9e38960a21 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=loongarch SHELL=/bin/bash net/bluetooth/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): In file included from net/bluetooth/coredump.c:8: net/bluetooth/coredump.c: In function 'hci_devcoredump_rx': >> include/net/bluetooth/bluetooth.h:255:17: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 255 | BT_INFO("%s: " fmt, bt_dev_name(hdev), ##__VA_ARGS__) | ^~~~~~ include/net/bluetooth/bluetooth.h:242:41: note: in definition of macro 'BT_INFO' 242 | #define BT_INFO(fmt, ...) bt_info(fmt "\n", ##__VA_ARGS__) | ^~~ net/bluetooth/coredump.c:298:25: note: in expansion of macro 'bt_dev_info' 298 | bt_dev_info(hdev, | ^~~~~~~~~~~ >> include/net/bluetooth/bluetooth.h:255:17: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 255 | BT_INFO("%s: " fmt, bt_dev_name(hdev), ##__VA_ARGS__) | ^~~~~~ include/net/bluetooth/bluetooth.h:242:41: note: in definition of macro 'BT_INFO' 242 | #define BT_INFO(fmt, ...) bt_info(fmt "\n", ##__VA_ARGS__) | ^~~ net/bluetooth/coredump.c:317:25: note: in expansion of macro 'bt_dev_info' 317 | bt_dev_info(hdev, | ^~~~~~~~~~~ net/bluetooth/coredump.c: In function 'hci_devcoredump_timeout': >> include/net/bluetooth/bluetooth.h:255:17: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 255 | BT_INFO("%s: " fmt, bt_dev_name(hdev), ##__VA_ARGS__) | ^~~~~~ include/net/bluetooth/bluetooth.h:242:41: note: in definition of macro 'BT_INFO' 242 | #define BT_INFO(fmt, ...) bt_info(fmt "\n", ##__VA_ARGS__) | ^~~ net/bluetooth/coredump.c:364:9: note: in expansion of macro 'bt_dev_info' 364 | bt_dev_info(hdev, "Devcoredump timeout with size %u (expect %u)", | ^~~~~~~~~~~ vim +255 include/net/bluetooth/bluetooth.h 9b392e0e0b6d02 Luiz Augusto von Dentz 2022-03-03 253 6f558b70fb39fc Loic Poulain 2015-08-30 254 #define bt_dev_info(hdev, fmt, ...) \ 9b392e0e0b6d02 Luiz Augusto von Dentz 2022-03-03 @255 BT_INFO("%s: " fmt, bt_dev_name(hdev), ##__VA_ARGS__) 594b31ea7dc610 Frederic Danis 2015-09-23 256 #define bt_dev_warn(hdev, fmt, ...) \ 9b392e0e0b6d02 Luiz Augusto von Dentz 2022-03-03 257 BT_WARN("%s: " fmt, bt_dev_name(hdev), ##__VA_ARGS__) 6f558b70fb39fc Loic Poulain 2015-08-30 258 #define bt_dev_err(hdev, fmt, ...) \ 9b392e0e0b6d02 Luiz Augusto von Dentz 2022-03-03 259 BT_ERR("%s: " fmt, bt_dev_name(hdev), ##__VA_ARGS__) 6f558b70fb39fc Loic Poulain 2015-08-30 260 #define bt_dev_dbg(hdev, fmt, ...) \ 9b392e0e0b6d02 Luiz Augusto von Dentz 2022-03-03 261 BT_DBG("%s: " fmt, bt_dev_name(hdev), ##__VA_ARGS__) 6f558b70fb39fc Loic Poulain 2015-08-30 262 -- 0-DAY CI Kernel Test Service https://01.org/lkp