From: "Gustavo A. R. Silva" <gustavo@embeddedor.com>
To: Daeseok Youn <daeseok.youn@gmail.com>,
Gao Xiang <gaoxiang25@huawei.com>, Chao Yu <yuchao0@huawei.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-erofs@lists.ozlabs.org, devel@driverdev.osuosl.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] staging: erofs: adds a space around '*'
Date: Mon, 8 Oct 2018 14:36:32 +0200 [thread overview]
Message-ID: <61b485f4-539b-0f25-cf3d-574ebb17197c@embeddedor.com> (raw)
In-Reply-To: <20181008114518.GA2475@AD01277334>
Hi,
On 10/8/18 1:45 PM, Daeseok Youn wrote:
> fix checkpatch.pl error:
> ERROR: need consistent spacing around '*' (ctx:WxV)
> + memcpy(vin + PAGE_SIZE *i, t, PAGE_SIZE);
>
> Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
> ---
> drivers/staging/erofs/unzip_vle_lz4.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/erofs/unzip_vle_lz4.c b/drivers/staging/erofs/unzip_vle_lz4.c
> index f5b665f..501cfe0 100644
> --- a/drivers/staging/erofs/unzip_vle_lz4.c
> +++ b/drivers/staging/erofs/unzip_vle_lz4.c
> @@ -181,7 +181,7 @@ int z_erofs_vle_unzip_vmap(struct page **compressed_pages,
> for (i = 0; i < clusterpages; ++i) {
> void *t = kmap_atomic(compressed_pages[i]);
>
> - memcpy(vin + PAGE_SIZE *i, t, PAGE_SIZE);
> + memcpy(vin + PAGE_SIZE * i, t, PAGE_SIZE);
> kunmap_atomic(t);
> }
> } else if (clusterpages == 1)
>
This exact fix was applied to linux-next some days ago:
commit ea0b2d429bd82ec152d286a0c026ebcaa4154ccc
Make sure you are working from linux-next rather than from mainline.
See this link: https://www.kernel.org/doc/man-pages/linux-next.html
Thanks
--
Gustavo
next prev parent reply other threads:[~2018-10-08 13:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-08 11:45 Daeseok Youn
2018-10-08 12:36 ` Gustavo A. R. Silva [this message]
2018-10-09 7:31 ` DaeSeok Youn
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=61b485f4-539b-0f25-cf3d-574ebb17197c@embeddedor.com \
--to=gustavo@embeddedor.com \
--cc=daeseok.youn@gmail.com \
--cc=devel@driverdev.osuosl.org \
--cc=gaoxiang25@huawei.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-erofs@lists.ozlabs.org \
--cc=linux-kernel@vger.kernel.org \
--cc=yuchao0@huawei.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
all inboxes | Powered by JetHome®