Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp535779lqp; Tue, 11 Jun 2024 11:28:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUGU4RLbs9jG+9LqsiXPR5iFtg3LxSpgBeEA6LRB5uFd+wQphMggi/TuXopaJfvVXQ2FPuqJHVMcjfXEO3R+l9LBYjvyjsKyNSQk6PslA== X-Google-Smtp-Source: AGHT+IEES3sju6U6XXTCMS++/GrXW/Lpa5N5CkacYE4lMfpfwWwLMX3WOzLiiTVeQmgN2cGm44mg X-Received: by 2002:a50:8704:0:b0:579:cf9d:d6a with SMTP id 4fb4d7f45d1cf-57c508eae17mr7891906a12.20.1718130518718; Tue, 11 Jun 2024 11:28:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718130518; cv=pass; d=google.com; s=arc-20160816; b=x1W8lo+LoxzDT8BTkRNKlXeLWnFx7TP+51PRF2n37gdZ9dVX4K0zCTWVX0ddyE0vst JMu495+THHzYc5vG6MOUcVkgvBHvt3hXimGcEVxknOB9Z4KqWge1yIHKfy/4HkX5YTzu 29Id8hRrfxm9SMcmc5BAMW1DQwZH0/cQ0jZInqdElCMPFGPvOcR2Pl/BP37yB6LNaOWr GtgpPmWvR91PQwxoX3umRwnchF1q+pooSQwjp+SBSIMm1xruN0r9CJ8zdcenSyswOKTR KavEaNg73262hisdg3o/+0mg/FnxBhvnjSoHqpPUnkAc+avJ4xJ+Qa/ny22zf+Z2nPrd cRmA== 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:dkim-signature; bh=ONqsPJRCu0/5WDHrlyT8pQrPnRqE8iw+OeD+1EOx1ww=; fh=OZiuhEcEjVzwMTnOa/syBuaNhW1e9zk+EWTI3Jya6BM=; b=HfiDo6A6A1kl04I7BxLR3M5/STGzpHfbuh4YZTDsJB1/XOnzfoSRlgZciA4m2IdvYP oj+sLoGNIRauieYRseVSJRtbkSEKfbKZpgIWtNAYMBjYv/zuXEXbyrGOxXCVI0xbCE9s Ys7nnsPtcJBdkvKO30THogUwZi3WPqHpK5VLJWHKEjopg5+hNY6T+spE/6CwXfWosiGN /CAF9J43wl9/Q9/rAyp3ZsRxpZiq9Cmhge3Ot7AdqPSQHYeucGAKr1sEOw8fVYQZLePM +8zecRPsHPfzCso6ipfU96irx+L9vZyWMz5S9EPa5Bbzs9qvu96SfqKxVeaRNBK7lW0H vjug==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tBHg0MfB; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-210424-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210424-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. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57c9eb312c3si480951a12.304.2024.06.11.11.28.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 11:28:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-210424-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tBHg0MfB; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-210424-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210424-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 9770B1F23286 for ; Tue, 11 Jun 2024 18:28:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 54CB873473; Tue, 11 Jun 2024 18:27:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="tBHg0MfB" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 79C8980607; Tue, 11 Jun 2024 18:27:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718130475; cv=none; b=JuQElO9D8KWWPy+0sMvqW6homlYbCSMg1qnSS1rShnicVixKFoD2NJZ8TdEJqe9cyU9TW14zQ4ey0xLN9Od2P4d8ZHaW8qKdK71uxBFd2BHJBU4h2Wd4v32eCDwkVl7kRPPpSuzLksXCabxxEQ+gOdwgylrFsUpJFtNbbQLBv40= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718130475; c=relaxed/simple; bh=mR1yomcPDDwqfOEvZUQfEbXY9LivZonXQM9yLf1PPo8=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=Pgdd2MsxZgmkjrlC/zHV3KnSP0bF1iG9G3ljBGXYZBPvHLL7ipSb38ESpUmd80fAbHf/SwY6aBfLy4pLZDS8KtiZ9+j1BJsbmSGctUSiONTRpw6vamqd1waYiu6bdiqcwwIcTnnoGGnYPt86ZsJ4ckoQQ2tRCoC0ZuPwFXDXdug= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=tBHg0MfB; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 22F4FC2BD10; Tue, 11 Jun 2024 18:27:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718130475; bh=mR1yomcPDDwqfOEvZUQfEbXY9LivZonXQM9yLf1PPo8=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=tBHg0MfBepQKQEXbN8MlIMGTVX2JpaOrWoMz4LSzmDidVES1r1rfiV5LOUAyMxGu/ izXAhEZOPokjqk074EohyTItV9FGkBrDWAQeH1W16BJCCalftxj8Aja8FXFcsWxI8A /Bm5H7Wo+i0FQfhlZ9luxtFXecyRHd1tLCtK7eW/AmhWQCOO+k56y2zaqi5P+fBJx2 CcMrbJ9o9Zr4CJwen4GirHVdHdlzAF7Xl6xLRpfPFvblQt29L//5GOSUj4iwBGD1dQ zGCK47nDrTHs5zZBlQmtnUrvhFwe+V+O480ChpAgfWaPbuh4rTRbuAtzoCKIpDP8ir auTeAcDUTEbkw== From: Vinod Koul To: Peng Fan , Frank Li , Arnd Bergmann Cc: Arnd Bergmann , Fabio Estevam , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20240528115440.2965975-1-arnd@kernel.org> References: <20240528115440.2965975-1-arnd@kernel.org> Subject: Re: [PATCH] dmaengine: fsl-edma: avoid linking both modules Message-Id: <171813047274.475489.9770703147232550799.b4-ty@kernel.org> Date: Tue, 11 Jun 2024 23:57:52 +0530 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.13.0 On Tue, 28 May 2024 13:54:22 +0200, Arnd Bergmann wrote: > Kbuild does not support having a source file compiled multiple times > and linked into distinct modules, or built-in and modular at the > same time. For fs-edma, there are two common components that are > linked into the fsl-edma.ko for Arm and PowerPC, plus the mcf-edma.ko > module on Coldfire. This violates the rule for compile-testing: > > scripts/Makefile.build:236: drivers/dma/Makefile: fsl-edma-common.o is added to multiple modules: fsl-edma mcf-edma > scripts/Makefile.build:236: drivers/dma/Makefile: fsl-edma-trace.o is added to multiple modules: fsl-edma mcf-edma > > [...] Applied, thanks! [1/1] dmaengine: fsl-edma: avoid linking both modules commit: fa555b5026d0bf1ba7c9e645ff75e2725a982631 Best regards, -- Vinod Koul