From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751175AbdKTIfh (ORCPT ); Mon, 20 Nov 2017 03:35:37 -0500 Received: from relay12.alfahosting-server.de ([109.237.142.232]:43971 "EHLO relay12.alfahosting-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750932AbdKTIff (ORCPT ); Mon, 20 Nov 2017 03:35:35 -0500 X-Spam-DCC: : From: Richard Leitner To: f.fainelli@gmail.com, fugang.duan@nxp.com, andrew@lunn.ch Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, richard.leitner@skidata.com Subject: [PATCH v2 2/3] include: linux: phy: harmonize phy_id{,_mask} type Date: Mon, 20 Nov 2017 09:34:16 +0100 Message-Id: <20171120083417.32558-3-dev@g0hl1n.net> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171120083417.32558-1-dev@g0hl1n.net> References: <20171120083417.32558-1-dev@g0hl1n.net> Sender: linux-kernel-owner@vger.kernel.org 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 datatype. Signed-off-by: Richard Leitner --- 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