Re: [PATCH] i2c: do not use device name after device_unregister

From: Manu Abraham
Date: Wed Jan 13 2010 - 05:38:21 EST


On Wed, Jan 13, 2010 at 2:25 PM, Jean Delvare <khali@xxxxxxxxxxxx> wrote:
> Hi Thadeu,
>
> On Tue, 12 Jan 2010 19:36:43 -0200, Thadeu Lima de Souza Cascardo wrote:
>> dev_dbg outputs dev_name, which is released with device_unregister. This bug
>> resulted in output like this:
>>
>> [ 7860.470713] i2c Xy2ï0: adapter [SMBus I801 adapter at 1880] unregistered
>>
>> The right output would be:
>> [ Â 60.639233] i2c i2c-0: adapter [SMBus I801 adapter at 1880] unregistered
>
> I can't reproduce this bug. Do you have a specific memory poisoning
> option enabled by any chance? And which kernel version are you running
> exactly?


Same thing happens here with 2.6.30.5:

[11984.257365] i2c-adapter kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkï[ïtïï
: adapter [SAA716x I2C Core 0] unregistered

Regards,
Manu
--
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/