Received: by 10.223.164.202 with SMTP id h10csp4927665wrb; Tue, 21 Nov 2017 01:54:01 -0800 (PST) X-Google-Smtp-Source: AGs4zMb1lNAZlXZlB0A9679QyRRgCZx7KdfmbEv/37MV6DQFaVWWaXsblAFNu/Ym95C/FDHg3ecR X-Received: by 10.84.238.141 with SMTP id v13mr16962469plk.37.1511258041028; Tue, 21 Nov 2017 01:54:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511258040; cv=none; d=google.com; s=arc-20160816; b=Os/yd0l/R67hVsGMMEAfmNSr4EODpYOs0d+6u+7Ovud1kgiMwHZ6p2izu3uEp4zfV5 3tWTF5RQX3oXBpZMdogtWF/TAnhTsIH3+bCIYfhK3qsww9HgKgrs237E2r+sFmtSyvh6 i414q5fB/vM5j8WQKO1h9qJwwLVBKcn/JoE4yjDgiK3pIQFcaHB8iWTv5uwxaujfYUHE ZSSelqVf8f5YMRjzPIAgNnYwsH4Hd3zsOoaVkCmSuM/effbO56y7B2wJCDzgELoeFG3M E78v/upVJxR/ULkTcPcUFn++5Qh8PSIlZUO6a4MFxJkAKQclrwpnu5aRPInkeHmiT30a bKvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=K55q/cq55dNauUwc43t49QwEaliMkSvihXAS7+pPamc=; b=fsG1pr0wtl1iHDheC9jD1Zzu0R8azqc1U3qKe4PJiQ0XuLg8ebdtkXHD4BYVm4E6Si sftXADEuoWmVGgwJyKWgZ60t5B0zd7/h8krtTk4S5/V+y7ez3zvQJd3Cwmtv3JBOoMFK zMFtYLxVvthlnWug/8NCRYR9qvO+O/7Q3HnHmstqKts0+/y8dMNkuMVP+BbjDWEQn3Nb 7WrnNWGS3poQx29hMBwEkyUCasR65K6n5XQajX0kwhX16/lxlLDtviQbodiV44rueTj4 d48srdvjOiNuR/Zt7fb0SiZbSo8agkTZDLLyx6EjH29+rk/uk8jku30i7o6ILC+RYgNL NzyQ== 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 i3si10220710pgc.833.2017.11.21.01.53.50; Tue, 21 Nov 2017 01:54:00 -0800 (PST) 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 S1751472AbdKUJxI (ORCPT + 72 others); Tue, 21 Nov 2017 04:53:08 -0500 Received: from relay03.alfahosting-server.de ([109.237.142.239]:29887 "EHLO relay03.alfahosting-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751344AbdKUJxG (ORCPT ); Tue, 21 Nov 2017 04:53:06 -0500 Received: by relay01.alfahosting-server.de (Postfix, from userid 1001) id 8D8A132C4E1D; Tue, 21 Nov 2017 10:53:04 +0100 (CET) X-Spam-DCC: : X-Spam-Level: X-Spam-Status: No, score=-1000.0 required=7.0 tests=BAYES_50,D_SENT_WITH_SASL autolearn=disabled version=3.2.5 Received: from alfa3028.alfahosting-server.de (alfa3028.alfahosting-server.de [109.237.138.38]) by relay01.alfahosting-server.de (Postfix) with ESMTPS id 6DCAA32C4DCD; Tue, 21 Nov 2017 10:53:02 +0100 (CET) Received: from localhost.localdomain (unknown [91.230.2.244]) (Authenticated sender: yes) by alfa3028.alfahosting-server.de (Postfix) with ESMTPA id 06DB4430D1D9; Tue, 21 Nov 2017 10:53:02 +0100 (CET) From: Richard Leitner To: f.fainelli@gmail.com, andrew@lunn.ch Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, richard.leitner@skidata.com Subject: [PATCH] net: phy: harmonize phy_id{,_mask} data type Date: Tue, 21 Nov 2017 10:52:56 +0100 Message-Id: <20171121095256.25507-1-dev@g0hl1n.net> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Richard Leitner Previously phy_id was u32 and phy_id_mask was unsigned int. As the phy_id_mask defines the important bits of the phy_id (and is therefore the same size) these two variables should be the same data type. Signed-off-by: Richard Leitner --- This patch is extracted from the "net: ethernet: fec: fix refclk enable for SMSC LAN8710/20" patch series. This was done because this series will be reworked and rebased on not yet merged feature later on. For more details see: https://patchwork.ozlabs.org/cover/839468/ --- include/linux/phy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/phy.h b/include/linux/phy.h index dc82a07cb4fd..e00fd9ce3bce 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h @@ -509,7 +509,7 @@ struct phy_driver { struct mdio_driver_common mdiodrv; u32 phy_id; char *name; - unsigned int phy_id_mask; + u32 phy_id_mask; u32 features; u32 flags; const void *driver_data; -- 2.11.0 From 1584631339330627395@xxx Mon Nov 20 23:56:49 +0000 2017 X-GM-THRID: 1584631339330627395 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread