lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 3 Sep 2010 21:24:46 +0200
From:	Dan Carpenter <error27@...il.com>
To:	Gorskin Ilya <revent82@...il.com>
Cc:	gregkh@...e.de, mchehab@...hat.com,
	palash.bandyopadhyay@...exant.com, olimpiu.pascariu@...il.com,
	laurent.pinchart@...asonboard.com, peterhuewe@....de,
	tsg321@...il.com, devel@...verdev.osuosl.org,
	linux-kernel@...r.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

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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ