Re: [PATCH 2/3] sysfs: sysfs_attr_get_value() writes to a buffer instead of returning a string

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

 



Alan Jenkins wrote:
> This avoids lifetime issues with the returned string, for subsequent changes
> to caching in sysfs.  All callers are changed accordingly.  Many callers
> copied the result to a buffer already, so this actually simplifies some code.
>   

Sorry, my re-implementation of sysfs_attr_get_value() was defective.  It
didn't return cached values correctly.

I suggest you drop these two patches.  I'll fix the bug and update them
to apply on top of the recent libudev/logging changes.

Thanks
Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux