if (buf == NULL)
return -ENOMEM;
- len = simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, count);
+ len = simple_write_to_buffer(buf, count, ppos, user_buf, count);
if (len < 0) {
kfree(buf);
return len;
if (buf == NULL)
return -ENOMEM;
- len = simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, count);
+ len = simple_write_to_buffer(buf, count, ppos, user_buf, count);
if (len < 0) {
kfree(buf);
return len;
if (buf == NULL)
return -ENOMEM;
- len = simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, count);
+ len = simple_write_to_buffer(buf, count, ppos, user_buf, count);
if (len < 0) {
kfree(buf);
return len;
if (buf == NULL)
return -ENOMEM;
- len = simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, count);
+ len = simple_write_to_buffer(buf, count, ppos, user_buf, count);
if (len < 0) {
kfree(buf);
return len;
if (buf == NULL)
return -ENOMEM;
- len = simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, count);
+ len = simple_write_to_buffer(buf, count, ppos, user_buf, count);
if (len < 0) {
kfree(buf);
return len;
if (buf == NULL)
return -ENOMEM;
- len = simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, count);
+ len = simple_write_to_buffer(buf, count, ppos, user_buf, count);
if (len < 0) {
kfree(buf);
return len;
if (buf == NULL)
return -ENOMEM;
- len = simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, count);
+ len = simple_write_to_buffer(buf, count, ppos, user_buf, count);
if (len < 0) {
kfree(buf);
return len;
if (buf == NULL)
return -ENOMEM;
- len = simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, count);
+ len = simple_write_to_buffer(buf, count, ppos, user_buf, count);
if (len < 0) {
kfree(buf);
return len;
if (buf == NULL)
return -ENOMEM;
- len = simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, count);
+ len = simple_write_to_buffer(buf, count, ppos, user_buf, count);
if (len < 0) {
kfree(buf);
return len;
if (buf == NULL)
return -ENOMEM;
- len = simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, count);
+ len = simple_write_to_buffer(buf, count, ppos, user_buf, count);
if (len < 0) {
kfree(buf);
return len;
if (buf == NULL)
return -ENOMEM;
- len = simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, count);
+ len = simple_write_to_buffer(buf, count, ppos, user_buf, count);
if (len < 0) {
kfree(buf);
return len;
if (buf == NULL)
return -ENOMEM;
- len = simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, count);
+ len = simple_write_to_buffer(buf, count, ppos, user_buf, count);
if (len < 0) {
kfree(buf);
return len;
if (buf == NULL)
return -ENOMEM;
- len = simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, count);
+ len = simple_write_to_buffer(buf, count, ppos, user_buf, count);
if (len < 0) {
kfree(buf);
return len;
if (buf == NULL)
return -ENOMEM;
- len = simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, count);
+ len = simple_write_to_buffer(buf, count, ppos, user_buf, count);
if (len < 0) {
kfree(buf);
return len;
if (buf == NULL)
return -ENOMEM;
- len = simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, count);
+ len = simple_write_to_buffer(buf, count, ppos, user_buf, count);
if (len < 0) {
kfree(buf);
return len;
if (buf == NULL)
return -ENOMEM;
- len = simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, count);
+ len = simple_write_to_buffer(buf, count, ppos, user_buf, count);
if (len < 0) {
kfree(buf);
return len;
if (buf == NULL)
return -ENOMEM;
- len = simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, count);
+ len = simple_write_to_buffer(buf, count, ppos, user_buf, count);
if (len < 0) {
kfree(buf);
return len;
if (buf == NULL)
return -ENOMEM;
- len = simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, count);
+ len = simple_write_to_buffer(buf, count, ppos, user_buf, count);
if (len < 0) {
kfree(buf);
return len;