Loading fs/sysfs/file.c +2 −2 Original line number Diff line number Diff line Loading @@ -91,8 +91,8 @@ static int fill_read_buffer(struct dentry * dentry, struct sysfs_buffer * buffer * indicate truncated result or overflow in normal use cases. */ if (count >= (ssize_t)PAGE_SIZE) { print_symbol("fill_read_buffer: %s returned bad count\n", (unsigned long)ops->show); printk("fill_read_buffer: %pSR returned bad count\n", ops->show); /* Try to struggle along */ count = PAGE_SIZE - 1; } Loading Loading
fs/sysfs/file.c +2 −2 Original line number Diff line number Diff line Loading @@ -91,8 +91,8 @@ static int fill_read_buffer(struct dentry * dentry, struct sysfs_buffer * buffer * indicate truncated result or overflow in normal use cases. */ if (count >= (ssize_t)PAGE_SIZE) { print_symbol("fill_read_buffer: %s returned bad count\n", (unsigned long)ops->show); printk("fill_read_buffer: %pSR returned bad count\n", ops->show); /* Try to struggle along */ count = PAGE_SIZE - 1; } Loading