From patchwork Wed May 8 15:15:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 13658870 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 3D289C19F4F for ; Wed, 8 May 2024 15:16:39 +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:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=5nmPEf4qJyoYfhN4nLaKXotMAzlp7oNWTg+AVL/lIvQ=; b=u/F9mhBPj0q/do 9dQldxH12rvGErxiNLte7V3PuXs+MFcMlhbeC7LBgk56n0aBQZP3fHBKrKcnQpx9JrSF6LLxJ3SQb jAR8kdn3VqBge8h6ha3//Kz/A/pD+vMZ2SOWnfdgTlynFY1cSth+T+LhlVDWM8G3QSeVLhDJxWrM3 0C1tmmmMSZXftbPoLgwDvIAkZ0EM7SGnTgIyzB3zV6fSgchVgV+F8dLWVIJ+/iDhZDbdW2cPJBImQ XLGIY4SgPuEihJT21MWDqark0s6ovJe6d0zBiiv8VUlv/9MClL7BdS6VqLFUKnV96MKhxVtxKfSDa TGzdu04EVtZ+X2x/xdAQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s4j1t-0000000FyfK-2AYW; Wed, 08 May 2024 15:16:25 +0000 Received: from mgamail.intel.com ([192.198.163.7]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s4j1k-0000000FyeR-2mMe for linux-arm-kernel@lists.infradead.org; Wed, 08 May 2024 15:16:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1715181376; x=1746717376; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=GJHyfriAJ+2dh/Ob1lOUkuQOQ46DKIhb28y6AMB6bOs=; b=QjwYpUQ2yedKWKhZ7SrPUKo7mQeHkK5Rv4V4cRN6zfEMee4201D3B7t9 xVCMS2XX/1pHGzicmgY2Bjo261ClAajJ/AzzuDrISlJvCxnLSPkRdF26A cjHlZlt6J83qAt7+WrOAswLC3+oiL+XCxlItnI0LBg8ejWTsQkm99RTEb BG9VnJhPSXb2IdaGpZ0KOxCRA+NGYzcHO/ofCQN9LVgcaDs0VPfvKLKpf 2C3nZpJYU755sceMgBSO1faomqfi9fhJHl+G+D4MFayaKPcpr4kcIuTN2 1vEM1DJHwNOGfIyr7h+wab9ulOGrlZHTh35cj3JEfwAQ0rWzOiUDjx4Rz A==; X-CSE-ConnectionGUID: briB/YxIRU2LoLQMado0HQ== X-CSE-MsgGUID: tRRS6qI+QJKAq57iijp+RQ== X-IronPort-AV: E=McAfee;i="6600,9927,11067"; a="36428856" X-IronPort-AV: E=Sophos;i="6.08,145,1712646000"; d="scan'208";a="36428856" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 May 2024 08:16:16 -0700 X-CSE-ConnectionGUID: R/TiqnD2RSiq69yyjRRV7g== X-CSE-MsgGUID: lD/Jjg2oRBihEhH86y3AxQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,145,1712646000"; d="scan'208";a="28802995" Received: from black.fi.intel.com ([10.237.72.28]) by orviesa010.jf.intel.com with ESMTP; 08 May 2024 08:16:13 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 8BA9411F; Wed, 08 May 2024 18:16:12 +0300 (EEST) From: Andy Shevchenko To: Andy Shevchenko , linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-kernel@vger.kernel.org Cc: Will Deacon , Robin Murphy , Joerg Roedel Subject: [PATCH v1 1/1] iommu/arm-smmu-v3: Use *-y instead of *-objs in Makefile Date: Wed, 8 May 2024 18:15:55 +0300 Message-ID: <20240508151611.1444352-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1336.g36b5255a03ac MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240508_081616_914363_0A98308E X-CRM114-Status: GOOD ( 10.01 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org *-objs suffix is reserved rather for (user-space) host programs while usually *-y suffix is used for kernel drivers (although *-objs works for that purpose for now). Let's correct the old usages of *-objs in Makefiles. Signed-off-by: Andy Shevchenko Reviewed-by: Jason Gunthorpe --- Note, the original approach is weirdest from the existing. Only a few drivers use this (-objs-y) one most likely by mistake. drivers/iommu/arm/arm-smmu-v3/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/iommu/arm/arm-smmu-v3/Makefile b/drivers/iommu/arm/arm-smmu-v3/Makefile index 0b97054b3929..a5601b97f296 100644 --- a/drivers/iommu/arm/arm-smmu-v3/Makefile +++ b/drivers/iommu/arm/arm-smmu-v3/Makefile @@ -1,6 +1,5 @@ # SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_ARM_SMMU_V3) += arm_smmu_v3.o -arm_smmu_v3-objs-y += arm-smmu-v3.o -arm_smmu_v3-objs-$(CONFIG_ARM_SMMU_V3_SVA) += arm-smmu-v3-sva.o -arm_smmu_v3-objs-$(CONFIG_ARM_SMMU_V3_KUNIT_TEST) += arm-smmu-v3-test.o -arm_smmu_v3-objs := $(arm_smmu_v3-objs-y) +arm_smmu_v3-y := arm-smmu-v3.o +arm_smmu_v3-$(CONFIG_ARM_SMMU_V3_SVA) += arm-smmu-v3-sva.o +arm_smmu_v3-$(CONFIG_ARM_SMMU_V3_KUNIT_TEST) += arm-smmu-v3-test.o