On Wed, May 25, 2011 at 09:05:39AM +0200, Carl-Daniel Hailfinger wrote: > If read_sysfs_file_string() encounters a zero-length file, it will write > '\0' at index -1 of the provided buffer. Handle zero-length files > gracefully by falling through to the error handler which does the right > thing (tm). > > Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@xxxxxxx> Now applied, thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html