[PATCH] staging: greybus: firmware: Move logical AND to previous line

Abhinav Krishna C K posted 1 patch 2 months, 3 weeks ago
drivers/staging/greybus/Documentation/firmware/firmware.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] staging: greybus: firmware: Move logical AND to previous line
Posted by Abhinav Krishna C K 2 months, 3 weeks ago
Fix checkpatch CHECK:
    "Logical continuations should be on the previous line"
 in firmware.c:123

Signed-off-by: Abhinav Krishna C K <me@abhy.me>

---

Hello, this is my first patch, I appreciate any feedback, Thanks!
---
 drivers/staging/greybus/Documentation/firmware/firmware.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/greybus/Documentation/firmware/firmware.c b/drivers/staging/greybus/Documentation/firmware/firmware.c
index 765d69faa9cc..e8fb2f575cd5 100644
--- a/drivers/staging/greybus/Documentation/firmware/firmware.c
+++ b/drivers/staging/greybus/Documentation/firmware/firmware.c
@@ -119,8 +119,8 @@ static int update_backend_firmware(int fd)
 	if (backend_fw_info.status == GB_FW_U_BACKEND_VERSION_STATUS_RETRY)
 		goto retry_fw_version;
 
-	if ((backend_fw_info.status != GB_FW_U_BACKEND_VERSION_STATUS_SUCCESS)
-	    && (backend_fw_info.status != GB_FW_U_BACKEND_VERSION_STATUS_NOT_AVAILABLE)) {
+	if ((backend_fw_info.status != GB_FW_U_BACKEND_VERSION_STATUS_SUCCESS) &&
+	    (backend_fw_info.status != GB_FW_U_BACKEND_VERSION_STATUS_NOT_AVAILABLE)) {
 		printf("Failed to get backend firmware version: %s (%d)\n",
 			fwdev, backend_fw_info.status);
 		return -1;
-- 
2.47.2