On 08/10/12 16:18, Markus Armbruster wrote:
>> -if (asprintf(&name, "%s-msix", dev->name) == -1) {
>
> What about g_strdup_printf()?
Ah, nice. Didn't know glib has this.
cheers,
Gerd
On Fri, Aug 10, 2012 at 2:18 PM, Markus Armbruster wrote:
> Gerd Hoffmann writes:
>
>> Signed-off-by: Gerd Hoffmann
>> ---
>> hw/msix.c |5 ++---
>> 1 files changed, 2 insertions(+), 3 deletions(-)
>>
>> diff --git a/hw/msix.c b/hw/msix.c
>> index 800fc32..04345f2 100644
>> --- a/hw/msix.c
Gerd Hoffmann writes:
> Signed-off-by: Gerd Hoffmann
> ---
> hw/msix.c |5 ++---
> 1 files changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/hw/msix.c b/hw/msix.c
> index 800fc32..04345f2 100644
> --- a/hw/msix.c
> +++ b/hw/msix.c
> @@ -307,9 +307,8 @@ int msix_init_exclusive_bar(PC