RE: [PATCH v3 2/2] firmware: stratix10-rsu: query spt addresses

From: Lee, Kah Jing
Date: Tue Jul 25 2023 - 04:54:14 EST


> On 7/20/23 21:34, Lee, Kah Jing wrote:
> > Hi Dinh,
> >
> > Any feedback on this patch ?
> >
>
> Please fix these checkpatch warnings:
>
> CHECK: Alignment should match open parenthesis
Let me fix for those alignment issues and send for v4.

> #64: FILE: drivers/firmware/stratix10-rsu.c:275:
> +static void rsu_get_spt_callback(struct stratix10_svc_client *client,
> + struct stratix10_svc_cb_data *data)
>
> CHECK: Unnecessary parentheses around 'data->status !=
> BIT(SVC_STATUS_OK)'
> #70: FILE: drivers/firmware/stratix10-rsu.c:281:
> + if ((data->status != BIT(SVC_STATUS_OK)) || (*mbox_err) ||
> + (*resp_len != RSU_GET_SPT_RESP_LEN))
>
> CHECK: Alignment should match open parenthesis
> #116: FILE: drivers/firmware/stratix10-rsu.c:626:
> +static ssize_t spt0_address_show(struct device *dev,
> + struct device_attribute *attr, char *buf)
>
> CHECK: Alignment should match open parenthesis
> #130: FILE: drivers/firmware/stratix10-rsu.c:640:
> +static ssize_t spt1_address_show(struct device *dev,
> + struct device_attribute *attr, char *buf)
>
> CHECK: Alignment should match open parenthesis
> #190: FILE: drivers/firmware/stratix10-rsu.c:787:
> + ret = rsu_send_msg(priv, COMMAND_MBOX_SEND_CMD,
> + RSU_GET_SPT_CMD, rsu_get_spt_callback);

Thanks.

Regards,
Lee, Kah Jing