seq_file: move doc to README

This commit is contained in:
Ciro Santilli
2018-07-01 16:46:15 +01:00
parent 923f655811
commit 084e3faf5a
9 changed files with 97 additions and 82 deletions

View File

@@ -24,6 +24,9 @@ static ssize_t read(struct file *filp, char __user *buf, size_t len, loff_t *off
ret = -EFAULT;
}
myval <<= 4;
if (myval == 0) {
myval = 1;
}
return ret;
}