Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp313351rdb; Thu, 15 Feb 2024 00:22:58 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWUXF3Eb77PAd9wPs4/h4n1f88JjUdlhyyDb5WvSYqDEKJP50GZDXtiZLdB2/E+xbHzvg3i5a7k9dLHvSHrmMKu/L0ZNW9exyCPKnjjpQ== X-Google-Smtp-Source: AGHT+IE6PZ/2NJTPMoC88athUmhbTXGkRUgCfuXIpyW2Wls11u72zKt2PNQ9ht3iamVMqjS+zCpE X-Received: by 2002:a17:906:e246:b0:a38:89df:6142 with SMTP id gq6-20020a170906e24600b00a3889df6142mr703609ejb.24.1707985378359; Thu, 15 Feb 2024 00:22:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707985378; cv=pass; d=google.com; s=arc-20160816; b=T+wUH8WOSHVDKnlKibSUUdw8G2ZlZ4IOYTCvVWbxINnISQ7TN2PA9YnA23uaF0xc7n 4adL8zpNyqVPIdG/51AQKULv4P/LIwxvTTE1NDxFW4RfqqOdhhtna0fwVPn7BCR45woU uf+Qa6a8F7W23Z1Fz91aN6Y1Ja34jGKGMOOOb0KT8/y+q1+3x5uJZc4P3GXkdrV+KmA2 bGc6pub9cSQpfo7YyLptFOPtcG4Wgix1gFpYxnDMCBdiOW180zBpTaoS6tW0pgl3/vMb RsfhJ3UoXh/V5W/fYUfqP/ePGEXQERKpoI3aEWgGlLmjyG1z+k6eFyHybXzqrGVvIVQ9 FfKQ== 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:date:message-id:subject :references:in-reply-to:cc:to:from; bh=bU3aZWFDsGOqQJqot076siSJ8PQ40ojuJtnifRbuot4=; fh=FactpuzAno5LeBdMzLIliac/vnoreg2Te1ts7SLKOVI=; b=zfUKxkaftLIpXqqlCpFQ8KUXdLWoOFKHrSy1LtSQJuqEW9p3/UMUm/UVhiFUbD5fhs kmLzFzHofdQGczifcO49DcdftRdm7VKSPiEjB+j1125TwYkoctx4CfMPS64oAzhStW5D m3y84PqnaQk0h6C5BZs7huSl2Ad4ERA3Ek75CoMqVORbEisfmu6C2nAlMxNNzCgz4PAC zuvYcn+yH65OvqMg93B3edRZvy07/e2AKVyPxlilkBoIvbhq/0+ndvGISFR0+Q3Hn/xb rBXBo9vljrolPGn5+jGwL6/hUstBEF8rhw0ClveKCn5fc2bowYnJ+JqPPjeSyDdqkd5e 8NVw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=etezian.org); spf=pass (google.com: domain of linux-kernel+bounces-66410-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66410-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id g10-20020a170906594a00b00a3d986a15edsi307608ejr.438.2024.02.15.00.22.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 00:22:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-66410-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=etezian.org); spf=pass (google.com: domain of linux-kernel+bounces-66410-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66410-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 19FF31F21534 for ; Thu, 15 Feb 2024 08:22:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BEE4F17C8D; Thu, 15 Feb 2024 08:20:52 +0000 (UTC) Received: from 6.mo583.mail-out.ovh.net (6.mo583.mail-out.ovh.net [178.32.119.138]) (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 CFD0C168BA for ; Thu, 15 Feb 2024 08:20:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.32.119.138 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707985252; cv=none; b=RK7cvlktLLqotk/ypaNZUmQkoCvKGKjqdj4q2sms67jW690cyjz2PagXGN34UKgPdg0JfAoqYPk7geK8RvnRwIzxz5PdsMh5lVzddM/mcKXCiTudDgARblWWw1Omdq2/iIgHMTWUEOrqtmaA5i8jnLJa/Wguq6nakaQSbvAZOLQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707985252; c=relaxed/simple; bh=Zn2YmXTGnlmFWVJAWE0ZcsbcTLkjNnzhl3e0UcTBfKg=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=lVbfUzhgJbIDGCkMXTw1X9rT4DNxwld9Z4+qkW521M8X1brKai+zDkgbHCHa33a/Z8GbQ7QS9Jj8R74xdBMI0XNceE0hmNWedggT+Fw/dSLLVCl/rXZ/KDeStLiT0dwaW6/7uOX2v39VsXvN8HpIuBG+TFwhfkpall8Pjv2wITA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=etezian.org; arc=none smtp.client-ip=178.32.119.138 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=etezian.org Received: from director5.ghost.mail-out.ovh.net (unknown [10.108.2.12]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id 4TZs9H093sz1Fgg for ; Wed, 14 Feb 2024 21:42:10 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-62rx8 (unknown [10.108.54.171]) by director5.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 58D4F1FD57; Wed, 14 Feb 2024 21:42:04 +0000 (UTC) Received: from etezian.org ([37.59.142.103]) by ghost-submission-6684bf9d7b-62rx8 with ESMTPSA id pzx8A6wzzWWJKwIAfHX53g (envelope-from ); Wed, 14 Feb 2024 21:42:04 +0000 Authentication-Results:garm.ovh; auth=pass (GARM-103G00581a402d0-df4d-43c0-80f3-f5461175c724, C0FC2E5C6A7315DD97BDDE4B9606AB6EEADB6D9F) smtp.auth=andi@etezian.org X-OVh-ClientIp:89.217.109.169 From: Andi Shyti To: Arnd Bergmann Cc: Arnd Bergmann , Michael Ellerman , Nicholas Piggin , Christophe Leroy , "Aneesh Kumar K.V" , "Naveen N. Rao" , Hector Martin , Sven Peter , Alyssa Rosenzweig , Wolfram Sang , Olof Johansson , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org In-Reply-To: <20240212111933.963985-1-arnd@kernel.org> References: <20240212111933.963985-1-arnd@kernel.org> Subject: Re: [PATCH] i2c: pasemi: split driver into two separate modules Message-Id: <170794692308.4040459.7350373390928340229.b4-ty@kernel.org> Date: Wed, 14 Feb 2024 22:42:03 +0100 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="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.12.4 X-Ovh-Tracer-Id: 3725039842831960594 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrudejgdduheefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvvegjfhfukfffgggtgffosehtjeertdertdejnecuhfhrohhmpeetnhguihcuufhhhihtihcuoegrnhguihdrshhhhihtiheskhgvrhhnvghlrdhorhhgqeenucggtffrrghtthgvrhhnpeffteehudffvdfhudfgffdugfejjeduheehgeefgeeuhfeiuefghffgueffvdfgfeenucffohhmrghinhepkhgvrhhnvghlrdhorhhgnecukfhppeduvdejrddtrddtrddupdekledrvddujedruddtledrudeiledpfeejrdehledrudegvddruddtfeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoegrnhguihesvghtvgiiihgrnhdrohhrgheqpdhnsggprhgtphhtthhopedupdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdfovfetjfhoshhtpehmohehkeefpdhmohguvgepshhmthhpohhuth Hi On Mon, 12 Feb 2024 12:19:04 +0100, Arnd Bergmann wrote: > On powerpc, it is possible to compile test both the new apple (arm) and > old pasemi (powerpc) drivers for the i2c hardware at the same time, > which leads to a warning about linking the same object file twice: > > scripts/Makefile.build:244: drivers/i2c/busses/Makefile: i2c-pasemi-core.o is added to multiple modules: i2c-apple i2c-pasemi > > Rework the driver to have an explicit helper module, letting Kbuild > take care of whether this should be built-in or a loadable driver. > > [...] Applied to i2c/i2c-host-fixes on git://git.kernel.org/pub/scm/linux/kernel/git/andi.shyti/linux.git Thank you, Andi Patches applied =============== [1/1] i2c: pasemi: split driver into two separate modules commit: 3fab8a74c71a4ba32b2fa1dca7340f9107ff8dfc