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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 26E32C433F5 for ; Mon, 18 Apr 2022 23:00:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=rSpikLzcLm7qLAQ5iMfadNYsJIQ0a1flJ98/kr1avwk=; b=M85FW7fZSR4Cli W+QSCD//wn8qkThAq6jxSvflwIHb39O7Sa6a7X2pVDajCpGnqOEFUNl24sNHIiVwU657xaNizsKD2 1mYQC7ekQ76VhhOiM/QLvVfZ/LH0G8hGyddBeap2pKzwmAR0/U4aFAdHUOQLUt2pLXFt+s6BAGNFB FM6q/jS9aIdTRKrxKf8+/G/Ma83MleHt1Rt1dn/Q9P3w+6GsMdQNt0vY+kkY7+CBM5w+xJgSIDVK4 dffYd2x3wxaP2kU0yjEsz9nDu1AgCY0Hty3D5SjMQrUfoLD00ngaJNOzUIYxBdRNAa0ANAktbnJ0G GyB9U7M+azenrlGTr0Wg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ngaKx-000lzA-Pd; Mon, 18 Apr 2022 22:59:15 +0000 Received: from mga09.intel.com ([134.134.136.24]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ngaKr-000lvW-6A; Mon, 18 Apr 2022 22:59:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650322749; x=1681858749; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Qb24R7mKiVGUdMVc7ONgEkmnK/atyRN5jqb3qYtPfig=; b=QX1Fr4LYtggI4TydajiG5CXAOi2x1a3Uuh7SUKGFFq8KW8XTTLe/p1Xh TZ8vN4XJb/z2yFHuD4o8//RctQEkOD/2EyePuFGY86RKfZ+u6rLibCcsV egCOr9LTfys3Wm1zl/qDRZ7WnH2ppgVMLujuZjPtTv+cJNcJlDc3QsFYt BJ4ZpfXmp2OT90M1Ptr/mJfJKOr/KTMZkEjK1PmKj5JUYDiKNRcyqIFH2 90OyUUy9KHCXOXRaiAW/44Hzb4fe6o4Y9VVs51ZMXM2xcY2jEb6Fiuu8Q o5Gx3h1Ujm9laBC8rJS9k+c2hwb22NoldaxLAG9j5AK94qchnftRF1i0w Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10321"; a="263090433" X-IronPort-AV: E=Sophos;i="5.90,271,1643702400"; d="scan'208";a="263090433" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Apr 2022 15:59:07 -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-Disposition: inline In-Reply-To: <20220418164356.3532969-1-trix@redhat.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220418_155909_347065_5DC59BA0 X-CRM114-Status: GOOD ( 13.03 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel