qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 2/3] megasas: LSI Megaraid SAS HBA emulation


From: Alexander Graf
Subject: Re: [Qemu-devel] [PATCH 2/3] megasas: LSI Megaraid SAS HBA emulation
Date: Wed, 09 May 2012 15:02:37 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.3) Gecko/20120306 Thunderbird/10.0.3

On 05/09/2012 11:52 AM, Hannes Reinecke wrote:
This patch adds an emulation for the LSI Megaraid SAS 8708EM2 HBA.
I've tested it to work with Linux, Windows Vista, and Windows7.

address@hidden:/home/agraf/git/qemu.megasas> git pw am 157890
ERROR: return is not a function, parentheses are not required
#303: FILE: hw/megasas.c:246:
+    return (iov_count - i);

WARNING: braces {} are necessary for all arms of this statement
#653: FILE: hw/megasas.c:596:
+    if (cmd->frame->header.sge_count)
[...]

WARNING: braces {} are necessary for all arms of this statement
#1047: FILE: hw/megasas.c:990:
+        if (num_ld_disks >= max_ld_disks)
[...]

WARNING: braces {} are necessary for all arms of this statement
#1513: FILE: hw/megasas.c:1456:
+    if (cmd->frame->header.frame_cmd == MFI_CMD_DCMD)
[...]
+    else
[...]

total: 1 errors, 3 warnings, 1978 lines checked

Your patch has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.
checkpatch failed, still apply? [y|N]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]