<div dir="ltr">Sent it the 2nd time correctly. <div><br></div><div>Sorry, forgot to write the subject. Sending it right now. </div><div hspace="streak-pt-mark" style="max-height:1px"><img style="width:0px; max-height:0px;" src="https://mailfoogae.appspot.com/t?sender=aZXVAb3ByZWFtYXRlaS5ybw%3D%3D&type=zerocontent&guid=771418e4-f78a-49c7-b360-37c7120a9fde"><font color="#ffffff" size="1">ᐧ</font></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 16, 2014 at 11:58 PM, Vlad Dogaru <span dir="ltr"><<a href="mailto:ddvlad@herebedragons.ro" target="_blank">ddvlad@herebedragons.ro</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 9/16/2014 11:42 PM, Matei Oprea wrote:<br>
> From: Matei Oprea <matei@crunchbang.(none)><br>
><br>
> Signed-off-by: Matei Oprea <<a href="mailto:eu@opreamatei.ro">eu@opreamatei.ro</a>><br>
> Cc: ROSEdu Kernel Community <<a href="mailto:firefly@lists.rosedu.org">firefly@lists.rosedu.org</a>><br>
<br>
</span>The subject (i.e. shortlog) is too long and does not include a subsystem<br>
name.  Try something like:<br>
<br>
scsi: lpfc: use kcalloc instead of kzalloc<br>
<br>
And mention removal of the typecast below.<br>
<br>
Also fix your git send-email settings (I think) to remove the "From:<br>
Matei Oprea <matei@crunchbang.(none)>" bit.<br>
<div class="HOEnZb"><div class="h5"><br>
> ---<br>
>  drivers/scsi/lpfc/lpfc_init.c |    3 +--<br>
>  1 file changed, 1 insertion(+), 2 deletions(-)<br>
><br>
> diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c<br>
> index a5769a9..aac9a90 100644<br>
> --- a/drivers/scsi/lpfc/lpfc_init.c<br>
> +++ b/drivers/scsi/lpfc/lpfc_init.c<br>
> @@ -4854,8 +4854,7 @@ lpfc_sli_driver_resource_setup(struct lpfc_hba *phba)<br>
>       }<br>
><br>
>       if (!phba->sli.ring)<br>
> -             phba->sli.ring = (struct lpfc_sli_ring *)<br>
> -                     kzalloc(LPFC_SLI3_MAX_RING *<br>
> +             phba->sli.ring = kcalloc(LPFC_SLI3_MAX_RING,<br>
>                       sizeof(struct lpfc_sli_ring), GFP_KERNEL);<br>
>       if (!phba->sli.ring)<br>
>               return -ENOMEM;<br>
><br>
<br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Oprea Matei<br><div><br></div></div>
</div>