From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AE8D1C4CECD for ; Tue, 17 Sep 2019 18:10:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7D65B2171F for ; Tue, 17 Sep 2019 18:10:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1568743822; bh=rSJwj07pvZ3EVYLZRzfUdwVEHgaLbLQKvUUQHP2GWEc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=kjwDig7EDGTkbW4icQgJwCGO7TLS6Ju0TrHVw4BGzJaCPfoeHU/Qbl2/Ns2Mi/Jqj ux1d4g67HQg+cG5vZLVX95dcARfDe/rPfdVJR7o+l9GJkl0sgrwsfYa9lmZLd90SdP 3qyX1p1BC+XwnjqcjCmV/LUz+IGj+KWTs29hV5jY= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727635AbfIQSKV (ORCPT ); Tue, 17 Sep 2019 14:10:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:41192 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727454AbfIQSKV (ORCPT ); Tue, 17 Sep 2019 14:10:21 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 84A6B21670; Tue, 17 Sep 2019 18:10:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1568743821; bh=rSJwj07pvZ3EVYLZRzfUdwVEHgaLbLQKvUUQHP2GWEc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=f2Fe3Jo9Wi/k4Cifc/Q4c6QJhJRc+lNRKdB7lCOCaggiYxGWHOsaj/LCE9X96abvW /HRidO/zLNpeJ0Xw3UAY8ZA2p8BS5JhTz0HO2mZgzmMnPOaH2pDXZ12oF3SOxE3rL8 MIXX50l/7VG3oDQ/u0q0g6blHHbJMOxDZNEHfiNE= Date: Tue, 17 Sep 2019 20:10:18 +0200 From: Greg Kroah-Hartman To: Jean Delvare Cc: stable@vger.kernel.org, Bartosz Golaszewski , Sasha Levin Subject: Re: [BACKPORT] nvmem: Use the same permissions for eeprom as for nvmem Message-ID: <20190917181018.GC1570310@kroah.com> References: <20190917163001.5c775b61@endymion> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190917163001.5c775b61@endymion> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Tue, Sep 17, 2019 at 04:30:01PM +0200, Jean Delvare wrote: > [ Upstream commit e70d8b287301eb6d7c7761c6171c56af62110ea3 ] > > The compatibility "eeprom" attribute is currently root-only no > matter what the configuration says. The "nvmem" attribute does > respect the setting of the root_only configuration bit, so do the > same for "eeprom". > > Signed-off-by: Jean Delvare > Fixes: b6c217ab9be6 ("nvmem: Add backwards compatibility support for older EEPROM drivers.") > Reviewed-by: Bartosz Golaszewski > Cc: Andrew Lunn > Cc: Srinivas Kandagatla > Cc: Arnd Bergmann > Link: https://lore.kernel.org/r/20190728184255.563332e6@endymion > Signed-off-by: Greg Kroah-Hartman > Signed-off-by: Sasha Levin > --- > This is the backport of commit e70d8b287301 "nvmem: Use the same > permissions for eeprom as for nvmem" for stable kernel branches 4.19, > 4.14 and 4.9. Thanks. Now queued up, thanks. greg k-h