qemu/block
Stefan Weil 532cee4184 iscsi: Fix check for username
The variable user in struct iscsi_url is a character array, not a pointer.
Therefore its address will never be NULL.

clang reports this error:

block/iscsi.c:1329:20: warning:
 comparison of array 'iscsi_url->user' not equal to a null pointer
 is always true [-Wtautological-pointer-compare]

Reviewed-by: Peter Lieven <pl@kamp.de>
Acked-by: Peter Lieven <pl@kamp.de>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Message-Id: <1425719670-5486-1-git-send-email-sw@weilnetz.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2015-03-10 10:49:25 +01:00
..
Makefile.objs block/dmg: support bzip2 block entry types 2015-02-06 17:24:21 +01:00
accounting.c block: add accounting for merged requests 2015-02-06 17:24:21 +01:00
archipelago.c
backup.c qmp: Add command 'blockdev-backup' 2015-01-13 11:47:56 +00:00
blkdebug.c
blkverify.c
block-backend.c hmp: Normalize HMP command handler names 2015-02-25 13:14:37 +00:00
bochs.c
cloop.c
commit.c
curl.c
dmg.c block/dmg: improve zeroes handling 2015-02-06 17:24:21 +01:00
gluster.c
iscsi.c iscsi: Fix check for username 2015-03-10 10:49:25 +01:00
linux-aio.c
mirror.c block: mirror - change string allocation to 2-bytes 2015-01-23 18:17:06 +01:00
nbd-client.c nbd: fix the co_queue multi-adding bug 2015-02-16 15:07:17 +00:00
nbd-client.h nbd: Drop BDS backpointer 2015-02-16 14:36:03 +00:00
nbd.c QemuOpts: Convert qemu_opt_set_number() to Error, fix its use 2015-02-26 14:47:32 +01:00
nfs.c
null.c
parallels.c
qapi.c block: add event when disk usage exceeds threshold 2015-02-06 17:24:21 +01:00
qcow.c block: fix off-by-one error in qcow and qcow2 2015-02-06 17:24:21 +01:00
qcow2-cache.c block: Give always priority to unused entries in the qcow2 L2 cache 2015-02-06 17:24:22 +01:00
qcow2-cluster.c qcow2: Add two more unalignment checks 2015-01-23 18:17:05 +01:00
qcow2-refcount.c qcow2: Rewrite qcow2_alloc_bytes() 2015-02-06 17:24:22 +01:00
qcow2-snapshot.c
qcow2.c QemuOpts: Drop qemu_opt_set(), rename qemu_opt_set_err(), fix use 2015-02-26 14:49:31 +01:00
qcow2.h
qed-check.c
qed-cluster.c
qed-gencb.c
qed-l2-cache.c
qed-table.c
qed.c qed: check for header size overflow 2015-02-06 17:24:21 +01:00
qed.h qed: Really remove unused field QEDAIOCB.finished 2015-02-06 17:24:21 +01:00
quorum.c
raw-aio.h
raw-posix.c block: Remove "growable" from BDS 2015-02-16 15:07:19 +00:00
raw-win32.c block: Remove "growable" from BDS 2015-02-16 15:07:19 +00:00
raw_bsd.c
rbd.c
sheepdog.c Clean up around error_get_pretty(), qerror_report_err() 2015-02-26 07:01:08 +00:00
snapshot.c
ssh.c
stream.c
vdi.c
vhdx-endian.c
vhdx-log.c
vhdx.c block: vhdx - force FileOffsetMB field to '0' for certain block states 2015-01-23 12:41:32 -05:00
vhdx.h
vmdk.c block: vmdk - fixed sizeof() error 2015-02-16 15:07:17 +00:00
vpc.c
vvfat.c QemuOpts: Drop qemu_opt_set(), rename qemu_opt_set_err(), fix use 2015-02-26 14:49:31 +01:00
win32-aio.c
write-threshold.c block: add event when disk usage exceeds threshold 2015-02-06 17:24:21 +01:00