Received: by 10.192.165.148 with SMTP id m20csp4650585imm; Tue, 8 May 2018 11:54:19 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo5A0VVFiQ/zzMK+qnGRjp3B37yjIQaSiq0zIs+1QdpLAnMUwJw3oNbm8sJMuDDUg1jjbdN X-Received: by 10.98.160.150 with SMTP id p22mr41214370pfl.9.1525805659301; Tue, 08 May 2018 11:54:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525805659; cv=none; d=google.com; s=arc-20160816; b=VA/ggMB03JuftSxvhwTdPb3WXd87F36tiv7lbgoWsO+YNVavJkwhURauU4IKBvMm9h J1JfkyT/lhNss/sa8N+IV5H2H5Kwh15xwNpJzIGgcU9ok8WejF027dRQ+sdJw3l9//6/ R7pGDzLAHDXr3b1gkQNgs67fPh8MhhDUttUF91Zwk4SgiP2wCRzjnLSVkubN+oFUZtoR qG883d2H6y0PcklZy54ya7ZXqx+eEsgpCF9W8lb2VePFHPqylcUAsclh3btVIW+8p9fA 71Of0Fxp6Ef9d44J9uKoUkjuY0/FLrO4AhH4cK9I1q6pNOFfFziIlZCkdfAZ3tUqNPfz nygw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:cc:dkim-signature :arc-authentication-results; bh=2bjSg1L5xcqD10nFoDAVMLyoc6zOammPwOiz/FKvI1E=; b=cv1ChYyIVgxKCgZ6uOOvLgOBW1v1BGZf0GiAZBmkvPfdw4rMSbpF9PW7zeq8TuWNBa Wv0ogHCAvdWwugg+jyQ/acs7aUy+vZCX5QYdV7RH57Eh/5gnSxhOZtEHkrL7o/2YxT+q 8R4WI05gzUTT8NsdNLT//Bo8TeAGKPTHbarMOfRmzZwqOGFGM4RpTG4MU3rukAXWKwY8 +HVecuNZZdB5u9Qpranbf+QZKF6WgrtiEkneaZPops7UJtUl5HyNFDXXVmt86XyY/RFZ PfuqJVz7ebbictrhaqc+yOu77PSJTLBL3dernHFOd0oAGOLMAbFfhE3/NzeORdHnlAlT RaMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nGJy/toz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j67-v6si19542085pgc.509.2018.05.08.11.54.04; Tue, 08 May 2018 11:54:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nGJy/toz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755806AbeEHSxs (ORCPT + 99 others); Tue, 8 May 2018 14:53:48 -0400 Received: from mail-it0-f68.google.com ([209.85.214.68]:55791 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754386AbeEHSxp (ORCPT ); Tue, 8 May 2018 14:53:45 -0400 Received: by mail-it0-f68.google.com with SMTP id 144-v6so17356456iti.5; Tue, 08 May 2018 11:53:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=cc:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=2bjSg1L5xcqD10nFoDAVMLyoc6zOammPwOiz/FKvI1E=; b=nGJy/tozmpdslFPuR+oBgiZJeGgocy20K71z414llwe3EPqkf3+7D05nWvgMZDQ2cZ VAsi9Tg+oyO9tZ9cbxWTf0qnKrAG2udol/OT82HUuOYJ7Wb4CGk3/SrNrb7S8HiSI13U INf2DwLJOSG+Q+dmHpQ3Mg7rCOwjlQCz7RnlJv0N/ofAEzJof/6W4OeTTgBihfbYRdFU Cxbwq8wVn6G6qCEGV7bwPV4g4rEM5KQR9BczcPYkykt4v0Oyn2N9FtUcnflytvewko8I uZdKC7zvZ3jKO5XzNtEj35d6R87d5styHzTCnzJb/O2p3+GsVR8MytaZGpM/iXMePPMN mV4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:cc:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=2bjSg1L5xcqD10nFoDAVMLyoc6zOammPwOiz/FKvI1E=; b=rOvCbvJsscDl8NNjzlqsnQ/60yFO5aPwttZ9upZUUQoFGs6fh4pBU4ux5wUgHpsUhS 369AQ3CdCbvf+ptxOiRaW0+DNGivbJ64AdMXl8pXrhATU3dz4CA2VOGqX24FNGcCeBt7 Rk4/l5cvsBnApIj44eCG9lx3A8RaS5izgKxlOv2fizsroDTJmU2pwjtSLse1N0KDCUCN jnMrDYf99QH5RezooE2Tx62ci7kDQTd+jHwVHC5AWMJiNg6W9nM+a/WQOK1a5ZifsJYi 6GE+oww8Zh/Zsjbf2TZbQj/SHl0j2QwBmcywM/GEzDSCLEwSirqvPcFPKBO4U9XiCjNm s4VA== X-Gm-Message-State: ALKqPwdm+6pXZqg5/pdzEahoGZx9okGi/BnTguyxThCOliyk4q3esZUh oSxnSCkxRFLrglC5j7f7TBiNQmCvkCI= X-Received: by 2002:a24:c301:: with SMTP id s1-v6mr7435045itg.100.1525805624185; Tue, 08 May 2018 11:53:44 -0700 (PDT) Received: from [192.168.0.26] (184-175-36-239.dsl.teksavvy.com. [184.175.36.239]) by smtp.gmail.com with ESMTPSA id n102-v6sm6498199ioe.65.2018.05.08.11.53.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 May 2018 11:53:42 -0700 (PDT) Cc: andresx7@gmail.com, akpm@linux-foundation.org, keescook@chromium.org, josh@joshtriplett.org, maco@android.com, andy.gross@linaro.org, david.brown@linaro.org, bjorn.andersson@linaro.org, teg@jklm.no, wagi@monom.org, hdegoede@redhat.com, zohar@linux.vnet.ibm.com, kubakici@wp.pl, shuah@kernel.org, mfuzzey@parkeon.com, dhowells@redhat.com, pali.rohar@gmail.com, tiwai@suse.de, kvalo@codeaurora.org, arend.vanspriel@broadcom.com, zajec5@gmail.com, nbroeking@me.com, markivx@codeaurora.org, broonie@kernel.org, dmitry.torokhov@gmail.com, dwmw2@infradead.org, torvalds@linux-foundation.org, Abhay_Salunke@dell.com, jewalt@lgsinnovations.com, oneukum@suse.com, cantabile.desu@gmail.com, ast@fb.com, hare@suse.com, jejb@linux.vnet.ibm.com, martin.petersen@oracle.com, khc@pm.waw.pl, davem@davemloft.net, arve@android.com, tkjos@android.com, corbet@lwn.net, mchehab+samsung@kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-scsi@vger.kernel.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH v6 13/13] Documentation: clarify firmware_class provenance and why we can't rename the module To: "Luis R. Rodriguez" , gregkh@linuxfoundation.org References: <20180508181247.19431-1-mcgrof@kernel.org> <20180508181247.19431-14-mcgrof@kernel.org> From: Andres Rodriguez Message-ID: <10c2aa7d-eaa5-80f9-f831-7e31762ff149@gmail.com> Date: Tue, 8 May 2018 14:53:39 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180508181247.19431-14-mcgrof@kernel.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018-05-08 02:12 PM, Luis R. Rodriguez wrote: > Clarify the provenance of the firmware loader firmware_class module name > and why we cannot rename the module in the future. > > Signed-off-by: Luis R. Rodriguez > --- > .../driver-api/firmware/fallback-mechanisms.rst | 9 ++++++--- > 1 file changed, 6 insertions(+), 3 deletions(-) > > diff --git a/Documentation/driver-api/firmware/fallback-mechanisms.rst b/Documentation/driver-api/firmware/fallback-mechanisms.rst > index a39323ef7d29..a8047be4a96e 100644 > --- a/Documentation/driver-api/firmware/fallback-mechanisms.rst > +++ b/Documentation/driver-api/firmware/fallback-mechanisms.rst > @@ -72,9 +72,12 @@ the firmware requested, and establishes it in the device hierarchy by > associating the device used to make the request as the device's parent. > The sysfs directory's file attributes are defined and controlled through > the new device's class (firmware_class) and group (fw_dev_attr_groups). > -This is actually where the original firmware_class.c file name comes from, > -as originally the only firmware loading mechanism available was the > -mechanism we now use as a fallback mechanism. > +This is actually where the original firmware_class module name came from, > +given that originally the only firmware loading mechanism available was the > +mechanism we now use as a fallback mechanism, which which registers a Just a tiny repeated word here, "which which". -Andres > +struct class firmware_class. Because the attributes exposed are part of the > +module name, the module name firmware_class cannot be renamed in the future, to > +ensure backward compatibilty with old userspace. > > To load firmware using the sysfs interface we expose a loading indicator, > and a file upload firmware into: >