Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7358283ybi; Mon, 8 Jul 2019 20:14:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqxi02rDfDIL+cJ5Yqtvl0RcT3oKuKCAKXc08vci7X59lJrLnN9+NqIjDEBUcygn2RepJd/i X-Received: by 2002:a65:538d:: with SMTP id x13mr27678377pgq.190.1562642078469; Mon, 08 Jul 2019 20:14:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562642078; cv=none; d=google.com; s=arc-20160816; b=PJnYPlH0nGBuDcYUqQ6MeFscTEGDuwgF2+DHkueV0f5bgM1UxZFpN9e611AjssTniT EbgPgAXptl4iqIOTNrcYEMhrEGJE7n1VS/ozkyoUVEifzBEaGz81q9AeOuXBx1zgMo7u fLSbaoc3/W+ZjywE+DXcNqSslTimKNxFo9mpaFipqIKHevS8ZlLye+3AnsOnouqHMf9X JhE4ZNlfqQO0yC7I7aOgvOyex1WCkfQJFMQDvaTzpOH47IdYDg7R4Rv3lzlN4SNInzah jDYIY1npphZQ+kSoXOiqckWf9ps36DlEPMNCMT86aqYV6t/rZwo4BZW2piwmvxREOmzw gvfQ== 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:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=87A2DQgYpzhKllVxOWREKjv2gqi59AjkH0OY/kS+ARs=; b=B1qbeU9cdOvqmhrGYBwtto2KGZRQcb0tlQ/9qP3vr4ZpQ4vT+ephUzavoqYLnhvAAX KvlFrQPBlAwQvGnnKm1TcwJqxyVL+ob39FLMCBfggL/rCX1xUctlP8+NDhRzhpzqpWLa PqVSgzCSX0gvUrn/krg7qMYqOrtvFDtby7KOTFHgSf8hnpVIh1Mkg6MwgJhNdo4Ut7G7 veIKRIgefVIzDtl7q0r2i0fNBxvyCrqSnfXomkAZZezJHtYCTKXr9BTAj4WgsCVvu20J LulqTCnelp/IU2dBF8jXa6oACbdrer51cPhtedTvxUpcfQvgcim2Jv7ZHS4Yar/qRGuF oPbA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a13si21390806pgt.217.2019.07.08.20.14.23; Mon, 08 Jul 2019 20:14:38 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727314AbfGIDLE (ORCPT + 99 others); Mon, 8 Jul 2019 23:11:04 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:34284 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726089AbfGIDLE (ORCPT ); Mon, 8 Jul 2019 23:11:04 -0400 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::d71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 3FF91133F9EC7; Mon, 8 Jul 2019 20:11:03 -0700 (PDT) Date: Mon, 08 Jul 2019 20:11:02 -0700 (PDT) Message-Id: <20190708.201102.1931743973646074575.davem@davemloft.net> To: huangfq.daxian@gmail.com Cc: andrew@lunn.ch, f.fainelli@gmail.com, hkallweit1@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 14/14] net: phy: Make use of linkmode_mod_bit helper From: David Miller In-Reply-To: <20190708123417.12265-1-huangfq.daxian@gmail.com> References: <20190708123417.12265-1-huangfq.daxian@gmail.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Mon, 08 Jul 2019 20:11:03 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Fuqian Huang Date: Mon, 8 Jul 2019 20:34:17 +0800 > linkmode_mod_bit is introduced as a helper function to set/clear > bits in a linkmode. > Replace the if else code structure with a call to the helper > linkmode_mod_bit. > > Signed-off-by: Fuqian Huang Applied to net-next, thanks.