mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-05 20:24:09 +08:00
staging: tidspbridge: rmgr: proc.c: fix checkpatch errors
fixes the following errors ERROR: "foo * bar" should be "foo *bar" +int proc_ctrl(void *hprocessor, u32 dw_cmd, struct dsp_cbdata * arg) ERROR: "foo * bar" should be "foo *bar" +int proc_get_trace(void *hprocessor, u8 * pbuf, u32 max_size) ERROR: space prohibited after that '*' (ctx:ExW) + * hnotification) ^ ERROR: "foo * bar" should be "foo *bar" +int proc_get_processor_id(void *proc, u32 * proc_id) Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f3109117aa
commit
1c824e7faf
@ -488,7 +488,7 @@ func_end:
|
|||||||
* Call the bridge_dev_ctrl fxn with the Argument. This is a Synchronous
|
* Call the bridge_dev_ctrl fxn with the Argument. This is a Synchronous
|
||||||
* Operation. arg can be null.
|
* Operation. arg can be null.
|
||||||
*/
|
*/
|
||||||
int proc_ctrl(void *hprocessor, u32 dw_cmd, struct dsp_cbdata * arg)
|
int proc_ctrl(void *hprocessor, u32 dw_cmd, struct dsp_cbdata *arg)
|
||||||
{
|
{
|
||||||
int status = 0;
|
int status = 0;
|
||||||
struct proc_object *p_proc_object = hprocessor;
|
struct proc_object *p_proc_object = hprocessor;
|
||||||
@ -982,7 +982,7 @@ int proc_get_state(void *hprocessor,
|
|||||||
* This call is destructive, meaning the processor is placed in the monitor
|
* This call is destructive, meaning the processor is placed in the monitor
|
||||||
* state as a result of this function.
|
* state as a result of this function.
|
||||||
*/
|
*/
|
||||||
int proc_get_trace(void *hprocessor, u8 * pbuf, u32 max_size)
|
int proc_get_trace(void *hprocessor, u8 *pbuf, u32 max_size)
|
||||||
{
|
{
|
||||||
int status;
|
int status;
|
||||||
status = -ENOSYS;
|
status = -ENOSYS;
|
||||||
@ -1338,7 +1338,7 @@ func_end:
|
|||||||
*/
|
*/
|
||||||
int proc_register_notify(void *hprocessor, u32 event_mask,
|
int proc_register_notify(void *hprocessor, u32 event_mask,
|
||||||
u32 notify_type, struct dsp_notification
|
u32 notify_type, struct dsp_notification
|
||||||
* hnotification)
|
*hnotification)
|
||||||
{
|
{
|
||||||
int status = 0;
|
int status = 0;
|
||||||
struct proc_object *p_proc_object = (struct proc_object *)hprocessor;
|
struct proc_object *p_proc_object = (struct proc_object *)hprocessor;
|
||||||
@ -1549,8 +1549,8 @@ int proc_stop(void *hprocessor)
|
|||||||
status = node_enum_nodes(hnode_mgr, &hnode, node_tab_size,
|
status = node_enum_nodes(hnode_mgr, &hnode, node_tab_size,
|
||||||
&num_nodes, &nodes_allocated);
|
&num_nodes, &nodes_allocated);
|
||||||
if ((status == -EINVAL) || (nodes_allocated > 0)) {
|
if ((status == -EINVAL) || (nodes_allocated > 0)) {
|
||||||
pr_err("%s: Can't stop device, active nodes = %d \n",
|
pr_err("%s: Can't stop device, active nodes = %d\n",
|
||||||
__func__, nodes_allocated);
|
__func__, nodes_allocated);
|
||||||
return -EBADR;
|
return -EBADR;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1819,7 +1819,7 @@ func_end:
|
|||||||
* Purpose:
|
* Purpose:
|
||||||
* Retrieves the processor ID.
|
* Retrieves the processor ID.
|
||||||
*/
|
*/
|
||||||
int proc_get_processor_id(void *proc, u32 * proc_id)
|
int proc_get_processor_id(void *proc, u32 *proc_id)
|
||||||
{
|
{
|
||||||
int status = 0;
|
int status = 0;
|
||||||
struct proc_object *p_proc_object = (struct proc_object *)proc;
|
struct proc_object *p_proc_object = (struct proc_object *)proc;
|
||||||
|
Loading…
Reference in New Issue
Block a user