diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/printk/printk.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index 6623e975675a..4f1dae73e1bc 100644 --- a/kernel/printk/printk.c +++ b/kernel/printk/printk.c @@ -943,6 +943,14 @@ out: return ret; } +/* + * Be careful when modifying this function!!! + * + * Only few operations are supported because the device works only with the + * entire variable length messages (records). Non-standard values are + * returned in the other cases and has been this way for quite some time. + * User space applications might depend on this behavior. + */ static loff_t devkmsg_llseek(struct file *file, loff_t offset, int whence) { struct devkmsg_user *user = file->private_data; |