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
..
2019-08-16 13:31:53 +02:00
2019-05-29 11:39:45 +10:00
2019-12-17 10:39:47 +11:00
2019-08-16 13:31:53 +02:00
2019-12-17 10:39:48 +11:00
2019-12-17 10:39:47 +11:00
2019-12-17 10:39:48 +11:00
2019-12-17 10:59:11 +11:00
2019-08-16 13:31:53 +02:00
2017-09-08 09:30:55 +10:00
2019-08-16 13:31:53 +02:00
2019-12-17 10:39:48 +11:00
2019-08-16 13:31:53 +02:00
2019-12-17 10:39:48 +11:00
2019-12-17 10:39:48 +11:00
2019-10-04 10:25:23 +10:00
2019-08-16 13:31:52 +02:00