staging: vc04_services: Fixed checkpatch warning: MSLEEP: msleep < 20ms can sleep for up to 20ms.
Subsystems (2)
PATCH 1/1 staging: vc04_services: Fixed checkpatch warning: MSLEEP: msleep < 20ms can sleep for up to 20ms.
--- drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c +2 -2
@@ -857,7 +857,7 @@ vchiq_bulk_transmit(unsigned int handle, const void *data, unsigned int size,if (status !=VCHIQ_RETRY )break ; -msleep (1 ); +usleep_range (1000 ,2000 ); }return status;
@@ -894,7 +894,7 @@ enum vchiq_status vchiq_bulk_receive(unsigned int handle, void *data,if (status !=VCHIQ_RETRY )break ; -msleep (1 ); +usleep_range (1000 ,2000 ); }return status;
Signature · 1 line
2.25.1
Quoted 1 line · Kushal-kothari
Signed-off-by Kushal-kothari <[email protected]>
You need a log message. The whole thing should not be in the subject line. The description of the change should be written in the imperative, that is Fix instead of Fixed. But in any case Fix is not a good word to use because it does not explain what you have done. What fix have you implemented. The log message should explain what you have done and why.
Please carefully read the entire page:
https://kernelnewbies.org/PatchPhilosophy
Please check your patch against what is suggested.
julia
Quoted 34 lines
--- drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c +2
-3@@ -857,7 +857,7 @@ vchiq_bulk_transmit(unsigned int handle, const void *data, unsigned int size,if (status !=VCHIQ_RETRY )break ; -msleep (1 ); +usleep_range (1000 ,2000 ); }return status;@@ -894,7 +894,7 @@ enum vchiq_status vchiq_bulk_receive(unsigned int handle, void *data,if (status !=VCHIQ_RETRY )break ; -msleep (1 ); +usleep_range (1000 ,2000 ); }return status; --2.25.1
--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20211016215527.119189-1-kushalkothari285%40gmail.com.