Re: [RESEND][PATCH] early platform drivers V2

From: Andrew Morton
Date: Wed Jan 14 2009 - 17:48:23 EST


On Wed, 14 Jan 2009 19:54:36 +0900
Magnus Damm <magnus.damm@xxxxxxxxx> wrote:

> This patch is V2 of the early platform driver implementation.

Is this checkpatch whine:

WARNING: consider using strict_strtoul in preference to simple_strtoul
#112: FILE: drivers/base/platform.c:1017:
+ id = simple_strtoul(buf +

total: 0 errors, 1 warnings, 201 lines checked

appropriate?

If the user provided "43foo", do we want to treat that as 42, or as
error?

If the user provided just "foo" then afacit we'll currently treat that
as zero.


<this is all mad guesswork, as I don't have any idea what the user
interfacce to this feature looks like>

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