Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3574690ybl; Mon, 3 Feb 2020 02:51:39 -0800 (PST) X-Google-Smtp-Source: APXvYqzHg9wb+mTdDdT+/qITx1GaYJlFyd80NQOBRvTDZC5/C+12VXpbUqSbzRl8aXwmRSCLCQ7k X-Received: by 2002:a05:6808:a11:: with SMTP id n17mr13884761oij.94.1580727099182; Mon, 03 Feb 2020 02:51:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580727099; cv=none; d=google.com; s=arc-20160816; b=SrPpcqvPJTGK3mZZ+95dJpFzLBSq1vYQHOlfaw91H0sUA489ONbXOqFmjjKcfmVfGp HlJQrVpDsiOHqUpZs8M615xCa07WLjL02fJzTXzavQBuaoixaBXklMANYgOxyp/jr1Fk F9eZRfenL6sbJsh/+p9BdFPFCmS5TBfLAIaUwtD+md6UzqoPzm9KLLic4c1IYccsIb5+ B0q+v0Y73ivoKvX2F6dY4sTl33pdKoR5ExJRyz2IgOlYcqeAy1gn5QigqQpshfcXrcSS AQraiLHmhkqScneo9aurPSVXzhdPxA/GNU2x5keWyuk+sxKBshBDmOp0R8qz8HVuDj+T 6HBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=F22/wXjm1ZePrZPFVWV8v+mZlsgDWgdNT4YutvrgXDs=; b=TEOx7CFaotXPGWRYJIBPFY2wnhD+XTI4ULMjxHml7BnveOeiYC5cEWkjtMyRfvVc2R B+t88CyYMWVthkv0gs75bWDCBz4Nnr07zCWF0CRhewrOnYaOd+j0FVPt1s5nueoc0dmR I0FHqV78vQFWzbTog+Qi458pHg4EQa0pKhrC5qLfLt0RxWvg5DN2w6bGZul20z1UROS1 reFG0W4Eu5d2qaDs5IEGzWtiPFIU3EbWNz6QjhCp+ET2ODPnvxo/EtxTZFoHAQV7b1im CVdNJfPg+zv+lbfLJA06HJCwfwAfu+WWVCrk3Lf+Wxm9sUle92JhyiqCv5c2lQB0LJ99 sbng== 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x6si9261881ota.322.2020.02.03.02.51.26; Mon, 03 Feb 2020 02:51:39 -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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727714AbgBCJWv (ORCPT + 99 others); Mon, 3 Feb 2020 04:22:51 -0500 Received: from mga11.intel.com ([192.55.52.93]:60194 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726244AbgBCJWv (ORCPT ); Mon, 3 Feb 2020 04:22:51 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Feb 2020 01:22:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,397,1574150400"; d="scan'208";a="263351396" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by fmsmga002.fm.intel.com with ESMTP; 03 Feb 2020 01:22:45 -0800 Received: from andy by smile with local (Exim 4.93) (envelope-from ) id 1iyXwM-0004Pw-8z; Mon, 03 Feb 2020 11:22:46 +0200 Date: Mon, 3 Feb 2020 11:22:46 +0200 From: Andy Shevchenko To: "Calvin Johnson (OSS)" Cc: Dan Carpenter , "linux.cj@gmail.com" , Jon Nettleton , Russell King - ARM Linux , Makarand Pawagi , Cristi Sovaiala , Laurentiu Tudor , Ioana Ciornei , Varun Sethi , Pankaj Bansal , "Rajesh V. Bikkina" , Antoine Tenart , "David S. Miller" , Dmitry Torokhov , Greg Kroah-Hartman , Heikki Krogerus , Matteo Croce , Maxime Chevallier , "Rafael J. Wysocki" , Russell King , Sakari Ailus , Thomas Gleixner , Linux Kernel Mailing List , netdev Subject: Re: [PATCH v1 4/7] device property: fwnode_get_phy_mode: Change API to solve int/unit warnings Message-ID: <20200203092246.GX32742@smile.fi.intel.com> References: <20200131153440.20870-1-calvin.johnson@nxp.com> <20200131153440.20870-5-calvin.johnson@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 03, 2020 at 09:13:42AM +0000, Calvin Johnson (OSS) wrote: > > -----Original Message----- > > From: Andy Shevchenko > > Subject: Re: [PATCH v1 4/7] device property: fwnode_get_phy_mode: > > Change API to solve int/unit warnings > > > > On Fri, Jan 31, 2020 at 5:38 PM Calvin Johnson > > wrote: > > > > > > From: Calvin Johnson > > > > > > API fwnode_get_phy_mode is modified to follow the changes made by > > > Commit 0c65b2b90d13c1 ("net: of_get_phy_mode: Change API to solve > > > int/unit warnings"). > > > > I think it would be good to base your series on Dan's fix patch. > > This patch is based on Dan's fix patch https://www.spinics.net/lists/netdev/msg606487.html . > Commit 0c65b2b90d13c1 ("net: of_get_phy_mode: Change API to solve int/unit warnings"). > Can you please give more clarity on what you meant? Please point to me, if there is some > specific patch that you are referring to. Ah, sorry, I meant the "device property: change device_get_phy_mode() to prevent signedess bugs" [1]. It fixes some PHY initialization issues with the existing code (thus, should be backported). [1]: https://lkml.org/lkml/2020/1/31/1 -- With Best Regards, Andy Shevchenko