Skip to contentSkip to conversation

Staging: fsl-mc: include: mc-bus: Kernel type 's16' preferred over 'int16_t'

PATCH In review Shiva Kerdel 3 participants 7 messages Nov 8, 2016 – Nov 10, 2016 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 Staging: fsl-mc: include: mc-bus: Kernel type 's16' preferred over 'int16_t'

Follow the kernel type preferrences of using 's16' over 'int16_t'.

---
 drivers/staging/fsl-mc/include/mc-bus.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/fsl-mc/include/mc-bus.h +2 -2
index e915574..c7cad87 100644
@@ -42,8 +42,8 @@ struct msi_domain_info;
  */
 struct fsl_mc_resource_pool {
 	enum fsl_mc_pool_type type;
-	int16_t max_count;
-	int16_t free_count;
+	s16 max_count;
+	s16 free_count;
 	struct mutex mutex;	/* serializes access to free_list */
 	struct list_head free_list;
 	struct fsl_mc_bus *mc_bus;
Signature · 1 line
2.10.2
#1 lore raw

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'.

---
 drivers/staging/fsl-mc/include/mc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/fsl-mc/include/mc.h +1 -1
index a781a36..1c46c0c 100644
@@ -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;
Signature · 1 line
2.10.2
Acked-by on v2 2/2
#2 lore raw

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

Quoted 23 lines

-----Original Message-----
From: Shiva Kerdel [mailto:[email protected]]
Sent: Tuesday, November 08, 2016 9:42 AM
To: Stuart Yoder <[email protected]>
Cc: [email protected]; [email protected]; German Rivera <[email protected]>; [email protected]; [email protected]; Nipun Gupta <[email protected]>; [email protected]; [email protected]; Shiva Kerdel <[email protected]>
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'.

---
 drivers/staging/fsl-mc/include/mc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/fsl-mc/include/mc.h +0 -0
index a781a36..1c46c0c 100644

drivers/staging/fsl-mc/include/mc.h enum fsl_mc_pool_type { · line 87

Quoted 8 lines
drivers/staging/fsl-mc/include/mc.h +1 -1
@@ -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 on v2 1/2
#3 lore raw
In reply to Shiva Kerdel
Quoted 23 lines

-----Original Message-----
From: Shiva Kerdel [mailto:[email protected]]
Sent: Tuesday, November 08, 2016 9:42 AM
To: Stuart Yoder <[email protected]>
Cc: [email protected]; [email protected]; German Rivera <[email protected]>; [email protected]; [email protected]; Nipun Gupta <[email protected]>; [email protected]; [email protected]; Shiva Kerdel <[email protected]>
Subject: [PATCH v2 1/2] Staging: fsl-mc: include: mc-bus: Kernel type 's16' preferred over 'int16_t'

Follow the kernel type preferrences of using 's16' over 'int16_t'.

---
 drivers/staging/fsl-mc/include/mc-bus.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/fsl-mc/include/mc-bus.h +0 -0
index e915574..c7cad87 100644

drivers/staging/fsl-mc/include/mc-bus.h struct msi_domain_info; · line 49

Quoted 10 lines
drivers/staging/fsl-mc/include/mc-bus.h +2 -2
@@ -42,8 +42,8 @@ struct msi_domain_info;
  */
 struct fsl_mc_resource_pool {
 	enum fsl_mc_pool_type type;
-	int16_t max_count;
-	int16_t free_count;
+	s16 max_count;
+	s16 free_count;
 	struct mutex mutex;	/* serializes access to free_list */
 	struct list_head free_list;
 	struct fsl_mc_bus *mc_bus;
maintainer
#4 lore raw
In reply to Shiva Kerdel
Quoted 6 lines · Shiva Kerdel

Follow the kernel type preferrences of using 's16' over 'int16_t'.

---
 drivers/staging/fsl-mc/include/mc-bus.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

What is different from your v1 patch?

I'm confused now, I have two different series from you, one 6 patches long, and one 2 patches long, claiming to do the same thing.

I've dropped them both from my patch review queue and please, resend what you really want me to apply :)

thanks,

greg k-h

#5 lore raw

Sorry for this misunderstanding,

Since received a response from Stuart on my previous patch telling me I was probably working on a out-of-date codebase, I started to look where I did go wrong.

After some research I found out that I was always one step behind because I was developing on the actual Linux kernel branch instead of using the Staging-next as my codebase.

He wrote me to sent the patches that still apply over again with a new version tag so that's why this patch only contains 2 of them.

I am still new at contributing to the Linux kernel and some things were not really clear to me at the beginning. I hope that you could still use these patches and I am trying to avoid misunderstandings like these.

Do I still need to resend them and is there anything left for me to do with these?

Best regards,

Shiva Kerdel

Quoted 18 lines · Greg KH
Quoted 6 lines · Shiva Kerdel

Follow the kernel type preferrences of using 's16' over 'int16_t'.

---
  drivers/staging/fsl-mc/include/mc-bus.h | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

What is different from your v1 patch?

I'm confused now, I have two different series from you, one 6 patches long, and one 2 patches long, claiming to do the same thing.

I've dropped them both from my patch review queue and please, resend what you really want me to apply :)

thanks,

greg k-h

maintainer
#6 lore raw
Quoted 13 lines · Shiva Kerdel

Sorry for this misunderstanding,

Since received a response from Stuart on my previous patch telling me I was probably working on a out-of-date codebase,
I started to look where I did go wrong.

After some research I found out that I was always one step behind because I was developing on the actual Linux kernel branch instead
of using the Staging-next as my codebase.

He wrote me to sent the patches that still apply over again with a new version tag so that's why this patch only contains 2 of them.

Quoted 7 lines

I am still new at contributing to the Linux kernel and some things were not really clear to me at the beginning.
I hope that you could still use these patches and I am trying to avoid misunderstandings like these.

Do I still need to resend them and is there anything left for me to do with these?

Please resend, with the acks added, as these are gone from my patch queue.

thanks,

greg k-h