Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1144374pxb; Tue, 29 Mar 2022 18:33:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx2yuiK6kdamJlUQum5/9jsgkh7z+kpqDDQ92RTtWJc5cJbak8nkYqbAGIgojlMkxF22vZf X-Received: by 2002:a17:906:dc8b:b0:6df:7a71:1321 with SMTP id cs11-20020a170906dc8b00b006df7a711321mr36815576ejc.476.1648603993050; Tue, 29 Mar 2022 18:33:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648603993; cv=none; d=google.com; s=arc-20160816; b=AQkwFuGwuWJq9KxwGUplEQZDANEQV8/LaHhj6xfKnDyHgThNZ2+4zFvuhY96m39BF2 pyjIIwE8qnLwgbJl77zshNJ0KcLLmnZm65u55PBUjgJQ6lDL2qZoBM2yI1+CtjcLu4/7 6o3LmDB/xQeEgZIF1kYPdsVslGbrYI47cuqFlL/ceBwScxDt9L1SS3lKWS5tTxcS90Nj x1/W8W1dQAxghyHQgWYIKjuEofBda9yPEp+S8goZaibLu+b/noe+6EtrOi6I/KB7uQ9n lYCV6SWRd80ee6SseWBDYD9Q4cADbTT94X4YE74O/K4V39DxJk1bAmN6NrhFvz08HYee ki8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=hzi1FzomdAULOyBXwNP7g2Uh52fOnO3V72+UwxY5uuQ=; b=NUpDbcDr3hLTdRt3CNu17u4/+/Gur4gCzBVWZMOumjx1t4gq/5EdNvOEOza9/Kw4lb wEQfH5C6CZCTZJC48W79PQRK6/VH/d75jfPcHxKdRcHnB2emnLjHEXGZzYqygF1DTELd 19qRK2NF9TvGz2OXNsoWA1v48mJs/tLoyi9sIHDf1cy6z+Fxh7KbxhyhPkubmoCoa9oq Cy0vkGjdlcbzQlfdnbNcjWEKNT8G3xp34v3yOmysVnIIO1M/f8brzt03i2NrGvz+H7yx 44RKwAHRcZ4S5f8w9w14+RSGik5lc7rlVCsBa5VvrSLAvUWr/1hcxYzXbZKacRw4CUgD VfWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=S+Goxo4l; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y16-20020a056402271000b00418c2b5bd62si721711edd.68.2022.03.29.18.32.55; Tue, 29 Mar 2022 18:33:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=S+Goxo4l; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-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 S231966AbiC2Unu (ORCPT + 68 others); Tue, 29 Mar 2022 16:43:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231802AbiC2Unt (ORCPT ); Tue, 29 Mar 2022 16:43:49 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 676B9B7C4D; Tue, 29 Mar 2022 13:42:06 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id p15so32350637lfk.8; Tue, 29 Mar 2022 13:42:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hzi1FzomdAULOyBXwNP7g2Uh52fOnO3V72+UwxY5uuQ=; b=S+Goxo4lVfLQQ3lRg3nm/Y6v/WqihXvE9F4OUYyggVB9j3uTMS5917y17hUsgAiw5e xjj8GPg2AONq5x7Yd/SeXn30SkpCczKlVRU74Zm/VrKXyKdluHa0woq/ausGBEDJ6mCc WK0AF0jxb/JIa9XYZ5pzCEf8LWwFEPXTMRlSDkzPUKgP1E8dckVn3jwypN+cGydQ2eAQ TdMPR66XL2SJ/4WgHHpLrS5i6mPp/BXXFrz3k8qEhoeKpnGKXDv1c8FA8q8uLg2yRDMn ppH1vs293L3s4rHfUNYc6WyCrLZ0EtKsGs+C8WtzoHeOPzaOoLsHksdL+YU/Q5msJyOW Xzmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hzi1FzomdAULOyBXwNP7g2Uh52fOnO3V72+UwxY5uuQ=; b=SG5Sy/Mm+jcHSyJer6sDM4gI5Lb1BCkGAh/UeXbBJrlUZnjRDbLcdMSb8WaRI3nBsN AsJt6Xgc3+Ag3lFRhmt9R03ycHIZu2+cTGUzUP/enMRcHY6K8qy71gstaKvWDnEzm6zG LuMjXEaKLzoRvdLGX/SeME8S8ORrnQe8wEfwurxMHQPbimSOWcS+KRoxDsOlxOStvW3M JIFsZ23L+TKFWia3C/Nu4YiekLNIGQvYqNle8w4hCbCgS2FOz5j3fT6McMRTgL8n219c BO35O1jJ4KUQjtJPH/VMiUAQA50XK6r0uVvCkjfH1Bl1DPho76tNCGLenMK0PX07I4mi Fa4Q== X-Gm-Message-State: AOAM533qsSzr52Aj0md1V5tWpwWpytWJ36DKgITp6iGR76mwfa3aexJ1 jH0hedVxc7Fbf+eyu+KIH0DtkhXDvFj4IDAVN8Y0B+Vgztk= X-Received: by 2002:a05:6512:3f99:b0:447:1ef5:408a with SMTP id x25-20020a0565123f9900b004471ef5408amr4438505lfa.490.1648586524613; Tue, 29 Mar 2022 13:42:04 -0700 (PDT) MIME-Version: 1.0 References: <20220325074141.17446-1-tangmeng@uniontech.com> In-Reply-To: <20220325074141.17446-1-tangmeng@uniontech.com> From: Stanislav Yakovlev Date: Tue, 29 Mar 2022 16:41:51 -0400 Message-ID: Subject: Re: [PATCH] ipw2200: Fix permissions setted by DEVICE_ATTR To: Meng Tang Cc: kvalo@kernel.org, Jakub Kicinski , pabeni@redhat.com, wireless , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Fri, 25 Mar 2022 at 03:42, Meng Tang wrote: > > Because xcode_version and rtc only implement the show function > and do not provide the store function, so ucode_version and rtc > only need the read permission, not need the write permission more. > > So, remove the write permission from xcode_version and rtc. > > Signed-off-by: Meng Tang > --- > drivers/net/wireless/intel/ipw2x00/ipw2200.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Looks fine, thanks! Stanislav.