Jeremie Courreges-Anglas <[email protected]> writes:

> Nick Permyakov <[email protected]> writes:
>
>> Fixed a boot panic on my machine.
>>
>> Index: atascsi.c
>> ===================================================================
>> RCS file: /cvs/src/sys/dev/ata/atascsi.c,v
>> retrieving revision 1.127
>> diff -u -p -r1.127 atascsi.c
>> --- atascsi.c    3 Jan 2016 21:07:46 -0000    1.127
>> +++ atascsi.c    14 Mar 2016 11:46:21 -0000
>> @@ -491,7 +491,7 @@ atascsi_free(struct scsi_link *link)
>>           * free ahp itself.  this relies on the order luns are
>>           * detached in scsi_detach_target().
>>           */
>> -        free(ahp, M_DEVBUF, sizeof(*ap));
>> +        free(ahp, M_DEVBUF, sizeof(*ahp));
>>          as->as_host_ports[port] = NULL;
>>      }
>>  }
>
> Looks fine to me.

Committed, thanks.

Nit: the patch had tabs converted to spaces. :)

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply via email to