On Sat, May 21, 2011 at 3:10 PM, Cyrill Gorcunov <[email protected]> wrote:
> Without 'ret' usage I get
>
>  | cyrill@sun kvm $ make
>  |  CC       virtio/9p.o
>  | virtio/9p.c: In function ‘virtio_p9_wstat’:
>  | virtio/9p.c:448:6: error: variable ‘res’ set but not used 
> [-Werror=unused-but-set-variable]
>  | cc1: all warnings being treated as errors
>  | make: *** [virtio/9p.o] Error 1
>
> so add a basic check for ftruncate result, this eliminate warning and
> we might need to use 'res' status later in caller code.
>
> Signed-off-by: Cyrill Gorcunov <[email protected]>
> CC: Sasha Levin <[email protected]>

Sasha?

> ---
>
> Pekka, are you fine with 'kvm-tools,9p' prefix?

Sure.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to