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] [day] [month] [year] [list]
Date:   Thu, 30 May 2019 14:57:08 -0700
From:   Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To:     Benjamin Sherman <benjamin@...sherman.io>
Cc:     linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: mt7621-dma: sizeof via pointer dereference

On Thu, May 30, 2019 at 09:41:43PM +0000, Benjamin Sherman wrote:
> Pass the size of a struct into kzalloc by pointer dereference.  This
> complies with the Linux kernel coding style and removes the possibility
> for a bug when the pointer's type is changed.
> 
> Signed-off-by: Benjamin Sherman <benjamin@...sherman.io>
> ---
> This is my first patch, so please forgive any seemingly obvious
> mistakes.  I apologize if this is the incorrect mailing list.
> ---
>  drivers/staging/mt7621-dma/mtk-hsdma.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Can you resend and properly cc: the needed developers and mailing list
that scripts/get_maintainer.pl says to cc:?

thanks,

greg k-h

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ