Received: by 10.223.164.202 with SMTP id h10csp1249358wrb; Sun, 26 Nov 2017 23:17:55 -0800 (PST) X-Google-Smtp-Source: AGs4zMZOrj7QxiB53cs2cXOAyZeZjem+gEhtrk6OWH5hLfxc8kTEAxxCf4XvFwoK0K0+JladCPRJ X-Received: by 10.84.197.35 with SMTP id m32mr2658553pld.214.1511767075606; Sun, 26 Nov 2017 23:17:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511767075; cv=none; d=google.com; s=arc-20160816; b=r+0uKSh8dI4Z6OIr1gQi+D5lWPrNFazHrU0RPSY6kMn2rhdT2wQI6mgKblo7cFi7d4 JzCj3Sp4QyDJSTxg2QBaoZSLL/N0EHu6seY98+UYK3u5cbID1lkGRHSRyGaN4S8zdZez RnPLc4WtSFK63WKRRd3eauj4TGjZJCmO3mLzOfwro5J/d8iVlovbJZ851dhkuxvHzUNa /cZKoTt0Wl2dQyxjK9MMClTtKupiHvi74EyAjij1X2vpijnner+uUnghb8JOWuv7bhDP /YZuZ4ilhBf0to5PN0miZ47NwYpcQscPbqskc92mFS+iXlJ+6OnICAbSO7DiEm7Zp6JS crzw== 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=SoSKpCcK9YFF/IlhpW0ji006ZL1L3ePLZeB7Lhzje6E=; b=EpSLsYU8F3jsLqkGIgz69q/JhtJH3cLOOVid4qK64evkkeRDFaFj+FvWDP54RwgUBt jwdzi/nwdoDWM7DPqcQzZfveA8XR9WaOrH3503NTrKY6OSivcSTaA7ZfqhT1WnvMnoq4 6ejxW5OctLDy/tpUt5Gywq6TYvLHVP4b0ZPscPbBZpGWi/VIlJ+x/I5jLtJ34wc2MfQG UW8vdh2Fo37/Hy7gBm6yCtsYaDTIwzwMt4Umj11E4hD/g036X09v+N268Vq7rSWiACM3 v4FHhMZdf0Z5Fe60sPZaK5+jH49QLZ+ymkVK49fdUeWxEfxvz4hK/pOKZNoFDJ+61G48 SR6w== 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 q29si22530333pgc.795.2017.11.26.23.17.43; Sun, 26 Nov 2017 23:17:55 -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 S1751397AbdK0HRB (ORCPT + 78 others); Mon, 27 Nov 2017 02:17:01 -0500 Received: from relay15.alfahosting-server.de ([109.237.142.229]:51295 "EHLO relay15.alfahosting-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750838AbdK0HQ7 (ORCPT ); Mon, 27 Nov 2017 02:16:59 -0500 Received: by relay01.alfahosting-server.de (Postfix, from userid 1001) id 7475A32C0F78; Mon, 27 Nov 2017 08:16:57 +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 015EE32C0F2B; Mon, 27 Nov 2017 08:16:55 +0100 (CET) Received: from localhost.localdomain (unknown [91.230.2.244]) (Authenticated sender: yes) by alfa3028.alfahosting-server.de (Postfix) with ESMTPA id 63E673BE0003; Mon, 27 Nov 2017 08:16:55 +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 RESEND] net: phy: harmonize phy_id{,_mask} data type Date: Mon, 27 Nov 2017 08:16:45 +0100 Message-Id: <20171127071645.27077-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 Reviewed-by: Florian Fainelli Reviewed-by: Andrew Lunn --- RESEND as suggested by Andrew Lunn --- 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 1585517432280041663@xxx Thu Nov 30 18:40:53 +0000 2017 X-GM-THRID: 1585412127913660831 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread