Re: [Qemu-devel] [PATCH] scsi: replace hex constants with #defines

2017-12-17 Thread Philippe Mathieu-Daudé
On 12/17/2017 02:29 AM, Paolo Bonzini wrote: > Sense keys have nice #defines in scsi/constants.h, use them. > > Reported-by: Dr. David Alan Gilbert > Signed-off-by: Paolo Bonzini Reviewed-by: Philippe Mathieu-Daudé > --- > scsi/utils.c | 14 +++--- > 1 file changed, 7 insertions(+),

[Qemu-devel] [PATCH] scsi: replace hex constants with #defines

2017-12-16 Thread Paolo Bonzini
Sense keys have nice #defines in scsi/constants.h, use them. Reported-by: Dr. David Alan Gilbert Signed-off-by: Paolo Bonzini --- scsi/utils.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scsi/utils.c b/scsi/utils.c index 61bc1a8e2b..ddae650a99 100644 --- a