qemu-e2k/hw
Vladimir Sementsov-Ogievskiy 0c115681a5 ppc: make Error **errp const where it is appropriate
Mostly, Error ** is for returning error from the function, so the
callee sets it. However kvmppc_hint_smt_possible gets already filled
errp parameter. It doesn't change the pointer itself, only change the
internal state of referenced Error object. So we can make it Error
*const * errp, to stress the behavior. It will also help coccinelle
script (in future) to distinguish such cases from common errp usage.

While there, rename the function to
kvmppc_error_append_smt_possible_hint().

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Message-Id: <20191205174635.18758-8-vsementsov@virtuozzo.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
[Commit message replaced]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2019-12-18 08:43:19 +01:00
..
9pfs 9pfs: Fix divide by zero bug 2019-11-23 15:51:48 +01:00
acpi hw/acpi: Fix legacy CPU plug error API violations 2019-12-18 08:36:15 +01:00
adc
alpha
arm hw/arm/nseries: Replace the bluetooth chardev with a "null" chardev 2019-12-16 17:24:07 +01:00
audio
block virtio-blk: advertise F_WCE (F_FLUSH) if F_CONFIG_WCE is advertised 2019-12-13 11:22:06 +00:00
bt Remove the core bluetooth code 2019-12-17 09:01:14 +01:00
char
core hmp: drop Error pointer indirection in hmp_handle_error 2019-12-18 08:36:16 +01:00
cpu
cris
display mips: jazz: Renovate coding style 2019-12-16 13:04:46 +01:00
dma mips: jazz: Renovate coding style 2019-12-16 13:04:46 +01:00
gpio gpio: fix memory leak in aspeed_gpio_init() 2019-12-16 10:46:34 +00:00
hppa
hyperv
i2c aspeed/i2c: Add trace events 2019-12-16 10:46:34 +00:00
i386 hw: add compat machines for 5.0 2019-12-14 10:25:50 +01:00
ide
input virtio-input: fix memory leak on unrealize 2019-11-25 03:19:36 -05:00
intc hw/intc/s390: Simplify error handling in kvm_s390_flic_realize() 2019-12-18 08:36:15 +01:00
ipack
ipmi hw/ipmi: Fix realize() error API violations 2019-12-18 08:36:15 +01:00
isa mips: fulong 2e: Renovate coding style 2019-12-16 13:16:15 +01:00
lm32
m68k
mem memory-device: Fix memory pre-plug error API violations 2019-12-18 08:36:15 +01:00
microblaze
mips hw/mips: Deprecate the r4k machine 2019-12-16 13:16:15 +01:00
misc hw/misc/ivshmem: Bury dead legacy INTx code 2019-12-17 09:05:23 +01:00
moxie
net MIPS queue for December 16th, 2019 2019-12-16 14:07:56 +00:00
nios2
nubus
nvram
openrisc
pci
pci-bridge
pci-host mips: fulong 2e: Renovate coding style 2019-12-16 13:16:15 +01:00
pcmcia
ppc ppc: make Error **errp const where it is appropriate 2019-12-18 08:43:19 +01:00
rdma
riscv hw/riscv: Add optional symbol callback ptr to riscv_load_kernel() 2019-11-25 12:34:52 -08:00
rtc * microvm docs and fixes (Sergio, Liam) 2019-11-19 16:31:27 +00:00
s390x s390x/event-facility: Fix realize() error API violations 2019-12-14 10:25:50 +01:00
scsi
sd
semihosting
sh4
smbios
sparc
sparc64
ssi aspeed/smc: Add AST2600 timings registers 2019-12-16 10:46:34 +00:00
timer aspeed: Change the "scu" property definition 2019-12-16 10:46:34 +00:00
tpm
tricore
unicore32
usb hw/usb: Remove the USB bluetooth dongle device 2019-12-16 17:24:07 +01:00
vfio vfio-ccw: Fix error message 2019-12-14 10:22:38 +01:00
virtio virtio-fs: fix MSI-X nvectors calculation 2019-12-13 10:53:57 +00:00
watchdog aspeed: Change the "scu" property definition 2019-12-16 10:46:34 +00:00
xen
xenpv
xtensa
Kconfig Remove the core bluetooth code 2019-12-17 09:01:14 +01:00
Makefile.objs Remove the core bluetooth code 2019-12-17 09:01:14 +01:00