Re: [PATCH] Add sysfs support for the IPMI device interface

From: Dave Jones
Date: Sun May 22 2005 - 01:58:30 EST


On Fri, May 20, 2005 at 08:11:42AM -0700, Linux Kernel wrote:
> tree e327b635e017dfcfd989b203c16ebd55e1d2526b
> parent 45fed46f5b98aaf439e9ef125992ec853cd98499
> author Corey Minyard <minyard@xxxxxxx> Fri, 20 May 2005 08:56:23 +0200
> committer Linus Torvalds <torvalds@xxxxxxxxxxxxxxx> Fri, 20 May 2005 21:58:04 -0700
>
> [PATCH] Add sysfs support for the IPMI device interface
>
> Add support for sysfs to the IPMI device interface.
>
> Clean-ups based on Dimitry Torokovs comment by Philipp Hahn.
>

This doesn't compile..

drivers/char/ipmi/ipmi_devintf.c: In function 'ipmi_new_smi':
drivers/char/ipmi/ipmi_devintf.c:532: warning: passing argument 1 of 'class_simple_device_add' from incompatible pointer type
drivers/char/ipmi/ipmi_devintf.c: In function 'ipmi_smi_gone':
drivers/char/ipmi/ipmi_devintf.c:537: warning: passing argument 1 of 'class_simple_device_remove' makes integer from pointer without a cast
drivers/char/ipmi/ipmi_devintf.c:537: error: too many arguments to function 'class_simple_device_remove'
drivers/char/ipmi/ipmi_devintf.c: In function 'init_ipmi_devintf':
drivers/char/ipmi/ipmi_devintf.c:558: warning: assignment from incompatible pointer type
drivers/char/ipmi/ipmi_devintf.c:566: warning: passing argument 1 of 'class_simple_destroy' from incompatible
pointer type
drivers/char/ipmi/ipmi_devintf.c:580: warning: passing argument 1 of 'class_simple_destroy' from incompatible
pointer type
drivers/char/ipmi/ipmi_devintf.c: In function 'cleanup_ipmi':
drivers/char/ipmi/ipmi_devintf.c:591: warning: passing argument 1 of 'class_simple_destroy' from incompatible
pointer type
make[3]: *** [drivers/char/ipmi/ipmi_devintf.o] Error 1


Dave

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