Received: by 10.223.164.202 with SMTP id h10csp3544218wrb; Mon, 20 Nov 2017 00:38:53 -0800 (PST) X-Google-Smtp-Source: AGs4zMbY1uZJULCoCIGNG4UThuSbnG3ldMmDQU9WvPa8w+RBHPJ26w3ap3mMEB9ymDTmigzHv79M X-Received: by 10.98.60.27 with SMTP id j27mr10522709pfa.68.1511167133433; Mon, 20 Nov 2017 00:38:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511167133; cv=none; d=google.com; s=arc-20160816; b=Uxr4YNkuPJOckcTEhIufwPteLgaAac9zsx3dOajzGqWLtvbR1qVCLhkRbLQgbpHtLH YIiZYav1ItEqQNPgrbiz8n2YXrENVBU0dLDUzBu1J8lykW28gO7sLQGKixWAIMhXkz3N HPlqgIvG0q7cWLw7DuVHyRzhHp1Byy/OgDwx9kaeYsv/sW/PC0skild5SsdEO916VahF 8Idf9Iml3IxE5f8x7sYevU40ZH7LzTmI9sI4+k/Sk0cPMti6+K2DO2Xr5OuCB49fvZ/E YhNWaaoB5hHGU1d6jvkVtarzwNJbXCwYfHAwmI6N9gOXCRjDpceB+5l+R0jWwq4wLYQ5 wDvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=QFWGsSHch8DsYsf1axdiu2ZzqNk1HLmDujac1r0ZQj8=; b=fdyGwwnFtaSzLvqjJ8lsKde5+R+VlWo53Gkpx6yZEV2lKo3e1/Yi4dZayiFZ4xBmYr cpKX6cGZbtHP+Pz/2pjU827ZREf9M105VPgUg+aOfZ9krn1SiQJf4lJNuHTwMH4RRcRZ fytepx+9ojLpI2eCvjmX3hJy15KkDIY6Iam8iAj4Uogp8ocMIRr09z//O3mxYqW+H3Qz qqCr9vbkweGUMbgvsrcszIMrjecrllTiu3rfZX6fGnpMQ2WOFJkl1TPjnixPehTJdcWT POh9r3MnGLnXYxX/DrsyosAQo4hNbgE8Jp7fDbk+7DVZEdxt+RW279ZzVcqqwb48BDF7 ULEQ== 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 az8si7468733plb.717.2017.11.20.00.38.42; Mon, 20 Nov 2017 00:38:53 -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 S1751173AbdKTIfh (ORCPT + 68 others); 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 Received: by relay01.alfahosting-server.de (Postfix, from userid 1001) id 6EDC732C308F; Mon, 20 Nov 2017 09:35:33 +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 30B5D32C31FC; Mon, 20 Nov 2017 09:35:32 +0100 (CET) Received: from localhost.localdomain (unknown [91.230.2.244]) (Authenticated sender: yes) by alfa3028.alfahosting-server.de (Postfix) with ESMTPA id E33C1430D55D; Mon, 20 Nov 2017 09:35:31 +0100 (CET) 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 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 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 From 1584555180924831424@xxx Mon Nov 20 03:46:18 +0000 2017 X-GM-THRID: 1584555180924831424 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread