From: Philipp Hortmann <philipp.g.hortmann@gmail.com>
To: Yu Jiaoliang <yujiaoliang@vivo.com>,
Hans de Goede <hdegoede@redhat.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Sakari Ailus <sakari.ailus@linux.intel.com>,
Andy Shevchenko <andy@kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Hans Verkuil <hverkuil-cisco@xs4all.nl>,
Kieran Bingham <kieran.bingham@ideasonboard.com>,
Jonathan Bergh <bergh.jonathan@gmail.com>,
Kate Hsuan <hpa@redhat.com>,
Dipendra Khadka <kdipendra88@gmail.com>,
linux-media@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-staging@lists.linux.dev
Cc: opensource.kernel@vivo.com
Subject: Re: [PATCH v1] media: atomisp: Fix typos in comment
Date: Mon, 23 Sep 2024 07:57:00 +0200 [thread overview]
Message-ID: <84c96000-e198-4502-b37d-0ca15c311968@gmail.com> (raw)
In-Reply-To: <20240923033032.2420839-1-yujiaoliang@vivo.com>
On 9/23/24 5:30 AM, Yu Jiaoliang wrote:
> Corrected typos:
> componnet->component,
> cofiguration->configuration,
> doubtfull->doubtful,
> consisit->consist,
> coppied->copied.
>
> These changes fix the typos in the comment,
> without affecting the functionality.
>
> Signed-off-by: Yu Jiaoliang <yujiaoliang@vivo.com>
> ---
> drivers/staging/media/atomisp/pci/atomisp_v4l2.c | 2 +-
> .../media/atomisp/pci/hive_isp_css_common/host/input_system.c | 2 +-
> drivers/staging/media/atomisp/pci/runtime/binary/src/binary.c | 2 +-
> drivers/staging/media/atomisp/pci/runtime/frame/src/frame.c | 2 +-
> drivers/staging/media/atomisp/pci/sh_css_mipi.c | 2 +-
> 5 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/staging/media/atomisp/pci/atomisp_v4l2.c b/drivers/staging/media/atomisp/pci/atomisp_v4l2.c
> index c9984f1557b0..eb46ba4f4f13 100644
> --- a/drivers/staging/media/atomisp/pci/atomisp_v4l2.c
> +++ b/drivers/staging/media/atomisp/pci/atomisp_v4l2.c
> @@ -55,7 +55,7 @@
> /* G-Min addition: pull this in from intel_mid_pm.h */
> #define CSTATE_EXIT_LATENCY_C1 1
>
> -/* cross componnet debug message flag */
> +/* cross component debug message flag */
> int dbg_level;
> module_param(dbg_level, int, 0644);
> MODULE_PARM_DESC(dbg_level, "debug message level (default:0)");
> diff --git a/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c b/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c
> index 8f2f4e8eddd9..c18f62fe66b3 100644
> --- a/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c
> +++ b/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c
> @@ -406,7 +406,7 @@ input_system_err_t input_system_configuration_reset(void)
> config.unallocated_ib_mem_words = IB_CAPACITY_IN_WORDS;
> //config.acq_allocated_ib_mem_words = 0;
>
> - // Set the start of the session cofiguration.
> + // Set the start of the session configuration.
> config.session_flags = INPUT_SYSTEM_CFG_FLAG_REQUIRED;
>
> return INPUT_SYSTEM_ERR_NO_ERROR;
> diff --git a/drivers/staging/media/atomisp/pci/runtime/binary/src/binary.c b/drivers/staging/media/atomisp/pci/runtime/binary/src/binary.c
> index 7ce2b2d6da11..3bfaf52c5cdd 100644
> --- a/drivers/staging/media/atomisp/pci/runtime/binary/src/binary.c
> +++ b/drivers/staging/media/atomisp/pci/runtime/binary/src/binary.c
> @@ -951,7 +951,7 @@ int ia_css_binary_find(struct ia_css_binary_descr *descr, struct ia_css_binary *
> unsigned int i;
>
> assert(descr);
> - /* MW: used after an error check, may accept NULL, but doubtfull */
> + /* MW: used after an error check, may accept NULL, but doubtful */
> assert(binary);
>
> dev_dbg(atomisp_dev, "ia_css_binary_find() enter: descr=%p, (mode=%d), binary=%p\n",
> diff --git a/drivers/staging/media/atomisp/pci/runtime/frame/src/frame.c b/drivers/staging/media/atomisp/pci/runtime/frame/src/frame.c
> index 2d7fddb114f6..0ab83e1b51b8 100644
> --- a/drivers/staging/media/atomisp/pci/runtime/frame/src/frame.c
> +++ b/drivers/staging/media/atomisp/pci/runtime/frame/src/frame.c
> @@ -362,7 +362,7 @@ void ia_css_frame_free_multiple(unsigned int num_frames,
> int ia_css_frame_allocate_with_buffer_size(struct ia_css_frame **frame,
> const unsigned int buffer_size_bytes)
> {
> - /* AM: Body coppied from frame_allocate_with_data(). */
> + /* AM: Body copied from frame_allocate_with_data(). */
> int err;
> struct ia_css_frame *me = frame_create(0, 0,
> IA_CSS_FRAME_FORMAT_NUM,/* Not valid format yet */
> diff --git a/drivers/staging/media/atomisp/pci/sh_css_mipi.c b/drivers/staging/media/atomisp/pci/sh_css_mipi.c
> index 80f0395cc560..710744ff0b24 100644
> --- a/drivers/staging/media/atomisp/pci/sh_css_mipi.c
> +++ b/drivers/staging/media/atomisp/pci/sh_css_mipi.c
> @@ -169,7 +169,7 @@ ia_css_mipi_frame_calculate_size(const unsigned int width,
> /* ceil(words_per_odd_line/8); mem_word = 32 bytes, 8 words */
> mem_words_for_first_line = (words_for_first_line + 7) >> 3;
> mem_words_per_even_line = (words_per_even_line + 7) >> 3;
> - mem_words_for_EOF = 1; /* last line consisit of the optional (EOL) and EOF */
> + mem_words_for_EOF = 1; /* last line consist of the optional (EOL) and EOF */
>
> mem_words = ((embedded_data_size_words + 7) >> 3) +
> mem_words_for_first_line +
Hi Jiaoliang,
I cannot apply your patch:
Applying: media: atomisp: Fix typos in comment
error: patch failed:
drivers/staging/media/atomisp/pci/runtime/binary/src/binary.c:951
error: drivers/staging/media/atomisp/pci/runtime/binary/src/binary.c:
patch does not apply
Patch failed at 0001 media: atomisp: Fix typos in comment
Are you using the right git repo?
git remote show origin
* remote origin
Fetch URL:
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
...
git branch -a
my branch: staging-testing
Please rebase.
Thanks.
Bye Philipp
next prev parent reply other threads:[~2024-09-23 5:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-23 3:30 [PATCH v1] media: atomisp: Fix typos in comment Yu Jiaoliang
2024-09-23 5:44 ` Philipp Hortmann
2024-09-23 8:28 ` Andy Shevchenko
2024-09-23 5:57 ` Philipp Hortmann [this message]
2024-09-23 8:26 ` Andy Shevchenko
2024-09-23 8:32 ` Andy Shevchenko
2024-09-23 8:30 ` Andy Shevchenko
2024-11-04 11:11 ` Hans de Goede
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=84c96000-e198-4502-b37d-0ca15c311968@gmail.com \
--to=philipp.g.hortmann@gmail.com \
--cc=andy@kernel.org \
--cc=bergh.jonathan@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=hdegoede@redhat.com \
--cc=hpa@redhat.com \
--cc=hverkuil-cisco@xs4all.nl \
--cc=kdipendra88@gmail.com \
--cc=kieran.bingham@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=mchehab@kernel.org \
--cc=opensource.kernel@vivo.com \
--cc=sakari.ailus@linux.intel.com \
--cc=yujiaoliang@vivo.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