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; } }