Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6022148rwd; Mon, 5 Jun 2023 11:46:16 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4dabzUnPwOiFG6bmj6saybZ719itfc5cYlEsrZGpNc+J8aHxBRs0ocj/7JXDmOFfqQmtnR X-Received: by 2002:a05:620a:4d85:b0:75d:a00a:1e1b with SMTP id uw5-20020a05620a4d8500b0075da00a1e1bmr721286qkn.6.1685990776637; Mon, 05 Jun 2023 11:46:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685990776; cv=none; d=google.com; s=arc-20160816; b=ybHQuF4VqOuoFvLLj7LJN8GPepDHwOuTUIqy0GTobyz/RyhNiBXPyGl/2q5PVv/I4c kaGm1tO5VGUbhme85U/0bCQ3/iSgWopawPpDDBq9OSgUFtREAHAUmU9kLvkqQuCEkUJv OKPhAhygEMN4ZbfV+d9+pb18fH7pSVuwMYgLBAAQWXoiR3MoRXsIWtPAYz4PBC9sO1sf vM5DcCV4CLQAl06F0nQtGjqJumMdlFW2syHzPuoXrftftTHt1mWyLd5uLc4thVg3vtfX xnW2COM/Rkhp4A28Qtp20Ev0Eu/4dW6BzdRZl76paFG/C0uSbZOVri1S5QnzlxEnMGUY tJVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=ym644rxSml08YUzSnobkLLYm/6ZRJTj7f5u1zX3Xk+E=; b=k+zhkNI7dEd2shpaXrxF1FA67IiCv7Yond2zjSih2fexNkNmvKieH7khoAmgeShCUV /Gzts91jUAQRX1krSRLIpVZeY4dkachwgm6EvW0T2GcD1tCUYqVe/ApmP71Vp/7fE+2w Jtu1nlWQKdxe86SI5uR0YmrNVuPq0J2wsPC52DEMt3m2LZlhNkrV/GVvwNp3KSFZD5mL TPbJMvFyZNmPDuCEmtail4NaxENj59Zl5Se07bHTlC/lW+e4/oAQ/fx/40qEmm8t6176 /VdPeEXk6oAVK6Q4dHGSzb0s8B6Q0Hzi0ILKGujXdJn8wFPZ3NKtJ7EvGE4ZQuxm/yZr IahA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aDpebFeK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z6-20020a05620a100600b0075d538b03easi2487120qkj.535.2023.06.05.11.46.00; Mon, 05 Jun 2023 11:46:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@kernel.org header.s=k20201202 header.b=aDpebFeK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231146AbjFESVm (ORCPT + 99 others); Mon, 5 Jun 2023 14:21:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229683AbjFESVl (ORCPT ); Mon, 5 Jun 2023 14:21:41 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB62AEC for ; Mon, 5 Jun 2023 11:21:40 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 671376292B for ; Mon, 5 Jun 2023 18:21:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 26B97C433D2; Mon, 5 Jun 2023 18:21:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685989299; bh=XILyVGCrV1RwhErsOtjHXQIissMx6pKKMWDtLGx445Y=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=aDpebFeKwEyDph4I14Q8EevvmAIrdcL5/ji0elqcEhxHJgSCoVdQQO7i9zBDnnE0l XbDbF1xj/g0oVEP8Rn3ramrDpCNjOhDSv9xeeAuLKCSd+KgCwR3my81F8+1/svlnXe sxWym7wKhmrLdgtgn9ca4LqtTCxBFHyKVFnrWOqtt9kTvwvN1JfqktGjQh967wDpAj wZCnGrY29n+B2uF/HRQ/2Qi5ck6C0rGA83nvISrCq/Slmwn7k8npKqw3A7/Qvv7pV6 yIu0UkHPj+nOcvyTpA5RrhwlWdjsMWeiPai/lUkXuNAMQz928gAaC9R495tdAk6r4P FhbOKDx7AlOwA== Date: Mon, 5 Jun 2023 11:21:38 -0700 From: Jakub Kicinski To: Justin Chen Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, davem@davemloft.net, edumazet@google.com, pabeni@redhat.com, bcm-kernel-feedback-list@broadcom.com, florian.fainelli@broadcom.com Subject: Re: [PATCH net-next] ethtool: ioctl: improve error checking for set_wol Message-ID: <20230605112138.7fb4b963@kernel.org> In-Reply-To: <1685566429-2869-1-git-send-email-justin.chen@broadcom.com> References: <1685566429-2869-1-git-send-email-justin.chen@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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-kernel@vger.kernel.org On Wed, 31 May 2023 13:53:49 -0700 Justin Chen wrote: > The netlink version of set_wol checks for not supported wolopts and avoids > setting wol when the correct wolopt is already set. If we do the same with > the ioctl version then we can remove these checks from the driver layer. > > Signed-off-by: Justin Chen If I understand the discussion correctly the patch is ready to be applied. Could you repost it? It has been marked as "changes requested" in patchwork, I'm not 100% sure about the reason.