]> git.baikalelectronics.ru Git - kernel.git/commitdiff
zram: keep comments within 80-columns limit
authorSergey Senozhatsky <senozhatsky@chromium.org>
Wed, 14 Sep 2022 05:20:33 +0000 (14:20 +0900)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 3 Oct 2022 21:03:09 +0000 (14:03 -0700)
Several trivial fixups (that I should have spotted during review).

Link: https://lkml.kernel.org/r/20220914052033.838050-1-senozhatsky@chromium.org
Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/block/zram/zram_drv.c

index eb021db21ddfbecf4ac3b9af4ad7eefcb6f4f78c..43eeef2b9fbe24defb84c3f0747da44561da870b 100644 (file)
@@ -329,8 +329,8 @@ static ssize_t idle_store(struct device *dev,
 
        if (!sysfs_streq(buf, "all")) {
                /*
-                * If it did not parse as 'all' try to treat it as an integer when
-                * we have memory tracking enabled.
+                * If it did not parse as 'all' try to treat it as an integer
+                * when we have memory tracking enabled.
                 */
                u64 age_sec;
 
@@ -345,7 +345,10 @@ static ssize_t idle_store(struct device *dev,
        if (!init_done(zram))
                goto out_unlock;
 
-       /* A cutoff_time of 0 marks everything as idle, this is the "all" behavior */
+       /*
+        * A cutoff_time of 0 marks everything as idle, this is the
+        * "all" behavior.
+        */
        mark_idle(zram, cutoff_time);
        rv = len;
 
@@ -1416,11 +1419,11 @@ compress_again:
                if (comp_len != PAGE_SIZE)
                        goto compress_again;
                /*
-                * If the page is not compressible, you need to acquire the lock and
-                * execute the code below. The zcomp_stream_get() call is needed to
-                * disable the cpu hotplug and grab the zstrm buffer back.
-                * It is necessary that the dereferencing of the zstrm variable below
-                * occurs correctly.
+                * If the page is not compressible, you need to acquire the
+                * lock and execute the code below. The zcomp_stream_get()
+                * call is needed to disable the cpu hotplug and grab the
+                * zstrm buffer back. It is necessary that the dereferencing
+                * of the zstrm variable below occurs correctly.
                 */
                zstrm = zcomp_stream_get(zram->comp);
        }