From: Gerhard Wiesinger <lists@wiesinger.com>
To: Avi Kivity <avi@redhat.com>
Cc: Hannes Reinecke <hare@suse.de>, Alexander Graf <agraf@suse.de>,
Andreas Faerber <afaerber@suse.de>,
qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH][v11] megasas: LSI Megaraid SAS HBA emulation
Date: Fri, 17 Feb 2012 18:11:24 +0100 (CET) [thread overview]
Message-ID: <alpine.LFD.2.02.1202171809500.17890@bbs.intern> (raw)
In-Reply-To: <4F3E60EA.4080801@suse.de>
On Fri, 17 Feb 2012, Hannes Reinecke wrote:
> On 02/17/2012 03:03 PM, Gerhard Wiesinger wrote:
>> Hello Hannes,
>>
>> Reason for my problems of non working megasas is that megasas.o was
>> no compiled:
>>
>> Details:
>> Makefile.objs
>> #hw-obj-$(CONFIG_MEGASAS_SCSI_PCI) += megasas.o
>> # OK:
>> hw-obj-y += megasas.o
>>
>> Although:
>> ./default-configs/pci.mak:CONFIG_MEGASAS_SCSI_PCI=y
>>
>> Did also a new configure run.
>>
>> Any ideas?
>>
>> Errors with the patch:
>> /root/download/qemu/git/qemu-kvm/hw/megasas.c: In function
>> .megasas_init_firmware.:
>> /root/download/qemu/git/qemu-kvm/hw/megasas.c:568:14: error:
>> variable .reply_queue_tail. set but not used
>> [-Werror=unused-but-set-variable]
>> /root/download/qemu/git/qemu-kvm/hw/megasas.c:565:28: error:
>> variable .iq_pl. set but not used [-Werror=unused-but-set-variable]
>> /root/download/qemu/git/qemu-kvm/hw/megasas.c: In function
>> .megasas_dcmd_ld_get_list.:
>> /root/download/qemu/git/qemu-kvm/hw/megasas.c:995:32: error:
>> variable .max_ld_disks. set but not used
>> [-Werror=unused-but-set-variable]
>> /root/download/qemu/git/qemu-kvm/hw/megasas.c: In function
>> .megasas_handle_dcmd.:
>> /root/download/qemu/git/qemu-kvm/hw/megasas.c:1203:17: error:
>> variable .size. set but not used [-Werror=unused-but-set-variable]
>> /root/download/qemu/git/qemu-kvm/hw/megasas.c: In function
>> .megasas_xfer_complete.:
>> /root/download/qemu/git/qemu-kvm/hw/megasas.c:1386:14: error:
>> variable .bytes_left. set but not used
>> [-Werror=unused-but-set-variable]
>> /root/download/qemu/git/qemu-kvm/hw/megasas.c: In function
>> .megasas_handle_frame.:
>> /root/download/qemu/git/qemu-kvm/hw/megasas.c:1490:13: error:
>> variable .frame_cmd. set but not used [-Werror=unused-but-set-variable]
>> /root/download/qemu/git/qemu-kvm/hw/megasas.c: At top level:
>> /root/download/qemu/git/qemu-kvm/hw/megasas.c:1872:1: error: data
>> definition has no type or storage class [-Werror]
>> /root/download/qemu/git/qemu-kvm/hw/megasas.c:1872:1: error: type
>> defaults to .int. in declaration of .type_init. [-Werror=implicit-int]
>> /root/download/qemu/git/qemu-kvm/hw/megasas.c:1872:1: error:
>> parameter names (without types) in function declaration [-Werror]
>> /root/download/qemu/git/qemu-kvm/hw/megasas.c:1867:13: error:
>> .megaraid1078_register_types. defined but not used
>> [-Werror=unused-function]
>> cc1: all warnings being treated as errors
>>
>> gcc --version
>> gcc (GCC) 4.6.2 20111027 (Red Hat 4.6.2-1)
>>
>> Please submit a new patch which removes unused variables, etc.
>>
>
> As already mentioned, this patch is against qemu.git, not qemu-kvm.git.
> The latter doesn't (yet) have the infrastructure changes, so
> obviously it won't compile there.
>
> For the unused variables I'll be updating the patch.
@Avi: Can you pull from qemu to test also qemu-kvm?
Thnx.
Ciao,
Gerhard
--
http://www.wiesinger.com/
next prev parent reply other threads:[~2012-02-17 17:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-17 8:31 [Qemu-devel] [PATCH][v11] megasas: LSI Megaraid SAS HBA emulation Hannes Reinecke
2012-02-17 14:03 ` Gerhard Wiesinger
2012-02-17 14:15 ` Hannes Reinecke
2012-02-17 17:11 ` Gerhard Wiesinger [this message]
2012-02-18 10:11 ` Avi Kivity
2012-02-18 11:15 ` Gerhard Wiesinger
2012-02-18 11:53 ` Avi Kivity
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LFD.2.02.1202171809500.17890@bbs.intern \
--to=lists@wiesinger.com \
--cc=afaerber@suse.de \
--cc=agraf@suse.de \
--cc=avi@redhat.com \
--cc=hare@suse.de \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).