Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1292699rbb; Mon, 26 Feb 2024 05:10:08 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWhAONXD1+yF+aP+aweEgTj6MI7eMxq0kj4hGOs6eQbLFctS76jSLqo15tyyBulDu8SNIDUHiJAMkX5wiFDKI4Y5cU2bMKAOh0JTzsqlQ== X-Google-Smtp-Source: AGHT+IE34RlKEq8Tf/vPKhZazHdba0jQLG/UhZa/UpbKq412r8lYOEuRgdICda+vCJMumyi5FpaW X-Received: by 2002:a17:902:e806:b0:1db:a55b:617e with SMTP id u6-20020a170902e80600b001dba55b617emr11357950plg.39.1708953008427; Mon, 26 Feb 2024 05:10:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708953008; cv=pass; d=google.com; s=arc-20160816; b=i0TnSM/I7ef3k6By6yxjnXrmy9T8gdlttRi18antkAS3dOxsQlBEIjBNEPxSUz3yvG QI1V1nRBl9uP/st0HZ6v3prrDpdeEQAcdEAIxwBzta8lMiEPJmZabUOg6VtVU5oFBF3B VUFo9W3fggyuqDUIME0bQ7PEcyKCddva1Gch/nJ8dASqmneLWx2rkq9sUaD4vCvaTErx TR+8SN1J1X1DT3YIt+LdqiDEl0ItBw64Ss2BOsg+ghh/aCtylpu7YCF7ARms8Ba/uPaK MSUSNKAT6VOdkngluRZuNUnoENx0MIMp+mjLdJi6Wgn109M/jb7MRBcJOGR12+dG9g0U bgAQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=G32naZz9qe3hw3B0ZSXDKiZhPbC2PIJTTKdMWLfjaWE=; fh=NjpCgiHJ19CwlY0fD0SwHOwYdYQWj/tfcB3WW6ty3z4=; b=oKaVuqYnDVQ1Pw8GeRRat5uNr/6IsuNgAdiTl5mtOsIvNCxO/sodfiU89jgXB5VPCK zrvJxBOgXaEHrlKAC8X8TPD1M3GL6YtNgVunzSzNPNlaDGTH4/tS/jlo4zkfnVWEUWY8 tJkdW3n3w9H15ONyi3xMY767OLA33TGPBQnOu2xDBk5f+csamJGO37+tdyVJXLGFooM+ 6QyLrjJk0Wx5d9Ks5WR0/ZBr/1aApPNP1d0YvMkuGB2DYxco8fcyTFBVpeQBKXOhHf16 iBvwqYHbJ7txuCpg//bEPOJgaPqoFnkfpCs7VXOQ2ShuPa/JTiHgbOtSv+AsVcRo20U0 DmyQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=pfyoy3mI; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-81446-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81446-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id ix6-20020a170902f80600b001db4cb15c67si3616553plb.498.2024.02.26.05.10.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 05:10:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-81446-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=pfyoy3mI; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-81446-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81446-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 60D6128B9D2 for ; Mon, 26 Feb 2024 13:10:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8684C80602; Mon, 26 Feb 2024 13:10:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="pfyoy3mI" 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 8225C1CFA9 for ; Mon, 26 Feb 2024 13:10:02 +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=1708953002; cv=none; b=FxVFT6D540NQz0svibnUWGHNPu9PTSTvMsfvKPPn1Y30qtr2vjg9VS1L+0K++hRGcntH77dr89NeLVYnYhJsK2jSOEyx7uuV+J/jDDily/1xwCi7h0668DCLBDI0gtZY+v2Cj2aNDmlNsgRU0xPHsh3+htTGOko7hPDV1PhvT3g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708953002; c=relaxed/simple; bh=CETfm2ZAiU7NP2W+UKDMT2EafoPo2rsh7PincvKVpA4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=knYYfWlv9jBVaGZGZWMOOKqo6WP3vpi7nsCNQO/Kr0dYQOzgBeYNa5AzRU47jHvT2ZvmVyYu4gU70/HZWzXhWYw1RYXc99fiNREO+kHF7BH84kIUgrMPiFHWCw099TbellgHtXByQLKTChatdB19l8lJ6CQK++xOrygbRrNBPZs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=pfyoy3mI; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9075BC433F1; Mon, 26 Feb 2024 13:10:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1708953001; bh=CETfm2ZAiU7NP2W+UKDMT2EafoPo2rsh7PincvKVpA4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pfyoy3mI3LcKIKqtiEDFsyAmK1ZrZEr71DdXi945tYs2iEfyTxY7TpTbyIhMqRSAu QrRw9T/3ESsBoXLNyaNfz0dWHMbBmWtygyDBShOGWiJAtjzvnRZ7aitnGNNyhHXV9q kC1xNXEJbCKldiN7uSWzq9by4PfNI20WDmvplfKQ= Date: Mon, 26 Feb 2024 14:09:59 +0100 From: Greg KH To: Mukesh Ojha Cc: Luis Chamberlain , russ.weight@linux.dev, rafael@kernel.org, linux-kernel@vger.kernel.org, cocci@systeme.lip6.fr Subject: Re: [PATCH vRFC 3/8] treewide: rename firmware_request_platform() Message-ID: <2024022644-trough-humility-12b8@gregkh> References: <20240222180033.23775-1-quic_mojha@quicinc.com> <20240222180033.23775-4-quic_mojha@quicinc.com> <2024022347-ribcage-clench-37c4@gregkh> <2024022323-accustom-eradicate-8af4@gregkh> <2024022452-unwilling-pancake-3b2a@gregkh> 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=us-ascii Content-Disposition: inline In-Reply-To: On Mon, Feb 26, 2024 at 04:22:09PM +0530, Mukesh Ojha wrote: > > > On 2/24/2024 11:06 AM, Greg KH wrote: > > On Fri, Feb 23, 2024 at 11:42:35AM -0800, Luis Chamberlain wrote: > > > On Fri, Feb 23, 2024 at 04:33:40PM +0100, Greg KH wrote: > > > > On Fri, Feb 23, 2024 at 07:15:45AM -0800, Luis Chamberlain wrote: > > > > > On Fri, Feb 23, 2024 at 07:21:31AM +0100, Greg KH wrote: > > > > > > On Thu, Feb 22, 2024 at 11:30:28PM +0530, Mukesh Ojha wrote: > > > > > > > Rename firmware_request_platform() to request_firmware_platform() > > > > > > > to be more concrete and align with the name of other request > > > > > > > firmware family functions. > > > > > > > > > > > > Sorry, but no, it should be "noun_verb" for public functions. > > > > > > > > > > News to me, do we have this documented somewhere? > > > > > > > > Not really, but searching makes it nicer. > > > > > > > > And yes, I violated this in the past in places, and have regretted it... > > > > > > Care to share a few examples of regret? > > > > get_device() > > put_device() > > kill_device() > > > > vs. a saner: > > kobject_get() > > kobject_put() > > kobject_del() > > > > Learn from the mistakes of my youth please :) > > Thanks for the history., > In that case, should we fix this verb_noun cases ? > > request_firmware() > request_firmware_into_buf() > request_firmware_nowarn() > request_firmware_direct() > request_firmware_cache() > request_partial_firmware_into_buf() > release_firmware() That would provide consistency, right? thanks, greg k-h