mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 02:50:43 +00:00
Staging: hv: fix sparse function warnings
This fixes up all of the sparse warnings about functions not being properly declared. Meaning, void functions need to say they are a void function, otherwise the compiler assumes it is an integer here. Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
bd1de70916
commit
1277290666
2 changed files with 2 additions and 4 deletions
|
@ -45,8 +45,7 @@ struct VMBUS_CONNECTION gVmbusConnection = {
|
|||
|
||||
--*/
|
||||
static int
|
||||
VmbusConnect(
|
||||
)
|
||||
VmbusConnect(void)
|
||||
{
|
||||
int ret=0;
|
||||
VMBUS_CHANNEL_MSGINFO *msgInfo=NULL;
|
||||
|
|
|
@ -445,8 +445,7 @@ HvPostMessage(
|
|||
|
||||
--*/
|
||||
static HV_STATUS
|
||||
HvSignalEvent(
|
||||
)
|
||||
HvSignalEvent(void)
|
||||
{
|
||||
HV_STATUS status;
|
||||
|
||||
|
|
Loading…
Reference in a new issue