From: Dan Carpenter <error27@gmail.com>
To: Gorskin Ilya <revent82@gmail.com>
Cc: gregkh@suse.de, mchehab@redhat.com,
palash.bandyopadhyay@conexant.com, olimpiu.pascariu@gmail.com,
laurent.pinchart@ideasonboard.com, peterhuewe@gmx.de,
tsg321@gmail.com, devel@driverdev.osuosl.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/3] Staging: cx25821: fix coding style issue in cx25821-audio-upstream.h, cx25821-core.c, cx25821-i2c.c, cx25821-medusa-reg.h, cx25821-medusa-video.c
Date: Fri, 3 Sep 2010 21:24:46 +0200 [thread overview]
Message-ID: <20100903192446.GK5437@bicker> (raw)
In-Reply-To: <1283538384-12227-1-git-send-email-revent82@gmail.com>
On Sat, Sep 04, 2010 at 12:26:24AM +0600, Gorskin Ilya wrote:
> @@ -977,8 +977,8 @@ static int cx25821_dev_setup(struct cx25821_dev *dev)
> dev->lmmio = ioremap(dev->base_io_addr, pci_resource_len(dev->pci, 0));
>
> if (!dev->lmmio) {
> - CX25821_ERR
> - ("ioremap failed, maybe increasing __VMALLOC_RESERVE in page.h\n");
> + CX25821_ERR("ioremap failed,
> + maybe increasing __VMALLOC_RESERVE in page.h\n");
> cx25821_iounmap(dev);
> return -ENOMEM;
> }
You didn't try compile this.
> --- a/drivers/staging/cx25821/cx25821-medusa-video.c
> +++ b/drivers/staging/cx25821/cx25821-medusa-video.c
> @@ -500,8 +500,8 @@ void medusa_set_resolution(struct cx25821_dev *dev, int width,
> /* validate the width - cannot be negative */
> if (width > MAX_WIDTH) {
> printk
> - ("cx25821 %s() : width %d > MAX_WIDTH %d ! resetting to MAX_WIDTH\n",
> - __func__, width, MAX_WIDTH);
> + ("cx25821 %s() : width %d > MAX_WIDTH %d !
> + resetting to MAX_WIDTH\n", __func__, width, MAX_WIDTH);
> width = MAX_WIDTH;
> }
The string is damaged here. We don't want those tabs in the final
output.
Please look the patch over again and resend. There maybe some other
things I missed. Wait a day between writing patches and sending them
so that you can review it with fresh eyes.
regards,
dan carpenter
prev parent reply other threads:[~2010-09-03 19:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-03 18:26 [PATCH 3/3] Staging: cx25821: fix coding style issue in cx25821-audio-upstream.h, cx25821-core.c, cx25821-i2c.c, cx25821-medusa-reg.h, cx25821-medusa-video.c Gorskin Ilya
2010-09-03 19:24 ` 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=20100903192446.GK5437@bicker \
--to=error27@gmail.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@suse.de \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mchehab@redhat.com \
--cc=olimpiu.pascariu@gmail.com \
--cc=palash.bandyopadhyay@conexant.com \
--cc=peterhuewe@gmx.de \
--cc=revent82@gmail.com \
--cc=tsg321@gmail.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