Re: i915: 3.1.0-rc3+: WARNING: at fs/sysfs/dir.c:455 sysfs_add_one+0xb8/0xf0()

From: Lucas De Marchi
Date: Sat Aug 27 2011 - 09:05:29 EST


Hi Sergei,

On Fri, Aug 26, 2011 at 17:30, Sergei Trofimovich <slyich@xxxxxxxxx> wrote:
> Around -rc2+ i've noticed the following warning in dmesg [1]
>
>> WARNING: at fs/sysfs/dir.c:455 sysfs_add_one+0xb8/0xf0()
>> sysfs: cannot create duplicate filename '/devices/pci0000:00/0000:00:02.0/drm/card0/card0-LVDS-1/intel_backlight'
>
> It tries to register backlight twice, so fails miserably.
> The machine is compaq-2510p with 965GM.
>
> Reverting commit aaa6fd2a004147bf32fce05720938236de3361d9 helps.
> ("Not all systems expose a firmware or platform mechanism for changing
> the backlight intensity on i915,  so add native driver support.")
>
> Attached dmesg before reverting the patch and after.
>

There's another patch that fixes this issue:

https://patchwork.kernel.org/patch/1086232/

regards,
Lucas De Marchi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/