From: Dan Carpenter <dan.carpenter@oracle.com>
To: Jignesh R Patel <jigneshpatel0103@gmail.com>
Cc: "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Arve Hjønnevåg" <arve@android.com>,
"Riley Andrews" <riandrews@android.com>,
devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Checkpatch: driver/staging in 4.2.0-rc4: Fix coding style problem
Date: Tue, 28 Jul 2015 13:15:25 +0300 [thread overview]
Message-ID: <20150728101525.GC5180@mwanda> (raw)
In-Reply-To: <1438077513-17898-1-git-send-email-jigneshpatel0103@gmail.com>
The subject isn't right. You aren't patch checkpatch.pl itself you're
patching android.
The version doesn't go in the subject.
The subject is too vague.
On Tue, Jul 28, 2015 at 03:28:33PM +0530, Jignesh R Patel wrote:
> From: Jignesh R Patel <jigneshpatel0103@gmail.com>
Not needed.
>
> This patch fix coding style problem of more then
> 80 character in one line. This patch does not change any
> logic.
>
> Signed-off-by: Jignesh R Patel <jigneshpatel0103@gmail.com>
> ---
> drivers/staging/android/ion/ion_cma_heap.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/staging/android/ion/ion_cma_heap.c b/drivers/staging/android/ion/ion_cma_heap.c
> index 86b91fd..4a9a7bd 100644
> --- a/drivers/staging/android/ion/ion_cma_heap.c
> +++ b/drivers/staging/android/ion/ion_cma_heap.c
> @@ -73,7 +73,8 @@ static int ion_cma_allocate(struct ion_heap *heap, struct ion_buffer *buffer,
> if (!info->table)
> goto free_mem;
>
> - if (dma_get_sgtable(dev, info->table, info->cpu_addr, info->handle, len))
> + if (dma_get_sgtable(dev, info->table, info->cpu_addr,
> + info->handle, len))
This isn't the right way to do it. I suppose the right thing is:
if (dma_get_sgtable(dev, info->table, info->cpu_addr, info->handle,
len))
regards,
dan carpenter
prev parent reply other threads:[~2015-07-28 10:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-28 9:58 [PATCH] Checkpatch: driver/staging in 4.2.0-rc4: Fix coding style problem Jignesh R Patel
2015-07-28 10:15 ` Dan Carpenter [this message]
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=20150728101525.GC5180@mwanda \
--to=dan.carpenter@oracle.com \
--cc=arve@android.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=jigneshpatel0103@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=riandrews@android.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