Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp2207902imn; Mon, 1 Aug 2022 15:27:55 -0700 (PDT) X-Google-Smtp-Source: AA6agR4Q9IhoQfjtWvCRUR4bVp7qBbEJfJ3GC8xY/hXIAfi/Wgz05EEEwOsv5hsssUtN02QQu3+B X-Received: by 2002:aa7:de18:0:b0:43d:30e2:d22b with SMTP id h24-20020aa7de18000000b0043d30e2d22bmr15648504edv.224.1659392875583; Mon, 01 Aug 2022 15:27:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659392875; cv=none; d=google.com; s=arc-20160816; b=n9d8IWz2yE2+2DV0cDe0Y8z0X4Jl7MsR2bCmTZ/aKypfEPJkzhgpPNsbfJfPZc7RZ6 p64o/qFrKtekczzZpW5TOg9/sWsgvKA7S040TgdcQ3nLqXx53vIqsk3oJxryEht0Uxxr sV0dX+d3HzQPaXOutvW07yFlbGLTsvmihQMYp9+q57g9Gd2cYUnLm7YRocEIq5TRB116 c8dx5+TB6odF4G0pMcXW/JhY+54h9ZgAGQAB/2SrTtXRyraTWZQpMgUriSNgrDLQuKjO 1youEY/+j2GbrxNaethcmb6omI8AtL8b+ikuKqVrYoN813Ab5a2qyq+Pdd1p4U0/kmrU x7Fw== 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=KffSuNUnthHbGdV8x1mfx4IaofBbFIfOHX+25406tEs=; b=GUReihKGRPWJRhJpvlR5Pjq7jCJr8ptbSTFneG0XkfkOsx7lmR9XpWHjPKEAGpZ0wn Fb3n8CNrSv+8E0g8c1sPBATf+tTV2Tesp5fatWE2itTNHTxX+qxasJ13s+vacPARkwle LxRQ3xrWF5TZTqoeUoeKT3sWBKRASPCz+0tIUkO3csAFgLZYriVuUawrwm1W0g9PZKeK HmMtkhm61gz0z4H5x2ksIpqfcf6wAUI1z+9QrK1VnTZr/287JmdkHvHntmwV7+rF3siv lzwhkRcCQMNhziw1g1gNg8IYLvoLBYVofsezCug7VzEcvqwtuisBeejqWie/6rr58gHQ Zutg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=jzJ9wvtc; 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 bi25-20020a170906a25900b0072ab42da49esi9863297ejb.857.2022.08.01.15.27.30; Mon, 01 Aug 2022 15:27:55 -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=jzJ9wvtc; 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 S234480AbiHAWVz (ORCPT + 99 others); Mon, 1 Aug 2022 18:21:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234322AbiHAWVz (ORCPT ); Mon, 1 Aug 2022 18:21:55 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2AECA2B27D for ; Mon, 1 Aug 2022 15:21:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659392514; x=1690928514; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=UfH+DHt+SfDqvYzGWovR90BoEQp1JLN1BxEU+dw/zT4=; b=jzJ9wvtcoYy18M/ywdmEkejj3R/aQqIo7kb+OQ9L5340m3tVkBPhRWNS noJYfLp9fkkEsqeGrsjzeljMMnTZicSLFx5oZsT2+yB9OI/PTrpACXo8I VTBoNi8Wu/cH50O5O+x5N8BZJI9PMUeD11gtBQbLllA8G8AMI4IwhyJdI y9Yc16mdv8G7jHt65pz/6HwBJRpCs1sQHPhFRBz+ACFiTR12xpzODp44v 8/LZ+ez5RVxcr13O1B2FKVPMXOTezBQkrWAdz8XDreykDnIsTb6z7Gucg EBtDTNY4E8MBSeFIDgN3Hku2/qgRJP539m8D5sDyk/RTWbHfYd5UEfV4V Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10426"; a="289276560" X-IronPort-AV: E=Sophos;i="5.93,209,1654585200"; d="scan'208";a="289276560" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Aug 2022 15:21:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,209,1654585200"; d="scan'208";a="635066192" Received: from lkp-server01.sh.intel.com (HELO e0eace57cfef) ([10.239.97.150]) by orsmga001.jf.intel.com with ESMTP; 01 Aug 2022 15:21:52 -0700 Received: from kbuild by e0eace57cfef with local (Exim 4.96) (envelope-from ) id 1oIdnL-000FQo-2U; Mon, 01 Aug 2022 22:21:51 +0000 Date: Tue, 2 Aug 2022 06:21:15 +0800 From: kernel test robot To: Luiz Augusto von Dentz , linux-bluetooth@vger.kernel.org Cc: kbuild-all@lists.01.org Subject: Re: [PATCH] Bluetooth: L2CAP: Fix l2cap_global_chan_by_psm regression Message-ID: <202208020648.fs6gb987-lkp@intel.com> References: <20220801210609.2183766-1-luiz.dentz@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220801210609.2183766-1-luiz.dentz@gmail.com> X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_NONE 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 Luiz, I love your patch! Perhaps something to improve: [auto build test WARNING on bluetooth-next/master] [also build test WARNING on bluetooth/master linus/master v5.19 next-20220728] [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/Luiz-Augusto-von-Dentz/Bluetooth-L2CAP-Fix-l2cap_global_chan_by_psm-regression/20220802-050647 base: https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git master config: parisc-randconfig-r024-20220801 (https://download.01.org/0day-ci/archive/20220802/202208020648.fs6gb987-lkp@intel.com/config) compiler: hppa-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/075988314335917c0e43d00f6a3a8ef68963b3de git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Luiz-Augusto-von-Dentz/Bluetooth-L2CAP-Fix-l2cap_global_chan_by_psm-regression/20220802-050647 git checkout 075988314335917c0e43d00f6a3a8ef68963b3de # 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=parisc 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/l2cap_core.c:37: In function 'bacmp', inlined from 'l2cap_global_chan_by_psm' at net/bluetooth/l2cap_core.c:2003:15: >> include/net/bluetooth/bluetooth.h:347:16: warning: 'memcmp' specified bound 6 exceeds source size 0 [-Wstringop-overread] 347 | return memcmp(ba1, ba2, sizeof(bdaddr_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vim +/memcmp +347 include/net/bluetooth/bluetooth.h ^1da177e4c3f41 Linus Torvalds 2005-04-16 343 ^1da177e4c3f41 Linus Torvalds 2005-04-16 344 /* Copy, swap, convert BD Address */ f53c20e93612f7 David Herrmann 2013-04-06 345 static inline int bacmp(const bdaddr_t *ba1, const bdaddr_t *ba2) ^1da177e4c3f41 Linus Torvalds 2005-04-16 346 { ^1da177e4c3f41 Linus Torvalds 2005-04-16 @347 return memcmp(ba1, ba2, sizeof(bdaddr_t)); ^1da177e4c3f41 Linus Torvalds 2005-04-16 348 } f53c20e93612f7 David Herrmann 2013-04-06 349 static inline void bacpy(bdaddr_t *dst, const bdaddr_t *src) ^1da177e4c3f41 Linus Torvalds 2005-04-16 350 { ^1da177e4c3f41 Linus Torvalds 2005-04-16 351 memcpy(dst, src, sizeof(bdaddr_t)); ^1da177e4c3f41 Linus Torvalds 2005-04-16 352 } ^1da177e4c3f41 Linus Torvalds 2005-04-16 353 -- 0-DAY CI Kernel Test Service https://01.org/lkp