]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: heci: fix some sparse warnings
authorGreg Kroah-Hartman <gregkh@suse.de>
Wed, 25 Feb 2009 21:06:49 +0000 (13:06 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Apr 2009 21:54:24 +0000 (14:54 -0700)
commit28f38b6564bfd9b935bf22cf9a6599a03f9e1b8f
tree27ccc9500d710e8579797eb010112160cc3a8e1b
parent56a0864f1267a67303373ad00134c8223d54587c
Staging: heci: fix some sparse warnings

This resolves a lot of the more obvious sparse warnings in the code.

There still are some major problems in the ioctl handlers dealing with
user and kernel pointers that this patch does not resolve, that needs to
be addressed still.

Also, the locking seems to be a bit strange in places, which sparse
points out, that too need to be resolved.

Cc: Anas Nashif <anas.nashif@intel.com>
Cc: Marcin Obara <marcin.obara@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/heci/heci.h
drivers/staging/heci/heci_data_structures.h
drivers/staging/heci/heci_init.c
drivers/staging/heci/heci_main.c
drivers/staging/heci/io_heci.c