Merge branch 'for-5.9-console-return-codes' into for-linus
[linux-2.6-microblaze.git] / kernel / printk / printk.c
index 6623e97..4f1dae7 100644 (file)
@@ -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;