Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp1724498rdb; Sat, 10 Feb 2024 14:56:58 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXd+PGqWcngbqxujoT1bXUrlBr31Q1BR1DuHaFJzlC3uEcOoxJwtpRfq7V0WpwXXzpdbd0hC1R6XifKqn3oiernop8l8Dk+3WzL9y+Qrw== X-Google-Smtp-Source: AGHT+IG+9JjYKySwRujvcmFp9MhmsHwt3SEU3r0XHE0E0FycNGwLms5WyCNtqAAP1Da2RIZKc0VG X-Received: by 2002:a05:620a:36f6:b0:783:2a45:8329 with SMTP id cz54-20020a05620a36f600b007832a458329mr3020496qkb.76.1707605818213; Sat, 10 Feb 2024 14:56:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707605818; cv=pass; d=google.com; s=arc-20160816; b=Mcig8oLL97SEROHyPieSPL9Us6+WHMdRAHDO67LkZ1glo9ajSZQiCiwqNYEghD+Aor wlwRzc6MsWEvz3r0fyPBJDj6Zn6YryTRoV6fNzeChT06+xbI59YIEz3O9neUx4Wi0Iag 7REsPrGnfQmRUVwD1z+qDcJcxzmlnx47AgG/J/iSg0QE7sRUkZXJuR6rVG5Dt5+xD/qp zpwJAvuSTdm50cmurEU34aVpC/XhTk+I5yFipKT4e7oQAX9mYFh28OrGC02u89UWkLHz HaesJ/P3zn0vpqw0iTNHZuptWuP9c/BdFOi+gQcS0iL8It6HocfeTGZxSUGK54zzZD6i Iz3Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=N80dfpH6hQiUXFsInCyt6fa8Gz2zeIxvbuXJx3PNVnk=; fh=Yy+GfhRPi49OIDVk3/AbF/4zBXEOoAuUiVjpg2cDW8k=; b=qRdQPV46nP3gDMm7TkGvMnX+EyBO4MD5JzjpyhAqLjNsNcwDVZhb60VIHOsQkv7QFC E7nVU1M36BC8bGQhsKTJzbIN3Vlg3ryeaQMrSkQoPT6rnqXaKqUuzpjpIBwYMnjHXt9r KAPcCosS9EXZ+tk6ivfaID16/TFSiN7QIZDRnRvOEb1eVYtf4fW3ruuiF8l4mNPfPrbc qRvgoSR2x8tCPCcOiaSWrrU5doqYOO0KEvR9mXlELOvQKSTjTNPW0Sl9knPnUF0LCDyT dwXtA6Yg0stDA1omSC5zpXrpBbnmoSTmk0PHghoI11lJBsf/3JN5oFCnDwFn0CN01wp1 oykQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="jH4Az/Oq"; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-60574-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60574-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Forwarded-Encrypted: i=2; AJvYcCUanDjCw/iwGwKbtW1qtni/IkvU/zeZByaD/zWz6gShXJTkomAk2R7sNvY8hrliicoIJLSJa3MUx5uhyGqT8Qfvu+JtwIEcVfNyD1/H7w== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id v17-20020a05620a091100b007833b4ab570si2536552qkv.647.2024.02.10.14.56.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Feb 2024 14:56:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60574-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="jH4Az/Oq"; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-60574-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60574-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id F12631C21E94 for ; Sat, 10 Feb 2024 22:56:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A5B9A5FEF1; Sat, 10 Feb 2024 22:56:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="jH4Az/Oq" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 646E55FDDA for ; Sat, 10 Feb 2024 22:56:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.9 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707605806; cv=none; b=NJILBkoUo/l39yk6e7L90TGeFFTBLVAPyRgS4rYez5mbWtmktEo7AEjqPGchar19iZp4ipjvZFiLeIdwRcvEdiaaM8KkXGhZb1KVi9AHu2b9ilHGKPXFNtVm3QJoMDAHgOklhDRlWPvz/ftd33yd7EN+xf3OLOasxU6aCQk1C2M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707605806; c=relaxed/simple; bh=kznykOs2boAsIDcRBVKJBzW2mUxpRYIaGPtEKyKzJRQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=r7WovdPgRy86eYfLXh5QgEsb897LAqenIOhfJjj0Pd4VSxQXzb6Ms9iMhIQ/hQFjhBLqdqnpYjEIrBCLPnPy2opyZqMoHnveNOWg4bF1poDNYKmIbDkdXnONbOhRQTRnTB1+gjaPkJ1qfEQ8YpfkpPJpMi6/3Q/23Z9mfWT8zY8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=jH4Az/Oq; arc=none smtp.client-ip=192.198.163.9 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1707605804; x=1739141804; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=kznykOs2boAsIDcRBVKJBzW2mUxpRYIaGPtEKyKzJRQ=; b=jH4Az/OqQKUtvi23vWkBn1rqXRb5zCcaq4JVwZrFo/LjTogrmXLhfdj8 G0dzTeHuojrIHfpI8k1pRwlQ5V/BqoO1QjlwgJP9OubBHU/sGEC4jHSp0 eUgOd0k50udU2l9nDaKrwdFVWLdi1a00CWgvi0ypQCyvbcXG5hHjoNTH1 X90T9MCsbrrhgj/54IkqBdX6V2CYbF5LBg5zWlxg6iweCeOIeLDtO1d9r y8l5tLiBmpx4Cb0uF9JcZZcHshmJ3NHAerKyz1ombmJB6Rc3fzhfY0sG1 SrGqjK10tVse6zGmM5Ln0nwRu3IVBlPGA6q6VfvkaxRbak0QXVQZzTSe/ g==; X-IronPort-AV: E=McAfee;i="6600,9927,10980"; a="12322143" X-IronPort-AV: E=Sophos;i="6.05,259,1701158400"; d="scan'208";a="12322143" Received: from fmviesa006.fm.intel.com ([10.60.135.146]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Feb 2024 14:56:43 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,259,1701158400"; d="scan'208";a="2548626" Received: from lkp-server01.sh.intel.com (HELO 01f0647817ea) ([10.239.97.150]) by fmviesa006.fm.intel.com with ESMTP; 10 Feb 2024 14:56:40 -0800 Received: from kbuild by 01f0647817ea with local (Exim 4.96) (envelope-from ) id 1rYwH0-00069a-13; Sat, 10 Feb 2024 22:56:38 +0000 Date: Sun, 11 Feb 2024 06:56:04 +0800 From: kernel test robot To: "Ricardo B. Marliere" , Michael Ellerman , Nicholas Piggin , Christophe Leroy , "Aneesh Kumar K.V" , "Naveen N. Rao" Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman , "Ricardo B. Marliere" Subject: Re: [PATCH 4/4] powerpc: ibmebus: make ibmebus_bus_type const Message-ID: <202402110615.H1X3DSiC-lkp@intel.com> References: <20240209-bus_cleanup-powerpc2-v1-4-79a56dcaebb1@marliere.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240209-bus_cleanup-powerpc2-v1-4-79a56dcaebb1@marliere.net> Hi Ricardo, kernel test robot noticed the following build errors: [auto build test ERROR on 41bccc98fb7931d63d03f326a746ac4d429c1dd3] url: https://github.com/intel-lab-lkp/linux/commits/Ricardo-B-Marliere/powerpc-vio-move-device-attributes-into-a-new-ifdef/20240210-080925 base: 41bccc98fb7931d63d03f326a746ac4d429c1dd3 patch link: https://lore.kernel.org/r/20240209-bus_cleanup-powerpc2-v1-4-79a56dcaebb1%40marliere.net patch subject: [PATCH 4/4] powerpc: ibmebus: make ibmebus_bus_type const config: powerpc-allyesconfig (https://download.01.org/0day-ci/archive/20240211/202402110615.H1X3DSiC-lkp@intel.com/config) compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project ac0577177f053ba7e7016e1b7e44cf5932d00b03) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240211/202402110615.H1X3DSiC-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202402110615.H1X3DSiC-lkp@intel.com/ All errors (new ones prefixed by >>): >> arch/powerpc/platforms/pseries/ibmebus.c:58:17: error: redefinition of 'ibmebus_bus_type' with a different type: 'struct bus_type' vs 'const struct bus_type' 58 | struct bus_type ibmebus_bus_type; | ^ arch/powerpc/include/asm/ibmebus.h:51:30: note: previous declaration is here 51 | extern const struct bus_type ibmebus_bus_type; | ^ arch/powerpc/platforms/pseries/ibmebus.c:134:17: warning: shift count >= width of type [-Wshift-count-overflow] 134 | return mask == DMA_BIT_MASK(64); | ^~~~~~~~~~~~~~~~ include/linux/dma-mapping.h:77:54: note: expanded from macro 'DMA_BIT_MASK' 77 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) | ^ ~~~ arch/powerpc/platforms/pseries/ibmebus.c:139:9: warning: shift count >= width of type [-Wshift-count-overflow] 139 | return DMA_BIT_MASK(64); | ^~~~~~~~~~~~~~~~ include/linux/dma-mapping.h:77:54: note: expanded from macro 'DMA_BIT_MASK' 77 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) | ^ ~~~ 2 warnings and 1 error generated. vim +58 arch/powerpc/platforms/pseries/ibmebus.c d7a301033f1990 arch/powerpc/kernel/ibmebus.c Heiko J Schick 2005-11-16 57 6bccf755ff5324 arch/powerpc/kernel/ibmebus.c Joachim Fenkes 2007-03-09 @58 struct bus_type ibmebus_bus_type; 6bccf755ff5324 arch/powerpc/kernel/ibmebus.c Joachim Fenkes 2007-03-09 59 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki