Skip to content

Commit b7df87c

Browse files
Lee Jonesgregkh
authored andcommitted
misc: ibmasm: command: Demote function headers from kerneldoc
The correct format is not used and no attempt has been made to document the function arguments. Makes sense to just demote the header back down to a simple comment. Fixes the following W=1 warnings: drivers/misc/ibmasm/command.c:106: warning: Function parameter or member 'sp' not described in 'ibmasm_exec_command' drivers/misc/ibmasm/command.c:106: warning: Function parameter or member 'cmd' not described in 'ibmasm_exec_command' drivers/misc/ibmasm/command.c:149: warning: Function parameter or member 'cmd' not described in 'ibmasm_wait_for_response' drivers/misc/ibmasm/command.c:149: warning: Function parameter or member 'timeout' not described in 'ibmasm_wait_for_response' drivers/misc/ibmasm/command.c:162: warning: Function parameter or member 'sp' not described in 'ibmasm_receive_command_response' drivers/misc/ibmasm/command.c:162: warning: Function parameter or member 'response' not described in 'ibmasm_receive_command_response' drivers/misc/ibmasm/command.c:162: warning: Function parameter or member 'size' not described in 'ibmasm_receive_command_response' Cc: "Max Asböck" <amax@us.ibm.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> Link: https://lore.kernel.org/r/20200701083118.45744-7-lee.jones@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 63969cf commit b7df87c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎drivers/misc/ibmasm/command.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ static inline void do_exec_command(struct service_processor *sp)
9494
}
9595
}
9696

97-
/**
97+
/*
9898
* exec_command
9999
* send a command to a service processor
100100
* Commands are executed sequentially. One command (sp->current_command)
@@ -140,7 +140,7 @@ static void exec_next_command(struct service_processor *sp)
140140
}
141141
}
142142

143-
/**
143+
/*
144144
* Sleep until a command has failed or a response has been received
145145
* and the command status been updated by the interrupt handler.
146146
* (see receive_response).
@@ -153,7 +153,7 @@ void ibmasm_wait_for_response(struct command *cmd, int timeout)
153153
timeout * HZ);
154154
}
155155

156-
/**
156+
/*
157157
* receive_command_response
158158
* called by the interrupt handler when a dot command of type command_response
159159
* was received.

0 commit comments

Comments
 (0)