From: Andy Shevchenko <andriy.shevchenko@intel.com>
To: Hamdan Khan <hamdankhan212@gmail.com>
Cc: gregkh@linuxfoundation.org, andy@kernel.org, hansg@kernel.org,
mchehab@kernel.org, sakari.ailus@linux.intel.com,
dave.hansen@linux.intel.com, tony.luck@intel.com,
linux-media@vger.kernel.org, linux-staging@lists.linux.dev,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3] staging: media: atomisp: Fix typos and formatting in headers
Date: Thu, 15 Jan 2026 14:51:14 +0200 [thread overview]
Message-ID: <aWjiwto4BQS8Uudz@smile.fi.intel.com> (raw)
In-Reply-To: <20260115121157.10840-1-hamdankhan212@gmail.com>
On Thu, Jan 15, 2026 at 05:11:57PM +0500, Hamdan Khan wrote:
> This patch updates block and inline comments to follow kernel
> commenting conventions, fixes typos and wording, and reformats
> long comments for clarity and line length consistency.
>
> No functional changes are intended.
...
> -/* DVS 2.0 Coefficient types. This structure contains 4 pointers to
> - * arrays that contain the coefficients for each type.
> +/*
> + * DVS 2.0 Coefficient types. This structure contains 4 pointers to
> + * arrays that contain the coefficients for each type.
> */
> struct atomisp_dvs2_coef_types {
> - short __user *odd_real; /** real part of the odd coefficients*/
> - short __user *odd_imag; /** imaginary part of the odd coefficients*/
> - short __user *even_real;/** real part of the even coefficients*/
> - short __user *even_imag;/** imaginary part of the even coefficients*/
> + short __user *odd_real; /* Real part of the odd coefficients*/
> + short __user *odd_imag; /* Imaginary part of the odd coefficients*/
> + short __user *even_real;/* Real part of the even coefficients*/
> + short __user *even_imag;/* Imaginary part of the even coefficients*/
> };
Have you tried to run kernel-doc script against this file? I believe
it will be a difference between before and after.
If so, it means that it's better to convert the description to be a fully
kernel-doc compliant.
...
> struct atomisp_dvs2_stat_types {
> - int __user *odd_real; /** real part of the odd statistics*/
> - int __user *odd_imag; /** imaginary part of the odd statistics*/
> - int __user *even_real;/** real part of the even statistics*/
> - int __user *even_imag;/** imaginary part of the even statistics*/
> + int __user *odd_real; /* Real part of the odd statistics*/
> + int __user *odd_imag; /* Imaginary part of the odd statistics*/
> + int __user *even_real;/* Real part of the even statistics*/
> + int __user *even_imag;/* Imaginary part of the even statistics*/
> };
Ditto.
...
> struct atomisp_resolution {
> - u32 width; /** Width */
> - u32 height; /** Height */
> + u32 width; /* Width */
> + u32 height; /* Height */
> };
Ditto and so on...
(As for this data type I think it makes sense to research for a substitution
from the existing ones or even cease the existence of atomisp_resolution.)
--
With Best Regards,
Andy Shevchenko
next prev parent reply other threads:[~2026-01-15 12:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-15 12:11 [PATCH v3] staging: media: atomisp: Fix typos and formatting in headers Hamdan Khan
2026-01-15 12:51 ` Andy Shevchenko [this message]
[not found] ` <9980e019-d95a-4618-887c-2126e38cba73@gmail.com>
2026-01-15 16:40 ` Andy Shevchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aWjiwto4BQS8Uudz@smile.fi.intel.com \
--to=andriy.shevchenko@intel.com \
--cc=andy@kernel.org \
--cc=dave.hansen@linux.intel.com \
--cc=gregkh@linuxfoundation.org \
--cc=hamdankhan212@gmail.com \
--cc=hansg@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=mchehab@kernel.org \
--cc=sakari.ailus@linux.intel.com \
--cc=tony.luck@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox