Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp35512pxf; Wed, 17 Mar 2021 14:37:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8dyb95/M+NSo/B1PkFW9y4VjU8lcv3TnFnNKpnMlKkmL8ZXg9CZ4KkcnYuY0Lr8y6YPOF X-Received: by 2002:a17:907:3d01:: with SMTP id gm1mr37962298ejc.214.1616017020873; Wed, 17 Mar 2021 14:37:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616017020; cv=none; d=google.com; s=arc-20160816; b=oEGlqNbyDFELPwzkYZdEhRY1rHbw4eLR6HtMwNhz3ZCF5VGLamtN/GIdkwBmpsjoP1 20muYmg+8DOzGV/z9E6x/EiNOjxHtQFq1ysa/6mfE1MvCVxAIadSqFneVS5JhyAQlmGg 5kgYXxWM9yhGfOKzaKF/Jt9CERn15D4Z5zF7MqOcpRgK1jl0cOkjJLBcWhSJg+NbxhxE xNq4/IRS84SaSoJW3fEHuyz/GuEWLywMsJ/6P046bijLzaM3DCIMU4WwshtLzh+wdy/W WYn58HmIwaHOX6eM5dy0uLG1wXXPNByguX17cIBu3wQRJ8Do8EzO4MOZltcwcJoQ6hzd c7hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :dkim-signature; bh=0uX4a5pODJdDNUMqLG8CU+20HuPGvlsPYfESg66SL6o=; b=xa9mNK5SebqSct5Q+kVnIUWkT57ex9LdVj8bZOnDf2wSRfyyPdn6CE2zRpAG25Y+aJ 23KqGYjpOxtg8iQZAX1zZGgXlWARloRXUG1nkp0TPDtIo3zw4wHggxZkitseVQ/Gdi1e fo7wo6rI3LWMAAgvPKnS/Ac7ySjpFht5anQRd89KycyLiglVxoH5dkOLpPV8nYjllymD 1KxZlHaHrI17QFvgzBk7sMxdXRt7OqBDHf3/QaSMQ5oEsjFhym9x5vWoA1F4F+WgZ7P/ XqoNEFKGxXImZa5QqlelAMmVyguRfUoH8rVBP8E+B8JQc6B2NATeeYEYyVPCQ6Yugmyx 1JVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=boqbQMVM; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e6si142903edz.505.2021.03.17.14.36.38; Wed, 17 Mar 2021 14:37:00 -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=@walle.cc header.s=mail2016061301 header.b=boqbQMVM; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232474AbhCQRu4 (ORCPT + 99 others); Wed, 17 Mar 2021 13:50:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229814AbhCQRuv (ORCPT ); Wed, 17 Mar 2021 13:50:51 -0400 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 130A2C06174A for ; Wed, 17 Mar 2021 10:50:51 -0700 (PDT) Received: from ssl.serverraum.org (web.serverraum.org [172.16.0.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id AB4A522238; Wed, 17 Mar 2021 18:50:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1616003449; 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=0uX4a5pODJdDNUMqLG8CU+20HuPGvlsPYfESg66SL6o=; b=boqbQMVM7v9iaMAXLSnDxGpy19fhxBAn5JkBmLbxXeoSZY6iNJWg3Sc55OzTlyRlw09QeO kU2JSOGCzR+4+Qzxt3GKg2mcZmlm/IWWCsbnkjjkJ7qfWotAWK3EwhZ6uSn+v4kaGmMS6j y7tzS+epo3eZW0qFmPqJkRPxn1DgMIg= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 17 Mar 2021 18:50:48 +0100 From: Michael Walle To: Tudor.Ambarus@microchip.com Cc: vigneshr@ti.com, p.yadav@ti.com, linux-mtd@lists.infradead.org, miquel.raynal@bootlin.com, richard@nod.at, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 4/5] mtd: spi-nor: Move Software Write Protection logic out of the core In-Reply-To: References: <20210306095002.22983-1-tudor.ambarus@microchip.com> <20210306095002.22983-5-tudor.ambarus@microchip.com> <963232a4-9100-ebca-927c-7f5a1e947fbe@ti.com> <9889bae0-8eba-7cbc-d9bb-04e038bd28c8@microchip.com> <6016b725-a779-1d2c-9884-099c58f53557@ti.com> <45d00a12-cb79-774e-f8e8-d65602629a90@microchip.com> User-Agent: Roundcube Webmail/1.4.11 Message-ID: X-Sender: michael@walle.cc Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 2021-03-17 10:30, schrieb Tudor.Ambarus@microchip.com: >>>>>> soft-wr-protect.c or software-write-protect.c ? >>> >>> Having in mind that we have the SWP configs, I think I prefer swp.c. >>> But let's see what majority thinks, we'll do as majority prefers. >>> Michael, Pratyush? >> >> It's just an internal name, thus as long as it remotely makes sense, >> I'm fine. It's just a matter of taste, isn't it? > > Sure, it's a matter of preference. What's yours? if i have to choose, swp.c >> But here's one technical reason that would bother me more: name >> clashes between the core modules: core, sfdp, otp, swp and the >> vendor names. It is very unlikely, but there is a non-zero chance ;) >> > > We can move all manufacturers to a manufacturers/ folder. Each > manufacturer > driver will have to #include "../core.h", about what I have some mixed > feelings. I don't think it makes sense as long as there is no clash; or until there are many more core modules, so you can't keep them apart anymore. It will just make it harder to follow the git history. -michael