Re: [RFD] does abi of sysfs of gpio change?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, Linus

On 25 February 2016 at 23:12, Linus Walleij <linus.walleij@xxxxxxxxxx> wrote:
> On Wed, Feb 24, 2016 at 3:35 PM, Bamvor Zhang Jian
> <bamvor.zhangjian@xxxxxxxxxx> wrote:
>
>> I am working on writing a gpio mockup driver(for test the gpio framework).
>> I found that in the lastest for-next branch of linux-gpio, the path of gpiochip
>> in device directory is changed from
>> `/sys/devices/platform/gpio-mockup/gpio/gpiochip*`
>> to
>> `/sys/devices/platform/gpio-mockup/gpiochip*/gpio`.
> (...)
>> IIUC, this change may break the script which depend on it.
>> Is it intended to do it?
>
> No, I screwed up :(
>
>> From be7699ddea0fd0e2b0712cc8f50318595cad553c Mon Sep 17 00:00:00 2001
>> From: Bamvor Jian Zhang <bamvor.zhangjian@xxxxxxxxxx>
>> Date: Wed, 24 Feb 2016 22:17:19 +0800
>> Subject: [PATCH] fix abi changes of sysfs
>
> It was impossible to extract this patch because of some
> HTML formatting, but I rewrote the patch, adding some extra
> comments and commit message, and applied. Check the result
> in my devel branch.
I test this patch in your devel branch. It works for me.
And I found that I could not boot qemu-system-aarch64 on your
devel branch. It works if I rebase those(105) patches to 4.5-rc4.
It is ok before 4.5 either.
Maybe there is some bug for support qemu in 4.5-rc1. But It is
not relative the patches of gpio in devel branch.
>
> I also have a bad conscience for not looking at you patches,
> I've been swamped, sorry :(
Glad to know I could help. I find other issue when I try to test
my gpio mockup driver base on the latest code.
I will start a new thread to discuss it.

Regards

Bamvor
>
> Yours,
> Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux