lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20171011201838.GA4479@kroah.com>
Date:   Wed, 11 Oct 2017 22:18:38 +0200
From:   Greg KH <gregkh@...uxfoundation.org>
To:     Jin Qian <jinqian@...roid.com>
Cc:     Ulf Hansson <ulf.hansson@...aro.org>,
        Shawn Lin <shawn.lin@...k-chips.com>,
        Adrian Hunter <adrian.hunter@...el.com>,
        Linus Walleij <linus.walleij@...aro.org>,
        Jaehoon Chung <jh80.chung@...sung.com>,
        Uri Yanai <uri.yanai@...disk.com>,
        Chanho Min <chanho.min@....com>,
        Jungseung Lee <js07.lee@...sung.com>,
        linux-mmc@...r.kernel.org, linux-kernel@...r.kernel.org,
        Jin Qian <jinqian@...gle.com>
Subject: Re: [PATCH 1/1] ANDROID: mmc: core: export emmc revision

On Wed, Oct 11, 2017 at 12:23:18PM -0700, Jin Qian wrote:
> From: Jin Qian <jinqian@...gle.com>
> 
> Expose emmc revision as part of device attributes.
> 
> Signed-off-by: Jin Qian <jinqian@...roid.com>
> ---
>  drivers/mmc/core/mmc.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c
> index 36217ad5e9b1..4aa4cfb2c9e1 100644
> --- a/drivers/mmc/core/mmc.c
> +++ b/drivers/mmc/core/mmc.c
> @@ -780,6 +780,7 @@ MMC_DEV_ATTR(manfid, "0x%06x\n", card->cid.manfid);
>  MMC_DEV_ATTR(name, "%s\n", card->cid.prod_name);
>  MMC_DEV_ATTR(oemid, "0x%04x\n", card->cid.oemid);
>  MMC_DEV_ATTR(prv, "0x%x\n", card->cid.prv);
> +MMC_DEV_ATTR(rev, "0x%x\n", card->ext_csd.rev);


Is there a Documentation/ABI/ update as well to describe exactly what
this sysfs attribute contains?

thanks,

greg k-h

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ