Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1208313pxb; Thu, 16 Sep 2021 02:10:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyF6/zEGp9m+HYcyTYSwyNhPAqL0TR06lH9WD138vlFivtT8sn4yEOqHEwb8JF5EbKuB3sZ X-Received: by 2002:a17:906:4dd5:: with SMTP id f21mr5142534ejw.106.1631783452086; Thu, 16 Sep 2021 02:10:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631783452; cv=none; d=google.com; s=arc-20160816; b=VwmnNGPaIdv9SwBWpfqFaF3DPShONfvut61DQ0hg0aoDJRwOcZ2M4qG2jRVJE+H8ee VOr7I7ZNeltNrFiEcpx7JCiFTidX4UU6csMCPe1MbsN4WUALeY+TBiVO3rhM+gTzN1zG vUddFJYVVWGntPRk+OcD3fKafXNMhb/DiZEHRh5RUGx6ZRTKQLEGb2oybw3z3Q9vxesu y7RmBMxEcf/SYtDrMnsEZPPnk1XZmUSrgHR6D2m+Cu+VyOws174prUh1QuvsYPe6cZve /XKjxOcfwr9hG8iU9RAh1zPNta0zJVCpwfhfdNAP5Fbp2YsVU/Ij000b8aNpkzbs3UDD XIiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=CHd4DVOICes5V+S0oRBYJw/6DIX5SawPHp7sYsLTNqI=; b=XombXIB3aIRoHcFjV9pF0PRHizRa026CPinEkOFKc0ZxcCnGC/rmfSfLHQPzlR5Zb5 j1I9ZQf59piul1EO3lbvQU3SzQpruWHDY7koKmauRmk0nynYaAYvBqckc3zq7tmqYTQj 2ib1iyRe+j34IuymZXmppSFyF3WyU95NKgkgjgDXcywws+hm9IvsQJ/4Pw2YNYVcO1rM aJt1Vg/mC3ayGv7Ct1q/PqN9pFW6PBjWiBcg9furkRT6V6efnSYg0SNQJVP0Gr778ZmF 3Mi4BFhg8aqTy7VAt/aLmuDOzgHN9kx8j0vsiEYJU4EsDFBHpz4FVSOxg7VnIm4p7Squ Ckqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=R8zNlq+6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id nd30si2823446ejc.717.2021.09.16.02.10.27; Thu, 16 Sep 2021 02:10:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=R8zNlq+6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235165AbhIPJJ7 (ORCPT + 99 others); Thu, 16 Sep 2021 05:09:59 -0400 Received: from mail.kernel.org ([198.145.29.99]:39384 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235114AbhIPJJz (ORCPT ); Thu, 16 Sep 2021 05:09:55 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id BCA8460F93; Thu, 16 Sep 2021 09:08:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631783315; bh=WVZp7zAxrJcGJFceYnaC30L3NEug/ghHkDrrF8bTKWI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=R8zNlq+6LDpDSB6aIwW2FWWR18uvGGQl1jdbf63U4ouezWknqHqVmp3lEJDDV1pRu Fp/4G4fmivvsMWB2H3DVg/Q0l/Mhfh4TXTChCNcOWcNFwqneRbmLGMSRhpA0BTiBz4 Xzvyb9Gjne5oOLhHdP1BXJtfqjjP+WGGA5DLbbBqscjFZknBvDLhYCaa2KZj0/cAwX ZkjPAiHcvdE6Hra3tpgqRr3xGPtl0m3vEOfqSZH4D/64PuJC/FQd+bbUpJVV1n3vHT sHhJeLOgNyijxqPAXxKOZJbcwVWhywOhamAXhrlCfRGRaskksh6YiDQpJqSMvTkJPR YgIqyI8Kwmalw== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1mQnNj-00059h-Oc; Thu, 16 Sep 2021 11:08:36 +0200 Date: Thu, 16 Sep 2021 11:08:35 +0200 From: Johan Hovold To: Geert Uytterhoeven Cc: Greg Kroah-Hartman , Jiri Slaby , Shawn Guo , Li Yang , Scott Wood , "open list:SERIAL DRIVERS" , linuxppc-dev , Linux ARM , Linux Kernel Mailing List Subject: Re: [PATCH] serial: 8250: SERIAL_8250_FSL should not default to y when compile-testing Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 16, 2021 at 10:55:49AM +0200, Geert Uytterhoeven wrote: > Hi Johan, > > On Thu, Sep 16, 2021 at 10:46 AM Johan Hovold wrote: > > On Wed, Sep 15, 2021 at 02:56:52PM +0200, Geert Uytterhoeven wrote: > > > Commit b1442c55ce8977aa ("serial: 8250: extend compile-test coverage") > > > added compile-test support to the Freescale 16550 driver. However, as > > > SERIAL_8250_FSL is an invisible symbol, merely enabling COMPILE_TEST now > > > enables this driver. > > > > > > Fix this by making SERIAL_8250_FSL visible. Tighten the dependencies to > > > prevent asking the user about this driver when configuring a kernel > > > without appropriate Freescale SoC or ACPI support. > > > > This tightening is arguable a separate change which risk introducing > > regressions if you get it wrong and should go in a separate patch at > > least. > > Getting it wrong would indeed be a regression, but not tightening > that at the same time would mean I have to send a separate patch with > a Fixes tag referring to this fix, following this template: > > foo should depend on bar > > The foo hardware is only present on bar SoCs. Hence add a > dependency on bar, to prevent asking the user about this driver > when configuring a kernel without bar support. I know this is a pet peeve of yours, but asking users about one more symbol when configuring their kernels is hardly something that requires a Fixes tag. Either way it's a pretty weak argument for not separating the change. Johan