Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2100492rwb; Fri, 12 Aug 2022 12:03:35 -0700 (PDT) X-Google-Smtp-Source: AA6agR5jQnuiJkN1w6EsnRcz4lvn+Zj/HNl/oVf4CF0sHQfUGZRgfpX4wbJQSZBv/X9pOZmduEb/ X-Received: by 2002:a17:907:7f90:b0:733:e6d:b452 with SMTP id qk16-20020a1709077f9000b007330e6db452mr3494697ejc.759.1660331015306; Fri, 12 Aug 2022 12:03:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660331015; cv=none; d=google.com; s=arc-20160816; b=XbbQ+WEu8Wuc5UVOCPh2OlXDtPPOmSLGQ0Fr+hRp9Ts0HIUTHG1FYyeuaoqTKcEJep bwYuEdY7FImRzpH0gx83aWE2Sc6fNBM45CQmJ8aFUFqde7gF5+jrODvdkZyKsw60UFDA fnL9XwtfPFMYopw4d4HVLyPAec1WnZ0VBcDrzzxuz12Xs4GGjNprQdEzSeDKzmG2TXfQ /lahj/wVEovkAsz9JsEswV5S0G8ntVRxYHEc64GczgsNJguqTP3Ebfku0mKYolfXAjBa So62Rxa81TICS/+GaxxKthD24u7FDzcu2Sphmf/aqLqYhV1DBZ1WhrSUQTONrbsP9bRT 6ZKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=b7cxEkzuaU2u5g9YW1/pz5QpjYbadBck/FOMAoqPC6k=; b=AqpmR2McQkkOp/nwu/QEskGb82t7oq/Z4AUDscm50ec9UmXduMRW0EliM9fByjkPcC AIvsdBla8cUYfJwP4ywgBDHGp3Pt+Q6eLMpOMVcr274k0hi9MRZXuLaS2pP4VceJ+map 9CAhyqgQ1V33qG0vnf2Up4TaEutWnW6Fgq8+7yarg2fmCF+/1qOzxsBuvNcxN46U6VO8 QPdoC/PZAc3rB+uAjDj9phLqk0kLtesARN2gnDjDnPs7nfO2DE+2PCRgWMimug8BWKBr 3WZCQS+t39AOHkf8LPoGbTn+pgzz58BsxxB4kuHSx54MYTicwGbpOHfHE2vDnAgmWqv2 /YhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=geHbo7cz; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qb34-20020a1709077ea200b007317ad28001si3021465ejc.812.2022.08.12.12.03.00; Fri, 12 Aug 2022 12:03:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=geHbo7cz; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239054AbiHLTAA (ORCPT + 99 others); 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> X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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