[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHp75VcKQGvcgv+72=9CY9yvvmzTDUaiP8xZZzQCyd553_tqYw@mail.gmail.com>
Date: Sun, 22 Jun 2025 23:37:59 +0300
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Abdelrahman Fekry <abdelrahmanfekry375@...il.com>
Cc: andy@...nel.org, hansg@...nel.org, mchehab@...nel.org,
sakari.ailus@...ux.intel.com, gregkh@...uxfoundation.org,
linux-kernel@...r.kernel.org, linux-media@...r.kernel.org,
linux-staging@...ts.linux.dev, skhan@...uxfoundation.org,
linux-kernel-mentees@...ts.linux.dev
Subject: Re: [PATCH v2] staging: media: atomisp: Replace scnprintf with
sysfs_emit in bo_show
On Sun, Jun 22, 2025 at 9:54 AM Abdelrahman Fekry
<abdelrahmanfekry375@...il.com> wrote:
>
> Convert buffer output to use sysfs_emit/sysfs_emit_at API for safer
> PAGE_SIZE handling and standardized sysfs output.
...
> + /* Changing to sysfs_emit changes the behaviour if failed*/
This comment, besides missing the space, is useless here. You need to
use the comment block for the proposed change.
> + offset += sysfs_emit(buf, "type pgnr\n");
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists