From: Sasha Levin <sasha.levin@oracle.com>
To: Youngmin Nam <ym0914@gmail.com>,
Guenter Roeck <linux@roeck-us.net>,
stable <stable@vger.kernel.org>
Cc: Gavin Shan <gwshan@linux.vnet.ibm.com>,
Alan Cox <alan@linux.intel.com>,
Linus Walleij <linus.walleij@linaro.org>
Subject: Re: Build errors in v3.18-stable-queue
Date: Tue, 1 Mar 2016 10:18:17 -0500 [thread overview]
Message-ID: <56D5B2B9.1080602@oracle.com> (raw)
In-Reply-To: <56D57902.9040303@gmail.com>
On 03/01/2016 06:12 AM, Youngmin Nam wrote:
> On 2016년 02월 28일 19:45, Guenter Roeck wrote:
>> Current build results:
>> total: 137 pass: 121 fail: 16
>> Failed builds:
>> arm:allmodconfig
>> arm:omap2plus_defconfig
>> arm:exynos_defconfig
>> arm:s5pv210_defconfig
>> powerpc:defconfig
>> powerpc:allmodconfig
>> powerpc:allnoconfig
>> powerpc:ppc64e_defconfig
>> powerpc:cell_defconfig
>> powerpc:maple_defconfig
>> powerpc:ppc6xx_defconfig
>> powerpc:mpc83xx_defconfig
>> powerpc:tqm8xx_defconfig
>> powerpc:85xx/sbc8548_defconfig
>> powerpc:83xx/mpc834x_mds_defconfig
>> powerpc:86xx/sbc8641d_defconfig
>>
>> Culprits are listed below. Copying the patch authors for advice.
>>
>> Guenter
>>
>> ---
>> powerpc:
>>
>> In file included from arch/powerpc/kernel/of_platform.c:30:0:
>> ./arch/powerpc/include/asm/eeh.h:344:48: error: 'struct pci_dn' declared inside parameter list
>>
>> Culprit: "powerpc/eeh: Do probe on pci_dn"
>>
>> ---
>> arm:
>>
>> drivers/pinctrl/samsung/pinctrl-samsung.c: In function 'samsung_gpio_set':
>> drivers/pinctrl/samsung/pinctrl-samsung.c:551:9: error: implicit declaration of function 'gpiochip_get_data'
>>
>> Culprit: "pinctrl: samsung: fix SMP race condition"
>>
>> drivers/tty/serial/omap-serial.c: In function 'serial_omap_stop_tx':
>> drivers/tty/serial/omap-serial.c:318:10: error: 'struct uart_port' has no member named 'rs485'
>>
>> drivers/tty/serial/omap-serial.c: In function 'serial_omap_probe':
>> drivers/tty/serial/omap-serial.c:1683:10: error: 'struct uart_port' has no member named 'rs485_config'
>>
>> Culprit: "serial/omap: Use the rs485 functions on serial_core"
>
> Thanks Guenter. I think below Linus' patch will also need to fix the build error.
>
> commit b08ea35a3296ee25c4cb53a977b752266dafa2c2
> Author: Linus Walleij <linus.walleij@linaro.org>
> Date: Thu Dec 3 15:14:13 2015 +0100
>
> gpio: add a data pointer to gpio_chip
>
> This adds a void * pointer to gpio_chip so that driver can
> assign and retrieve some states. This is done to get rid of
> container_of() calls for gpio_chips embedded inside state
> containers, so we can remove the need to have the gpio_chip
> or later (planned) struct gpio_device be dynamically allocated
> at registration time, so that its struct device can be properly
> reference counted and not bound to its parent device (e.g.
> a platform_device) but instead live on after unregistration
> if it is opened by e.g. a char device or sysfs.
>
> The data is added with the new function gpiochip_add_data()
> and for compatibility we add static inline wrapper function
> gpiochip_add() that will call gpiochip_add_data() with
> NULL as argument. The latter will be removed once we have
> exorcised gpiochip_add() from the kernel.
>
> gpiochip_get_data() is added as a static inline accessor
> for drivers to quickly get their data out.
>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
>
Hi Youngmin,
This won't be enough as that commit merely adds a field but doesn't add any
usages of that field, so adding that patch into -stable would "fix" the build
error but would break the device itself.
Thanks,
Sasha
next prev parent reply other threads:[~2016-03-01 15:19 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-28 10:45 Build errors in v3.18-stable-queue Guenter Roeck
2016-03-01 0:24 ` Sasha Levin
2016-03-01 1:14 ` Gavin Shan
2016-03-01 2:47 ` Guenter Roeck
2016-03-01 5:06 ` Gavin Shan
2016-03-01 15:19 ` Sasha Levin
2016-03-01 23:17 ` Gavin Shan
2016-03-06 22:38 ` Gavin Shan
2016-03-02 4:31 ` Guenter Roeck
2016-03-01 11:12 ` Youngmin Nam
2016-03-01 15:18 ` Sasha Levin [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-08-25 19:24 build " Guenter Roeck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56D5B2B9.1080602@oracle.com \
--to=sasha.levin@oracle.com \
--cc=alan@linux.intel.com \
--cc=gwshan@linux.vnet.ibm.com \
--cc=linus.walleij@linaro.org \
--cc=linux@roeck-us.net \
--cc=stable@vger.kernel.org \
--cc=ym0914@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.