From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754266AbdBHQcE (ORCPT ); Wed, 8 Feb 2017 11:32:04 -0500 Received: from mga14.intel.com ([192.55.52.115]:18343 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752531AbdBHQbs (ORCPT ); Wed, 8 Feb 2017 11:31:48 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,348,1477983600"; d="scan'208";a="1092388535" Message-ID: <1486571470.2133.404.camel@linux.intel.com> Subject: Re: [PATCH] serial: st-asc: Use new GPIOD API to obtain RTS pin From: Andy Shevchenko To: kbuild test robot , Lee Jones Cc: kbuild-all@01.org, Stephen Rothwell , Greg KH , Linus Walleij , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Boris Brezillon , Alexander Stein Date: Wed, 08 Feb 2017 18:31:10 +0200 In-Reply-To: <201702082123.rT1uJnvr%fengguang.wu@intel.com> References: <201702082123.rT1uJnvr%fengguang.wu@intel.com> Organization: Intel Finland Oy Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.3-1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2017-02-08 at 21:48 +0800, kbuild test robot wrote: > Hi Lee, > > [auto build test ERROR on tty/tty-testing] > [cannot apply to v4.10-rc7 next-20170208] > [if your patch is applied to the wrong git tree, please drop us a note > to help improve the system] > > url:    https://github.com/0day-ci/linux/commits/Lee-Jones/serial-st-a > sc-Use-new-GPIOD-API-to-obtain-RTS-pin/20170208-180609 > base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git > tty-testing > config: x86_64-allmodconfig (attached as .config) > compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 > reproduce: >         # save the attached .config to linux build tree >         make ARCH=x86_64  > It requires to have immutable branch in one of the subsystem which the other one can pull. > All errors (new ones prefixed by >>): > >    drivers/tty/serial/st-asc.c: In function 'asc_set_termios': > > > drivers/tty/serial/st-asc.c:578:12: error: implicit declaration of > > > function 'devm_fwnode_get_gpiod_from_child' [-Werror=implicit- > > > function-declaration] > >        gpiod = devm_fwnode_get_gpiod_from_child(port->dev, >                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >    drivers/tty/serial/st-asc.c:578:10: warning: assignment makes > pointer from integer without a cast [-Wint-conversion] >        gpiod = devm_fwnode_get_gpiod_from_child(port->dev, >              ^ >    cc1: some warnings being treated as errors > > vim +/devm_fwnode_get_gpiod_from_child +578 drivers/tty/serial/st- > asc.c > >    572 } else { >    573 /* If flow-control disabled, it's safe > to handle RTS manually */ >    574 if (!ascport->rts && ascport- > >states[NO_HW_FLOWCTRL]) { >    575 pinctrl_select_state(ascport- > >pinctrl, >    576      ascport- > >states[NO_HW_FLOWCTRL]); >    577 >  > 578 gpiod = > devm_fwnode_get_gpiod_from_child(port->dev, >    579 >  "rts", >    580 >  &np->fwnode, >    581 >  GPIOD_OUT_LOW, > > --- > 0-DAY kernel test infrastructure                Open Source Technology > Center > https://lists.01.org/pipermail/kbuild-all                   Intel > Corporation -- Andy Shevchenko Intel Finland Oy