lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220329112141.GZ3293@kadam>
Date:   Tue, 29 Mar 2022 14:21:42 +0300
From:   Dan Carpenter <dan.carpenter@...cle.com>
To:     yuzhe <yuzhe@...china.com>
Cc:     Marc Zyngier <maz@...nel.org>, james.morse@....com,
        alexandru.elisei@....com, suzuki.poulose@....com,
        catalin.marinas@....com, will@...nel.org,
        linux-arm-kernel@...ts.infradead.org, kvmarm@...ts.cs.columbia.edu,
        linux-kernel@...r.kernel.org, liqiong@...china.com,
        kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] KVM: arm64: vgic-debug: remove unnecessary type castings

On Tue, Mar 29, 2022 at 02:14:16PM +0800, yuzhe wrote:
> > > @@ -229,7 +229,7 @@ static void print_irq_state(struct seq_file *s, struct vgic_irq *irq,
> > >   static int vgic_debug_show(struct seq_file *s, void *v)
> > >   {
> > > -	struct kvm *kvm = (struct kvm *)s->private;
> > > +	struct kvm *kvm = s->private;
> > >   	struct vgic_state_iter *iter = (struct vgic_state_iter *)v;
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^
This cast is unnecessary.  Look for others as well.

regards,
dan carpenter

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ