Skip to contentSkip to conversation

staging: vme_user: replace 'unsigned' with 'unsigned int'

PATCH Superseded Matt Jan 2 participants 2 messages Dec 8, 2022

Subsystems (2)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Matt Jan

author
#0 lore raw

PATCH 2/3 staging: vme_user: replace 'unsigned' with 'unsigned int'

Update the bare use of "unsigned" to the preferred "unsigned int".

---
 drivers/staging/vme_user/vme_bridge.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/vme_user/vme_bridge.h +1 -1
index e17a8f7de165..9a127f6fefca 100644
@@ -84,7 +84,7 @@ struct vme_error_handler {
 	unsigned long long end;		/* End of error window */
 	unsigned long long first_error;	/* Address of the first error */
 	u32 aspace;			/* Address space of error window*/
-	unsigned num_errors;		/* Number of errors */
+	unsigned int num_errors;		/* Number of errors */
 };
 
 struct vme_callback {
Signature · 1 line
2.25.1
#1 lore raw
Quoted 12 lines · Matt Jan

Update the bare use of "unsigned" to the preferred "unsigned int".

---
 drivers/staging/vme_user/vme_bridge.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/vme_user/vme_bridge.h +0 -0
index e17a8f7de165..9a127f6fefca 100644

drivers/staging/vme_user/vme_bridge.h struct vme_error_handler { · line 87

Quoted 5 lines
drivers/staging/vme_user/vme_bridge.h +1 -1
@@ -84,7 +84,7 @@ struct vme_error_handler {
 	unsigned long long end;		/* End of error window */
 	unsigned long long first_error;	/* Address of the first error */
 	u32 aspace;			/* Address space of error window*/
-	unsigned num_errors;		/* Number of errors */
+	unsigned int num_errors;		/* Number of errors */

Now the comment is not aligned correctly.

regards,
dan carpenter