From: Dan Carpenter <dan.carpenter@oracle.com>
To: "Cláudio Maia" <crrm@isep.ipp.pt>
Cc: thomas.petazzoni@free-electrons.com, noralf@tronnes.org,
gregkh@linuxfoundation.org, devel@driverdev.osuosl.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] Staging: fbtft: fb_pcd8544: Fixed coding style errors and warnings
Date: Tue, 3 Mar 2015 16:07:55 +0300 [thread overview]
Message-ID: <20150303130754.GO5386@mwanda> (raw)
In-Reply-To: <1425387279-27397-1-git-send-email-crrm@isep.ipp.pt>
On Tue, Mar 03, 2015 at 12:54:38PM +0000, Cláudio Maia wrote:
> The following errors were fixed:
>
> ERROR: code indent should use tabs where possible
> WARNING: line over 80 characters
>
> Signed-off-by: Cláudio Maia <crrm@isep.ipp.pt>
Can you resend these but split up differently.
> + write_reg(par, 0x22);/*
> + 5:1 1
> + 2:0 PD - Powerdown control: chip is active
> + 1:1 V - Entry mode: vertical addressing
> + 0:0 H - Extended instruction set control: basic
> + */
>
These comments are all kinds of whacky looking. You fix them in the 2/2
patch, but we don't want to have this intermidiate whacky looking patch.
Just send them when they look good like in the 2/2 patch.
> @@ -130,7 +133,8 @@ static int write_vmem(struct fbtft_par *par, size_t offset, size_t len)
> gpio_set_value(par->gpio.dc, 1);
> ret = par->fbtftops.write(par, par->txbuf.buf, 6*84);
> if (ret < 0)
> - dev_err(par->info->device, "%s: write failed and returned: %d\n", __func__, ret);
> + dev_err(par->info->device, "%s: write failed and returned: %d\n",
> + __func__, ret);
Do these non-comment fixes in a separate patch. In other words:
[patch 1/2] break up a few long lines
this patch doesn't touch comments
[patch 2/2] make comments look good
this is 1/2 and 2/2 comment changes combined
regards,
dan carpenter
next prev parent reply other threads:[~2015-03-03 13:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-03 12:54 [PATCH 1/2] Staging: fbtft: fb_pcd8544: Fixed coding style errors and warnings Cláudio Maia
2015-03-03 12:54 ` [PATCH 2/2] " Cláudio Maia
2015-03-03 13:07 ` Dan Carpenter [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-03-03 23:47 [PATCH 1/2] " Cláudio Maia
2015-03-04 5:22 ` Sudip Mukherjee
2015-03-04 11:11 Cláudio Maia
2015-03-07 0:45 ` Greg KH
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=20150303130754.GO5386@mwanda \
--to=dan.carpenter@oracle.com \
--cc=crrm@isep.ipp.pt \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=noralf@tronnes.org \
--cc=thomas.petazzoni@free-electrons.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.