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]
Message-ID: <20100211183417.GS9007@buzzloop.caiaq.de>
Date:	Thu, 11 Feb 2010 19:34:17 +0100
From:	Daniel Mack <daniel@...aq.de>
To:	Jonathan Cameron <jic23@....ac.uk>
Cc:	LKML <linux-kernel@...r.kernel.org>,
	Jean Delvare <khali@...ux-fr.org>,
	Zhang Rui <rui.zhang@...el.com>,
	Amit Kucheria <amit.kucheria@...durent.com>
Subject: Re: [PATCH] isl29003: Move from misc to als now it available with
 minimal changes

Hi Jonathan,

On Sat, Dec 12, 2009 at 06:00:51PM +0000, Jonathan Cameron wrote:
>  I originally offered to move this to IIO, but ALS is more appropriate.
>  There are a couple of attibutes in here that don't correspond directly
>  to any currently in ALS. Feel free to offer suggestions for renames etc
>  on these, but I'd prefer to see them in a second patch allowing us to
>  keep things in this movement patch nice and clean. Will do api help
>  once these are pinned down.

Thanks again for doing this. I gave that ported driver a quick test and
it seems to work fine. Just one thing below ...

> diff --git a/drivers/misc/isl29003.c b/drivers/als/isl29003.c
> similarity index 90%
> rename from drivers/misc/isl29003.c
> rename to drivers/als/isl29003.c
> index a71e245..2ab188e 100644
> --- a/drivers/misc/isl29003.c
> +++ b/drivers/als/isl29003.c
> @@ -31,9 +31,10 @@
>  #include <linux/i2c.h>
>  #include <linux/mutex.h>
>  #include <linux/delay.h>
> +#include <linux/als_sys.h>

You need linux/err.h here. Without that, it breaks at compile time on a
PXA board as 'PTR_ERR' and 'IS_ERR' are undefined.

Apart from that:

Acked-by: Daniel Mack <daniel@...aq.de>

--
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