Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp574864lqo; Wed, 8 May 2024 08:27:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX25F9G8DZ74zfMpufF0c/eCHy2TyV9Nm22qFVM4rQWienC49grHqk74P/5kmH5Bi2FaZ+fNy0ckRc/J2zPUmSD/Uz456wX3rJO9pO2bA== X-Google-Smtp-Source: AGHT+IF0STFeP087TS/rIoPVKLoAnqkZmSi/L74EvWCr4bnnOJD6QKwmsBMx727Q+J3GiKsSPRGM X-Received: by 2002:a05:6a20:7346:b0:1af:8ca1:8fec with SMTP id adf61e73a8af0-1afc8d3d3c3mr3260357637.16.1715182040142; Wed, 08 May 2024 08:27:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715182040; cv=pass; d=google.com; s=arc-20160816; b=tyuHrUMNDq1iilVxqSkuIe/oBHwDyzD/ybecqX5a5/Os4TMAYfCmTsV0xYYDwWMEIX k0iWi+WP9k7dJUVBOnBOiG1yWy3b8RKD3oUxp4Ob8XIozijFODwBcf7e1bFJwPGxSLb5 D+IxFEx/Fney7lzwxVaSucyp7jLdliESwsAT72ip9yC8P2438y2id+8uAm4NiEKwUJwR Gg7b03roLgN22zlcio/Bz9mqZLZFMcmbTzMEUNdaCo40L1ZF1ajjvuG+vIu8sYfP5HAx lULmZVOzKOjiaXanmJHgER6ZgBIED9V895191iPUKL6tNtpnmXNJ54w8IyHyvf7nBDjL pdZg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=7MCQCFI2iuI9cl0FxAHL6CG2jExc+OnEj1EEXoMpM0E=; fh=pF8XoJTCpa9OjcWlikWsQ3lPV62dxTmXdzSnbMCziic=; b=I8EVC+QaUd1iCCxK2OI5Uy3ythLYqAPWnRRIH8340GlZXKcMcQjrBA2bZlhk6guEOu 2AkF4Imm0mM5d0Sf7zEznnF0CB8FbVXDuo4ACGZLfWQ/+Pi61LNl3pcmo0tl0R7ztwzy e3nMsohe7xfoWbDQ2wWHtKxP7ZX0snOzaVbQPL+ogeRI+epEFcnj0b/WthKCV0ZE1tP/ 7qIVhjHrT2ivP684GX6jBcJJ7YV0wM1RptqMiKPk6EuYjrcO5WzRX+o5croYHygJvGm5 LLtvS7ERlswMdJ0pFhBYA4gpSEgDE9uUX5KRCdouRzZmtha3ASeg58TKLL2/7iwqfB3w pv7A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=dOm+oVcp; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-173483-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173483-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id a1-20020a056a000c8100b006f4586193afsi9641609pfv.69.2024.05.08.08.27.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 08:27:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-173483-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=dOm+oVcp; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-173483-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173483-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id C12E22814FA for ; Wed, 8 May 2024 15:27:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BFC2712838A; Wed, 8 May 2024 15:27:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="dOm+oVcp" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.16]) (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 6CBAD128394 for ; Wed, 8 May 2024 15:27:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715182032; cv=none; b=KvkHZQn8o8v9NHGiEztuJDV4WQHPerwo/xlHLCB9qbxsuKAihTFrAstlO95A4aNQGmolajusj85EmaSgm4O/qermwjI0eBYOBfVvb4dDTbJ40e0kyMa9YykV8Kd9IwsLVPl79qCVsNr+E2ztQAw84KtDNXzMcYdAFnlBBYQ6p6M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715182032; c=relaxed/simple; bh=ItL86uGAqwtSHzvV7e4Z98MypI8As0zBjnzHJ4JD/+Y=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=E98Yzvt1G7wpLP1EnMT03AO1eFmHp5WbcUPJH6VOtYW0d966Ghn+zG+5t8obuWaDmGoT2y/9ZJYPl48+1m01RtJC7hSw7kaBNO3RpsJFmgfSnUgPGXJXQw1Qqs49Dqu8u8Z3Am55Umv9/MIK5DMxqqtFaUDsVEH66qNiDdJ9tjM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=dOm+oVcp; arc=none smtp.client-ip=192.198.163.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1715182026; x=1746718026; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=ItL86uGAqwtSHzvV7e4Z98MypI8As0zBjnzHJ4JD/+Y=; b=dOm+oVcptQSHYPRl4c6XlqEvrKHYUWZutkXiuUK1btFrnX4OLb3dk7ZJ P3noLjOYtDCoNkWdBs8LMGC81vEim2ow0K0AnpSStA20tC9wVEH1pMDzX aOND+fyeUAY+ZlgDnIxbRyy3mmlzzX/eDJAZKXWpKg6EuvdpyXCnBCYE1 o+cDLgrUEL1VNYnoHaxL28i20OaM0OvZdRikILZrW1obhgvrl8BsA48b9 QAMk2TWR7cJ5RbUHMVqhlK2XJq1KxF1eymZtrS+s9h5CFSGQh2lYtotMg hkC+B4x6N8P6g9mJIWzroXarbYsqOZkiLLyxfRcLOaao9HrwmDh4bBqu6 w==; X-CSE-ConnectionGUID: 8rp5oB4CT9a485hLh/rfIA== X-CSE-MsgGUID: NlGaFvOzRR2GvmFs01oIcg== X-IronPort-AV: E=McAfee;i="6600,9927,11067"; a="11429086" X-IronPort-AV: E=Sophos;i="6.08,145,1712646000"; d="scan'208";a="11429086" Received: from fmviesa008.fm.intel.com ([10.60.135.148]) by fmvoesa110.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 May 2024 08:27:05 -0700 X-CSE-ConnectionGUID: MYnSKQ2/RdCXHfHJiF7k9w== X-CSE-MsgGUID: U96b3+4LRi2AqLykBsphWA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,145,1712646000"; d="scan'208";a="28851881" Received: from black.fi.intel.com ([10.237.72.28]) by fmviesa008.fm.intel.com with ESMTP; 08 May 2024 08:27:04 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id E52E2109; Wed, 08 May 2024 18:27:02 +0300 (EEST) From: Andy Shevchenko To: Andy Shevchenko , xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org Cc: Juergen Gross , Stefano Stabellini , Oleksandr Tyshchenko Subject: [PATCH v1 1/1] xen/xenbus: Use *-y instead of *-objs in Makefile Date: Wed, 8 May 2024 18:26:47 +0300 Message-ID: <20240508152658.1445809-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1336.g36b5255a03ac Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit *-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 --- Note, the original approach is weirdest from the existing. Only a few drivers use this (-objs-y) one most likely by mistake. drivers/xen/xenbus/Makefile | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/drivers/xen/xenbus/Makefile b/drivers/xen/xenbus/Makefile index 0c7532110815..b0d69602214e 100644 --- a/drivers/xen/xenbus/Makefile +++ b/drivers/xen/xenbus/Makefile @@ -1,15 +1,13 @@ # SPDX-License-Identifier: GPL-2.0 obj-y += xenbus.o + +xenbus-y := xenbus_client.o +xenbus-y += xenbus_comms.o +xenbus-y += xenbus_xs.o +xenbus-y += xenbus_probe.o + +xenbus-$(CONFIG_XEN_BACKEND) += xenbus_probe_backend.o + obj-y += xenbus_dev_frontend.o - -xenbus-objs = -xenbus-objs += xenbus_client.o -xenbus-objs += xenbus_comms.o -xenbus-objs += xenbus_xs.o -xenbus-objs += xenbus_probe.o - -xenbus-be-objs-$(CONFIG_XEN_BACKEND) += xenbus_probe_backend.o -xenbus-objs += $(xenbus-be-objs-y) - obj-$(CONFIG_XEN_BACKEND) += xenbus_dev_backend.o obj-$(CONFIG_XEN_XENBUS_FRONTEND) += xenbus_probe_frontend.o -- 2.43.0.rc1.1336.g36b5255a03ac