Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp662705pxb; Thu, 21 Apr 2022 07:49:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxC6ChIsIRSFa+V0kzvzl74v1qI/8pFExXsCWiq37OfNZX66aZibPPgCwy3dwrl0Uv2+akh X-Received: by 2002:a17:902:b684:b0:156:80b4:db03 with SMTP id c4-20020a170902b68400b0015680b4db03mr26419213pls.16.1650552584109; Thu, 21 Apr 2022 07:49:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650552584; cv=none; d=google.com; s=arc-20160816; b=cK6WBjVY7ESuenpAyGW354LMFvImT/fFOwW3nd9DJ2ee2Mf7F/kY4H/mWemqQnkyZW XYE615nrk6y5qGFvbRg2yEWj6h+YiSI2380b6wLVQU6uLjeyvP4koNVXaPkZISoDryIY 3G4U2HiqMSh5x+x8E9UCY+fRVDuJmfdz4C5tMH+MKuPJoxCBm65adMF8gqEckj+J2Jrp VwW84avjYczT9zqJQDyFwow8XhqaagvFzHBZ7TL+Jvo36VYyU42V5rnLMPw1EOd8x1KY Ed/ESN/a+wfO7XcFXY6tm59coJHmai3hK+Jzu34ZpEcOzSmvMfGbWUVZlthOrjvL7NP+ OBHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=sdO5Inpr+OGgdL63Lr/11R7ufIomm4qM0ClVy2dNYTM=; b=r51yGpys6LccSkX2MhY+yHU8Qy/c2N4mzEFiafGEXkCnPtONjv/TAsFPyAK6wKETL/ 0uyqYvDzxSYy9S43sFb53G5n6jr2tHnGu7F6YDQy/gFfCXgzIkbI3yOR+oABbwkkOYUq XuWPpULE1K6aniiQkNfI+aQamUzSGWJsMc3GPP55yUrvCnkwsdJkzRRV6cRM78ITsbgO T/bLD603IyFAZ3BhUu5GTpIyH8bfbruFjswcXPHSrquo3iKYSi6NLp7/qXnCNIxhSuFC EfpcxRfDNqOICdmbHRiuDH51xFz11oqz66xeMaOq74xBsVEEY3lTVf8BWrN5uav88T4y hN5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Ftd53XdM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 63-20020a630542000000b003aaa48153a3si873171pgf.364.2022.04.21.07.49.28; Thu, 21 Apr 2022 07:49:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=Ftd53XdM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S234182AbiDRXBt (ORCPT + 99 others); Mon, 18 Apr 2022 19:01:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234163AbiDRXBr (ORCPT ); Mon, 18 Apr 2022 19:01:47 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E9752D1F4 for ; Mon, 18 Apr 2022 15:59:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650322747; x=1681858747; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Qb24R7mKiVGUdMVc7ONgEkmnK/atyRN5jqb3qYtPfig=; b=Ftd53XdM506ufa/F6uWwdt+xR7/ORgUXrHKlQYGkIMhBrXlXlvba0wc+ 4XtXtTlOoZxnv9+NBvQl1UjuO9XiRLZdQ+JpEpZxYcV5WFZLNovc5k8JS 8Nfvc9rNC9gnIrCmg9rSEXDWI0QBcyzOpz+qZCdZz+YCWF50qVzWco83E Xa0Z90LdRUdPssbqpCsA4oHC+6tPCtOxjB54nFvr/kRilwQBpCA3okXDz IQqqL2yNm3cxeURjwRsm0NC6AENM/8fvTiArgtjqSSvhorc51633JWRz5 ps1bjNNadAp9kS7N6ikw0ZpDXukJUhgPv0IG2ycfNLeBgF5sdxtX8zMnh A==; X-IronPort-AV: E=McAfee;i="6400,9594,10321"; a="243560840" X-IronPort-AV: E=Sophos;i="5.90,271,1643702400"; d="scan'208";a="243560840" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Apr 2022 15:59:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,271,1643702400"; d="scan'208";a="647033809" Received: from lkp-server01.sh.intel.com (HELO 3abc53900bec) ([10.239.97.150]) by FMSMGA003.fm.intel.com with ESMTP; 18 Apr 2022 15:59:04 -0700 Received: from kbuild by 3abc53900bec with local (Exim 4.95) (envelope-from ) id 1ngaKl-00054C-98; Mon, 18 Apr 2022 22:59:03 +0000 Date: Tue, 19 Apr 2022 06:58:34 +0800 From: kernel test robot To: Tom Rix , nsaenz@kernel.org, bcm-kernel-feedback-list@broadcom.com, gregkh@linuxfoundation.org, stefan.wahren@i2se.com, gascoar@gmail.com, ojaswin98@gmail.com Cc: kbuild-all@lists.01.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Tom Rix Subject: Re: [PATCH] staging: vchiq_arm: change vchiq_platform_init from global to static Message-ID: <202204190650.yy0x0YCl-lkp@intel.com> References: <20220418164356.3532969-1-trix@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220418164356.3532969-1-trix@redhat.com> User-Agent: Mutt/1.10.1 (2018-07-13) 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_PASS,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-kernel@vger.kernel.org Hi Tom, I love your patch! Perhaps something to improve: [auto build test WARNING on staging/staging-testing] url: https://github.com/intel-lab-lkp/linux/commits/Tom-Rix/staging-vchiq_arm-change-vchiq_platform_init-from-global-to-static/20220419-004611 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git bed6d200f8ca38e1ecbdd8fb7e0564884002abd1 config: sparc-randconfig-c004-20220417 (https://download.01.org/0day-ci/archive/20220419/202204190650.yy0x0YCl-lkp@intel.com/config) compiler: sparc64-linux-gcc (GCC) 11.2.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/192ca8cdfd692f17162557c64e8d533c816eccff git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Tom-Rix/staging-vchiq_arm-change-vchiq_platform_init-from-global-to-static/20220419-004611 git checkout 192ca8cdfd692f17162557c64e8d533c816eccff # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=sparc SHELL=/bin/bash drivers/staging/vc04_services/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): In file included from include/linux/string.h:20, from include/linux/bitmap.h:11, from include/linux/cpumask.h:12, from include/linux/mm_types_task.h:14, from include/linux/mm_types.h:5, from include/linux/buildid.h:5, from include/linux/module.h:14, from drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c:8: In function 'memcpy_to_page', inlined from 'free_pagelist' at drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c:434:4: >> arch/sparc/include/asm/string.h:15:25: warning: argument 2 null where non-null expected [-Wnonnull] 15 | #define memcpy(t, f, n) __builtin_memcpy(t, f, n) | ^~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/highmem.h:353:9: note: in expansion of macro 'memcpy' 353 | memcpy(to + offset, from, len); | ^~~~~~ drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c: In function 'free_pagelist': arch/sparc/include/asm/string.h:15:25: note: in a call to built-in function '__builtin_memcpy' 15 | #define memcpy(t, f, n) __builtin_memcpy(t, f, n) | ^~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/highmem.h:353:9: note: in expansion of macro 'memcpy' 353 | memcpy(to + offset, from, len); | ^~~~~~ In function 'memcpy_to_page', inlined from 'free_pagelist' at drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c:441:4: arch/sparc/include/asm/string.h:15:25: warning: '__builtin_memcpy' offset 0 is out of the bounds [0, 0] [-Warray-bounds] 15 | #define memcpy(t, f, n) __builtin_memcpy(t, f, n) | ^~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/highmem.h:353:9: note: in expansion of macro 'memcpy' 353 | memcpy(to + offset, from, len); | ^~~~~~ vim +15 arch/sparc/include/asm/string.h 70a6fcf3283a0a Al Viro 2016-01-17 13 70a6fcf3283a0a Al Viro 2016-01-17 14 #define __HAVE_ARCH_MEMCPY 70a6fcf3283a0a Al Viro 2016-01-17 @15 #define memcpy(t, f, n) __builtin_memcpy(t, f, n) 70a6fcf3283a0a Al Viro 2016-01-17 16 -- 0-DAY CI Kernel Test Service https://01.org/lkp