Skip to contentSkip to conversation

vc04_services: Fixing coding guideline error

PATCH In review Pushkar Jambhlekar 3 participants 5 messages Mar 15, 2017 – Mar 21, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vc04_services: Fixing coding guideline error

Fixing 'if' block coding style. '{' should follow 'if' for multiline block

---
 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c +1 -2
index 48984ab..ca896a5 100644
@@ -797,8 +797,7 @@ int32_t vchi_get_peer_version(const VCHI_SERVICE_HANDLE_T handle, short *peer_ve
 {
 	int32_t ret = -1;
 	SHIM_SERVICE_T *service = (SHIM_SERVICE_T *)handle;
-	if (service)
-	{
+	if (service) {
 		VCHIQ_STATUS_T status;
 
 		status = vchiq_get_peer_version(service->handle, peer_version);
Signature · 1 line
2.7.4
#1 lore raw

Any comment?

Quoted 24 lines · Pushkar Jambhlekar

Fixing 'if' block coding style. '{' should follow 'if' for multiline block

---
 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c +1 -3
index 48984ab..ca896a5 100644
@@ -797,8 +797,7 @@ int32_t vchi_get_peer_version(const VCHI_SERVICE_HANDLE_T handle, short *peer_ve
 {
        int32_t ret = -1;
        SHIM_SERVICE_T *service = (SHIM_SERVICE_T *)handle;
-       if (service)
-       {
+       if (service) {
                VCHIQ_STATUS_T status;
 
                status = vchiq_get_peer_version(service->handle, peer_version);
--

2.7.4

Signature · 2 lines
Jambhlekar Pushkar Arun
M.Tech IIT Roorkee
#2 lore raw
Quoted 3 lines · Pushkar Jambhlekar

Any comment?

On Wed, Mar 15, 2017 at 12:01 PM, Pushkar Jambhlekar

One day's response? Hah, give me a few weeks at best for trivial stuff like this please.

Actually, I totally missed this in my last sweep of staging patches, because you forgot to include "Staging" in the subject line, so it will have to wait a few more days at the earliest.

thanks,

greg k-h