Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1651718ybt; Sat, 20 Jun 2020 17:35:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxYvapC3MrfzhBdxIMtQCf0UdrcI6qgPoRXD4BO4qqSUvm6TRqzPpxBYFuP3KR7vV+Repz6 X-Received: by 2002:a17:907:4240:: with SMTP id oi24mr9622259ejb.127.1592699743225; Sat, 20 Jun 2020 17:35:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592699743; cv=none; d=google.com; s=arc-20160816; b=q0Lgl56Wu3s+5djHcztyp3+8RluewPRv3RhTiNYrV/CS2GLpXEXxZjDYxoF6DimALF 4AjVT9RlJYy1tqW6z+2oM0oWlov4mF+tPyzIDV3DFqJVg6lLmZ6BNVlDjMbVxM9q4PUN sA4Ru+CRr/iin+2dzWAckbVjgu+nSdvUy98zEAe3OA/nNprjj0voXw0xq2MXoq0+Su+G T7sW36dLjF98Ct9Y3QbWEYWkqVHk1nM2FL+cjeLyZ8D/aSzti1ran7COej2RYwnXPTVJ KHuJCK+yjUSCcfHT1uncPv2dqkQp8mSDa309J36HIK4BieN9FdHWqpev/XZ5PCdWojvj 7Zmg== 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=begUi7ew5OuuZqJnLoh+yePebJloR//k+QU9VFKDNhA=; b=G4UtvhAKYWiKRS1AbKcrC+YUsPq6vBGOhXFW/ncB2AlcDaNZmx/nzzj/YvzBmRzWMp e8ih6PlhIV4oFSVp6tpL/iy9usJTwlNgAwN9I2ZDGMIAeqLlTOV9DDPe9+0Plc4a5+iK U5LUNyh/Xd4AAkEL0C+NC1Cbc04TZU02UW26tH3T5lmn3s/1eVxpOEp/rj3HxJ2+/pYZ zXU5JJRm9Htt1poMJoZwpurRG8l+eFGJrWLV6YEcdmD+85Lzx+eAolKvGMX+lfY6yJry mToGLSmNO0BE9l8XkIBdS9otGNLv/QRkiNDaiEjj4GCi/YJZpdH/vuLRIwUtaVoVrDde Wgyg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w13si5987020ejj.564.2020.06.20.17.35.20; Sat, 20 Jun 2020 17:35:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728908AbgFUAdg (ORCPT + 99 others); Sat, 20 Jun 2020 20:33:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728641AbgFUAdf (ORCPT ); Sat, 20 Jun 2020 20:33:35 -0400 Received: from shards.monkeyblade.net (shards.monkeyblade.net [IPv6:2620:137:e000::1:9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9829C061794; Sat, 20 Jun 2020 17:33:35 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:601:9f00:477::3d5]) (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 A262B120ED49C; Sat, 20 Jun 2020 17:33:33 -0700 (PDT) Date: Sat, 20 Jun 2020 17:33:33 -0700 (PDT) Message-Id: <20200620.173333.2149618046503257387.davem@davemloft.net> To: rentao.bupt@gmail.com Cc: andrew@lunn.ch, f.fainelli@gmail.com, hkallweit1@gmail.com, linux@armlinux.org.uk, robh+dt@kernel.org, frowand.list@gmail.com, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, taoren@fb.com Subject: Re: [PATCH net-next] of: mdio: preserve phy dev_flags in of_phy_connect() From: David Miller In-Reply-To: <20200618220444.5064-1-rentao.bupt@gmail.com> References: <20200618220444.5064-1-rentao.bupt@gmail.com> X-Mailer: Mew version 6.8 on Emacs 26.3 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]); Sat, 20 Jun 2020 17:33:34 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: rentao.bupt@gmail.com Date: Thu, 18 Jun 2020 15:04:44 -0700 > From: Tao Ren > > Replace assignment "=" with OR "|=" for "phy->dev_flags" so "dev_flags" > configured in phy probe() function can be preserved. > > The idea is similar to commit e7312efbd5de ("net: phy: modify assignment > to OR for dev_flags in phy_attach_direct"). > > Signed-off-by: Tao Ren Applied.