lkml.org 
[lkml]   [2017]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] KVM: Replaces 'unsigned' with 'unsigned int' in the codebase
On Tue, Jun 27, 2017 at 12:01:25PM +0200, Paolo Bonzini wrote:
>
>
> On 27/06/2017 11:54, Roman Storozhenko wrote:
> > Signed-off-by: Roman Storozhenko <romeusmeister@gmail.com>
> > ---
> > virt/kvm/arm/arm.c | 2 +-
> > virt/kvm/coalesced_mmio.c | 2 +-
> > virt/kvm/eventfd.c | 10 ++++++----
> > virt/kvm/irqchip.c | 7 ++++---
> > virt/kvm/kvm_main.c | 16 ++++++++--------
> > 5 files changed, 20 insertions(+), 17 deletions(-)
>
> This change is pointless. Contributors to KVM should know what
> "unsigned" means.

Paolo, thanks that you mentioned this. But I have a question - is this just
useless or this is an error?

I saw many places in the codebase where 'unsigned int' is used. That why I
decided to make the codebase more standartized from the style point of
view.

Thanks, Roman Storozhenko.

\
 
 \ /
  Last update: 2017-06-27 14:07    [W:0.049 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site