<div class="gmail_quote">On Wed, Dec 14, 2011 at 10:57, Daniel Vetter <span dir="ltr"><<a href="mailto:daniel.vetter@ffwll.ch">daniel.vetter@ffwll.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
From: Thomas Meyer <<a href="mailto:thomas@m3y3r.de">thomas@m3y3r.de</a>><br>
<br>
The advantage of kcalloc is, that will prevent integer overflows which could<br>
result from the multiplication of number of elements and size and it is also<br>
a bit nicer to read.<br>
<br>
The semantic patch that makes this change is available<br>
in <a href="https://lkml.org/lkml/2011/11/25/107" target="_blank">https://lkml.org/lkml/2011/11/25/107</a><br>
<br>
Signed-off-by: Thomas Meyer <<a href="mailto:thomas@m3y3r.de">thomas@m3y3r.de</a>><br>
Signed-Off-by: Daniel Vetter <<a href="mailto:daniel.vetter@ffwll.ch">daniel.vetter@ffwll.ch</a>><br></blockquote><div><br>It looks nicer indeed, so:<br><br>
Reviewed-by: Eugeni Dodonov <<a href="mailto:eugeni.dodonov@intel.com">eugeni.dodonov@intel.com</a>> <br><br></div></div>-- <br>Eugeni Dodonov<a href="http://eugeni.dodonov.net/" target="_blank"><br></a><br>