net/xen-netfront: Correct printf format in xennet_get_responses
authorJulien Grall <julien.grall@citrix.com>
Tue, 16 Jun 2015 19:10:46 +0000 (20:10 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 21 Jun 2015 16:40:40 +0000 (09:40 -0700)
commit6c10127d91bdc80e02938085d03c232ae3118ad5
tree3769eb50fa2bd6dec3cf012a830dc172d7dfde5b
parentd2a9ec6472650c49ac3f285637b9c04b53f11ae6
net/xen-netfront: Correct printf format in xennet_get_responses

rx->status is an int16_t, print it using %d rather than %u in order to
have a meaningful value when the field is negative.

Also use %u rather than %x for rx->offset.

Signed-off-by: Julien Grall <julien.grall@citrix.com>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: netdev@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netfront.c