Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp588126lqb; Wed, 29 May 2024 05:14:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUQYZjpgGDJiJVjbB9UtIVflmyyUzeE02Z5RtS3/rx/WZ1mywNawvQ3opYH/gmQdBoLwBVSNpmC6wHuUBezh+QoOYiqdJeQDCg0wOz2dQ== X-Google-Smtp-Source: AGHT+IEjpBc1Y6xxnKyqCS7CZQR9JYziBWhHZtUhdBjD84i1jl/M6XGy4VZsIwmN+IN2J6b44YHN X-Received: by 2002:a17:90a:d30f:b0:2bd:f6a7:1d05 with SMTP id 98e67ed59e1d1-2bf5ee1cb28mr13689633a91.18.1716984885700; Wed, 29 May 2024 05:14:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716984885; cv=pass; d=google.com; s=arc-20160816; b=XSNMlhhDSgMWeCU0td5SYoLTWBSVHiHFvIdiUyjHU/D4kCqiY5Mzl9HB5RsAkPnWEi bKg1a8yLxpAUHht2rMOWfmNpTbXLIFlilYaNbNl/p8v5A7y/Rj+H7r8U4gnvzhurTh/C obBSPtKvLU1CEDKCtvzlictJNq9LFHxwvahN3HJO16/WHNBPsgUw9Bs8opMSl0umBTn/ fKw9nQ6AaF+1HGwpJ0grB9axVy3bIg2mw98aSu3gYBKDEUi1pk494xscm/ZUPYLNNIzW EvW/TXECGLMlAsiO1X7K1Ou/akVFAQ/6d/EQe1YU2p51lNMvKcmfhb6hmEVSb8vc1Xrp MENw== 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:organization:references :in-reply-to:message-id:subject:cc:to:from:date:dkim-signature; bh=qPE9lYK/jtCaQQJJj72PN/tJ5wf6JCOgn3hLbpwt2pk=; fh=U8GoQiSucYzseg5+aEVakU1VrSyuvKQbMd563f4EY+E=; b=bewTM0XEty+BsG0BIWHeTVAcCjV21ASIx7vJNIxRszLE/n7RDZiLVjfCtEcTrkZotZ e4PvQQtw01X5cdHos+NSmBNUmmIS2+M4MEaU9SDjucmKQA1daQna0CjL2mAz/ERgHDFX GkXP5jjZV3Oymg7omt2bgHHjNJmOHghLK9nMF1O0u9655wFzxFtq+H0dvZMkZUpsTm9t E0ERZmI3OybWVYbPA4Zun3JXIXh2e8WqRNRmbnTD1Hbh1/b2AYlHNFiJ3R3PNvcKHXvn jb5Ml/yliY4pzOJyf2Tu/xzzm/TM0W7pRZRs23umvoC/m/xI+fYg6w8h6lK4jeyYVsE9 n1Vw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=mfW57XT0; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-194062-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194062-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c011d57461si2894213a91.110.2024.05.29.05.14.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 05:14:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-194062-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=mfW57XT0; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-194062-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194062-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id A5069B2472B for ; Wed, 29 May 2024 12:13:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3784D181302; Wed, 29 May 2024 12:13:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="mfW57XT0" Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.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 DC29738F96 for ; Wed, 29 May 2024 12:13:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716984811; cv=none; b=BON4L6Qk5x1Ccibp5K2srSk+Ec4Ap9Zs7M556Ife9mh7dWiQ6yyixMsh8L+hv7IzYRco86zFCRtYSnZHtJWl8tj0HbRZrHbCCH7gkpm+R07OTtfwOAQHgQfUmKmnsP3JDJvDPGQYHR/DH2H3noK+bM5Gxia1v6xPo1IM3xx6iak= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716984811; c=relaxed/simple; bh=qPE9lYK/jtCaQQJJj72PN/tJ5wf6JCOgn3hLbpwt2pk=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=VNLBsMCR3Q4azozV3LOrk2l+0/5NUapXcFsJPuoMz6o0lY/pE6RLsxQ3Dc3drUjVm0aWt2j25IBQpOrmgnMghwiXF+OHMq702r+gW+MRVZireFIx3x146lbzzHqx/WOlFI3XrK4vz3E0r8hn28v4LFy1RWF8v4hNDf6aYSAZmzs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=mfW57XT0; arc=none smtp.client-ip=217.70.183.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 333E51BF20C; Wed, 29 May 2024 12:13:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1716984807; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qPE9lYK/jtCaQQJJj72PN/tJ5wf6JCOgn3hLbpwt2pk=; b=mfW57XT0mO3W9hMc7glrP0zAYm1E7+Z3v5Q8jnwOfa06mrDfpmU0coM6lH/iq5tq96vMh3 +gth/Dq0QThzCc+BLom/aNKoFwiFrxSNu9IMfHdgAwGYYoK9xjmO36V1dNxzv4HjfHvBDd VGHQldoYEnRuaYOhN0EzUq4gS+VbagQp65Q6FxXTTLeooike/X6dLExb8FogcoEOdBymMX YkpsWvJ4cGJxNpcW7upRdLwOCk29YHwr9FnLWOcxju61DFPb1Mlvlt8GgBTxG2PGps1MJk voWeCBh3k3Ov0F3zrjzspcqcp9LxiOytZsRz2vuqaEZRFvug+E8P+59/RON5DA== Date: Wed, 29 May 2024 14:13:23 +0200 From: Miquel Raynal To: Arnd Bergmann Cc: Richard Weinberger , Vignesh Raghavendra , David Woodhouse , Akinobu Mita , Artem Bityutskiy , Arnd Bergmann , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mtd: make mtd_test.c a separate module Message-ID: <20240529141323.7015f3d9@xps-13> In-Reply-To: <20240529095049.1915393-1-arnd@kernel.org> References: <20240529095049.1915393-1-arnd@kernel.org> Organization: Bootlin X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-pc-linux-gnu) 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: quoted-printable X-GND-Sasl: miquel.raynal@bootlin.com Hi Arnd, arnd@kernel.org wrote on Wed, 29 May 2024 11:50:39 +0200: > From: Arnd Bergmann >=20 > This file gets linked into nine different modules, which causes a warning: >=20 > scripts/Makefile.build:236: drivers/mtd/tests/Makefile: mtd_test.o is add= ed to multiple modules: mtd_nandbiterrs mtd_oobtest mtd_pagetest mtd_readte= st mtd_speedtest mtd_stresstest mtd_subpagetest mtd_torturetest I've never experienced this warning myself, how did you produce it? > Make it a separate module instead. I'm not a total fan of this just because it now requires an additional step to insert these test modules (they are likely used for debugging/development purposes, so not properly installed in the rootfs). Is there any chance we can find another way? Thanks, Miqu=C3=A8l