RE: [PATCH v2 2/2] Staging: fsl-mc: include: mc: Kernel type 's32' preferred over 'int32_t'

From: Stuart Yoder
Date: Tue Nov 08 2016 - 19:07:31 EST




> -----Original Message-----
> From: Shiva Kerdel [mailto:shiva@xxxxxxxx]
> Sent: Tuesday, November 08, 2016 9:42 AM
> To: Stuart Yoder <stuart.yoder@xxxxxxx>
> Cc: gregkh@xxxxxxxxxxxxxxxxxxx; German.Rivera@xxxxxxxxxxxxx; German Rivera <german.rivera@xxxxxxx>;
> treding@xxxxxxxxxx; itai.katz@xxxxxxx; Nipun Gupta <nipun.gupta@xxxxxxx>; linux-kernel@xxxxxxxxxxxxxxx;
> devel@xxxxxxxxxxxxxxxxxxxx; Shiva Kerdel <shiva@xxxxxxxx>
> Subject: [PATCH v2 2/2] Staging: fsl-mc: include: mc: Kernel type 's32' preferred over 'int32_t'
>
> Follow the kernel type preferrences of using 's32' over 'int32_t'.
>
> Signed-off-by: Shiva Kerdel <shiva@xxxxxxxx>
> ---
> drivers/staging/fsl-mc/include/mc.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/fsl-mc/include/mc.h b/drivers/staging/fsl-mc/include/mc.h
> index a781a36..1c46c0c 100644
> --- a/drivers/staging/fsl-mc/include/mc.h
> +++ b/drivers/staging/fsl-mc/include/mc.h
> @@ -81,7 +81,7 @@ enum fsl_mc_pool_type {
> */
> struct fsl_mc_resource {
> enum fsl_mc_pool_type type;
> - int32_t id;
> + s32 id;
> void *data;
> struct fsl_mc_resource_pool *parent_pool;
> struct list_head node;

Acked-by: Stuart Yoder <stuart.yoder@xxxxxxx>