Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1300087rbb; Mon, 26 Feb 2024 05:23:14 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX5tpzCxy3/26S2DKo7NMVCCh4xsNVwSYowxCDSZSx9ViYWyUZKkKat6mPikAcr5cDbgJlNb6Mtuu42KRXO8xTe6k9Ejwvgw7ioxvF6cg== X-Google-Smtp-Source: AGHT+IFMTA/ziytnd13QhkniA9bdXWhStQdcgfwerGzxf1BO0KWygWGkathDe8CvL1ajmdDzIaMp X-Received: by 2002:a05:6808:bc1:b0:3c1:9a61:d9f with SMTP id o1-20020a0568080bc100b003c19a610d9fmr5374658oik.21.1708953794101; Mon, 26 Feb 2024 05:23:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708953794; cv=pass; d=google.com; s=arc-20160816; b=vWW29RgmMqT7jqZljzNvzftnSD5Z5vsm/0jNM3GQdjVHy8RCtfOSmgIXY8Nn0MNmOX 9aJ/7r8xxT9JyQLMqsoXvTUvWhUV4fJqT5HSqMFhE/n6bYh9i7llCkKyVenjv+d5yuyM U7P+cDIZzW48Usv2y8QzkR/tfzbacIyJ3E2B/lnWfbTHuvkbhIWf/G3v2l4ZiAsxMKLs 3k8oJL4myZIjug0QF2qCEouRYMsPmq49pSRsjTsCSXliZE/OT6z49+qnIxT2hGiZnaEz LC+gyEsBJQJklMtkm7zy8+qjnE7IIZH75/nOOOoW4hkxOYbT1ZxCZxr4ZkunA/anKGQ+ mTng== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=i9iledkpmb8HlUosuW65FlpRby2/2OjrN74Mvdfba8c=; fh=IxqwN1QwaAGSonuRFSoTEV1SAoifAqw8KOgZpke0fMo=; b=bBMxagcXzn3FBG3mb7H3KPnP76KNraEUpXj7jco1/9D6q1PDPY9dX7TK3uLQD7se9G eP33864w3KJ4Ae4xJ6URMEIZ68CyB0S6ndTR6sFZcGMWgBJJ14EIrz2S+OdGgWxfSiqy SRN8ZNqrW/sSoyPsRC4+hefRdkCYCdXn41yofdihh9HM9CbNAvEKJCEvlcSHqnYVORg3 +m8OQDV/JD48nlmBe2phbBlJy8odNOzCd7KKCN3QlD1oCoXWyb+663Xs77B5BuH+B/1v 56uNr1itlV6fzV8BGmcT+NjmEmNZbiwu4mLPF3U7+i4BdJeOKNsJ2BDV98RGiASdBDYd C4MA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=chVli2vv; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-81473-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81473-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id wl11-20020a05620a57cb00b00787a8f56b91si4915019qkn.544.2024.02.26.05.23.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 05:23:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-81473-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=chVli2vv; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-81473-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81473-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id C50061C28D1B for ; Mon, 26 Feb 2024 13:23:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 470B8127B77; Mon, 26 Feb 2024 13:23:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="chVli2vv" Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (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 B47211CFA9 for ; Mon, 26 Feb 2024 13:23:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708953788; cv=none; b=jgth79PbenokMmx3HCQ+YBU5H+gWSbHnY42lBWT5kKEUD9G+UHfOAF4UGkcRjrVICKMxXRKgac2HmjufEZN9/iEng37QaDIFpfFPGJI2zc9d5Ty3kqVPY+mZynBQnPcMjNaYqistpcwso3xrAiBv/Jg2AGHXse3ca2CuzUkkj20= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708953788; c=relaxed/simple; bh=AcqwwO5JCL52zifJIf6vDuEWWqwcYnJg9aUjnBuMVuE=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=U6XoRanSSHWknVv4QGsAEr9eXu1QexL0RsD2p2hfIOzahNq8C6+eEf8Yvr6Auph2D1JB2AUfDa9aWGVYDAEUHpGDev8uxwUBzEkUj7HYCbCe0A9w9knpibgwBi8kR6roxxbPfiGHgDKPiDqj0Nj3kx1cnAEGl4HrnBywy3HQmQU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=chVli2vv; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 41QAETk2007630; Mon, 26 Feb 2024 13:22:56 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s= qcppdkim1; bh=i9iledkpmb8HlUosuW65FlpRby2/2OjrN74Mvdfba8c=; b=ch Vli2vv79PIP07OXvWzJXxf7UBkvUy/E7GL5otYC/1NHv08Kl8QqJyUWROJwuUv/3 aFyhLH+dvpyAl4Ei7XhXq8QH8Abg4lo96zVYGGo5c4VKuuTC0g45Sj+K/MynTd0H 1T7DSQofRyP2Lw1L+QvR8H7daIlqJjhBg3F2L7ph/VBlZ5oRwPitzqjMrv9NlT6/ T31fS1/9QbgiesMV508DCMIfGfhxoI5dENu4Kn2ZvG3cusDKnuyLBv1E+LEg3LTm NwKv27VoQRLzEmZWc8wk42UcRW/h2r31r50QRb63+79FOrP4g5ped3XWVpKHIU3R uJsJ3s+tiAvC1hK8yahw== Received: from nasanppmta05.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3wgkxpryyb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 26 Feb 2024 13:22:55 +0000 (GMT) Received: from nasanex01c.na.qualcomm.com (nasanex01c.na.qualcomm.com [10.45.79.139]) by NASANPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 41QDMsmZ004336 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 26 Feb 2024 13:22:54 GMT Received: from [10.214.66.81] (10.80.80.8) by nasanex01c.na.qualcomm.com (10.45.79.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Mon, 26 Feb 2024 05:22:52 -0800 Message-ID: Date: Mon, 26 Feb 2024 18:52:49 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH vRFC 3/8] treewide: rename firmware_request_platform() Content-Language: en-US To: Greg KH CC: Luis Chamberlain , , , , 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> <2024022644-trough-humility-12b8@gregkh> From: Mukesh Ojha In-Reply-To: <2024022644-trough-humility-12b8@gregkh> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01c.na.qualcomm.com (10.45.79.139) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: nYApUmDPmRq5u9Z2LBuuRhr0ectVatbN X-Proofpoint-ORIG-GUID: nYApUmDPmRq5u9Z2LBuuRhr0ectVatbN X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-26_09,2024-02-26_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=971 impostorscore=0 lowpriorityscore=0 phishscore=0 malwarescore=0 adultscore=0 priorityscore=1501 bulkscore=0 mlxscore=0 spamscore=0 suspectscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2402120000 definitions=main-2402260101 On 2/26/2024 6:39 PM, Greg KH wrote: > 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? Yes, Below names look better.. firmware_request() firmware_request_into_buf() firmware_request_nowarn() firmware_request_direct() firmware_request_cache() firmware_request_partial_into_buf() firmware_release() @Luis/Others, Can we do this change ? -Mukesh > > thanks, > > greg k-h