diff options
author | Bogdan Purcareata <bogdan.purcareata@freescale.com> | 2015-04-03 11:01:54 +0000 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-04-28 22:14:15 +0200 |
commit | d064d9f381b00538e41f14104b88a1ae85d78865 (patch) | |
tree | 4d672cb303c6f6a6f13f7e16c129cbc650fce6fd /hw | |
parent | 510a647fa27a12b66be40da4c2c098430003225c (diff) |
nbd/trivial: fix type cast for ioctl
This fixes ioctl behavior on powerpc e6500 platforms with 64bit kernel and 32bit
userspace. The current type cast has no effect there and the value passed to the
kernel is still 0. Probably an issue related to the compiler, since I'm assuming
the same configuration works on a similar setup on x86.
Also ensure consistency with previous type cast in TRACE message.
Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com>
Message-Id: <1428058914-32050-1-git-send-email-bogdan.purcareata@freescale.com>
Cc: qemu-stable@nongnu.org
[Fix parens as noticed by Michael. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw')
0 files changed, 0 insertions, 0 deletions