Add a space around the "*" at vme_bridge.h to clear up a checkpatch
check.
Signed-off-by: Matt Jan <[email protected]>
---
Changelog
v2->v3: Resend the patch set in properly threaded and move the patch
changelog to correct position, noted by Greg Kroah-Hartman
<[email protected]>
v1->v2: Resend the correct patch set, noted by Greg Kroah-Hartman
<[email protected]>
drivers/staging/vme_user/vme_bridge.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/vme_user/vme_bridge.h b/drivers/staging/vme_user/vme_bridge.h
index 0bbefe9851d7..e17a8f7de165 100644
--- a/drivers/staging/vme_user/vme_bridge.h
+++ b/drivers/staging/vme_user/vme_bridge.h
@@ -4,7 +4,7 @@
#include "vme.h"
-#define VME_CRCSR_BUF_SIZE (508*1024)
+#define VME_CRCSR_BUF_SIZE (508 * 1024)
/*
* Resource structures
*/
--
2.25.1
Update the bare use of "unsigned" to the preferred "unsigned int".
Signed-off-by: Matt Jan <[email protected]>
---
Changelog
v2->v3: Resend the patch set in properly threaded and move the patch
changelog to correct position, noted by Greg Kroah-Hartman
<[email protected]>
v1->v2: Resend the correct patch set, noted by Greg Kroah-Hartman
<[email protected]>
Align the comment correctly, noted by Dan Carpenter
<[email protected]>
drivers/staging/vme_user/vme_bridge.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/vme_user/vme_bridge.h b/drivers/staging/vme_user/vme_bridge.h
index 5da2643e20d5..11df0a5e7f7b 100644
--- a/drivers/staging/vme_user/vme_bridge.h
+++ b/drivers/staging/vme_user/vme_bridge.h
@@ -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 {
--
2.25.1