Linux-ARM-Kernel Archive on
 help / color / Atom feed
From: Sakari Ailus <>
To: "Dongchun Zhu (朱东春)" <>
Cc: "" <>,
	"" <>,
	srv_heupstream <>,
	"Shengnan Wang (王圣男)" <>,
	"" <>,
	"" <>,
	"" <>,
	"Sj Huang (黃信璋)" <>,
	"" <>,
	"" <>,
	"Louis Kuo (郭德寧)" <>,
	"" <>,
	"" <>,
	"Erin Lo (羅雅齡)" <>,
	"" <>
Subject: Re: [PATCH V9 0/2] media: i2c: Add support for DW9768 VCM
Date: Thu, 2 Jul 2020 08:34:49 +0300
Message-ID: <> (raw)
In-Reply-To: <>


Please don't send HTML e-mail to Linux kernel related mailing lists.

On Thu, Jul 02, 2020 at 03:48:56AM +0000, Dongchun Zhu (朱东春) wrote:
>  Hi Sakari,
>  Sorry to bother you again, but I am so confused about the questions you raised.
>  I just synced mainline: 5.8-rc3 tarball from, on which I ran the git am <patch> command.
>  The patch-applying process shows no error.
>  -----------------8<-------------------
>  [mtk15013@mtkslt307 linux]$git apply --check media-i2c-Add-support-for-DW9768-VCM.patch
>  [mtk15013@mtkslt307 linux]$git am media-i2c-Add-support-for-DW9768-VCM.patch
>  Applying: media: dt-bindings: media: i2c: Document DW9768 bindings
>  Applying: media: i2c: dw9768: Add DW9768 VCM driver
>  -----------------8<-------------------
>  On the other hand, I also compared dongwoon,dw9768.yaml file with other media device dt-bindings(like imx219.yaml and ov8856.yaml).
>  It seems there are no apparent differences between them.
>  Especially, the sentence '# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)' shall be common.
>  I dunno why here dongwoon,dw9768.yaml reports trailing whitespace warnings while ov8856.yaml is silent.
>  For the patch failed on MAINTAINERS, I am still curious what's wrong.
>  In fact, I locally have run script to check MAINTAINERS file before submitting patch.
>  The result also reports no errors.
>  -----------------8<-------------------
>  [mtk15013@mtkslt307 linux]$perl scripts/
>  [mtk15013@mtkslt307 linux]$ls
>  -----------------8<-------------------
>  As to Base64 encoding, I checked each patch file again. They are all encoded in UTF-8.
>  As says, for an example, '77' in ASCII format would be changed to 'T' in Based64-encoded format.
>  This means there shall be messy code if we adpoting Based64-encoded format.
>  But I cannot see garbled messages in the current patches.
>  The DW9768 serials-patch is attached.
>  @Tomasz @Andy @Rob could anyone help try to see whether the patch can be cherry-picked on Linux master branch or not?
>  Patchwork link:

Both of the patches appear to contain only ASCII characters.

I did some research on this. It seems that the base64 encoded message body
does have carriage returns, in both cases. Git am does not attempt to
remove them in that case, but Patchwork does. Hence the files are fine if
you download them from Patchwork --- where the mbox files have neither
carriage returns nor base64 encoding.

What does the file command say about the patch files produced by git
format-patch? My guess is that something in between your local computer and
LMML (and other mail servers) base64 encodes the message body. But where
are the carriage returns added? Nevertheless they seem to be added before
the base64 conversion.

I think this is also a git issue, but something that is very hard to


>  ************* MEDIATEK Confidentiality Notice ********************
>  The information contained in this e-mail message (including any
>  attachments) may be confidential, proprietary, privileged, or otherwise
>  exempt from disclosure under applicable laws. It is intended to be
>  conveyed only to the designated recipient(s). Any use, dissemination,
>  distribution, printing, retaining or copying of this e-mail (including its
>  attachments) by unintended recipient(s) is strictly prohibited and may
>  be unlawful. If you are not an intended recipient of this e-mail, or believe
>  that you have received this e-mail in error, please notify the sender
>  immediately (by replying to this e-mail), delete any and all copies of
>  this e-mail (including any attachments) from your system, and do not
>  disclose the content of this e-mail to any other person. Thank you!

Did you mean this?

Kind regards,

Sakari Ailus

linux-arm-kernel mailing list

  parent reply index

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-30  6:22 Dongchun Zhu
2020-06-30  6:22 ` [PATCH V9 1/2] media: dt-bindings: media: i2c: Document DW9768 bindings Dongchun Zhu
2020-06-30  6:22 ` [PATCH V9 2/2] media: i2c: dw9768: Add DW9768 VCM driver Dongchun Zhu
2020-06-30 16:57   ` Tomasz Figa
2020-07-01  9:16 ` [PATCH V9 0/2] media: i2c: Add support for DW9768 VCM Sakari Ailus
     [not found]   ` <>
     [not found]     ` <>
     [not found]       ` <>
2020-07-02  5:10         ` Cao, Bingbu
2020-07-02  5:34         ` Sakari Ailus [this message]
2020-07-02 11:06           ` Dongchun Zhu
2020-07-30 16:39             ` Sakari Ailus
2020-07-31  2:44               ` [SPAM]Re: " Dongchun Zhu
2020-07-31 13:04                 ` Sakari Ailus

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-ARM-Kernel Archive on

Archives are clonable:
	git clone --mirror linux-arm-kernel/git/0.git
	git clone --mirror linux-arm-kernel/git/1.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-arm-kernel linux-arm-kernel/ \
	public-inbox-index linux-arm-kernel

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone