]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
staging: greybus: Documentation: firmware: Move logical AND to previous line
authorAbhinav Krishna C K <me@abhy.me>
Mon, 14 Jul 2025 13:45:32 +0000 (15:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Jul 2025 08:09:17 +0000 (10:09 +0200)
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>
Link: https://lore.kernel.org/r/20250714134537.59218-1-me@abhy.me
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/greybus/Documentation/firmware/firmware.c

index b27d425c5c067ff18122557edb139283525a6aaa..3b35ef6d4adbb6fb3f9b977d07fc7e3d3f331051 100644 (file)
@@ -119,8 +119,8 @@ retry_fw_version:
        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;