Date: Wed, 1 Mar 2017 17:35:56 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r314496 - head/sys/cam/ctl Message-ID: <201703011735.v21HZum2030186@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mav Date: Wed Mar 1 17:35:56 2017 New Revision: 314496 URL: https://svnweb.freebsd.org/changeset/base/314496 Log: Add check missed in r314257. MFC after: 11 days Modified: head/sys/cam/ctl/ctl.c Modified: head/sys/cam/ctl/ctl.c ============================================================================== --- head/sys/cam/ctl/ctl.c Wed Mar 1 15:39:58 2017 (r314495) +++ head/sys/cam/ctl/ctl.c Wed Mar 1 17:35:56 2017 (r314496) @@ -9550,7 +9550,7 @@ ctl_inquiry_evpd_devid(struct ctl_scsiio if (port && port->port_type == CTL_PORT_FC) proto = SCSI_PROTO_FC << 4; - else if (port->port_type == CTL_PORT_SAS) + else if (port && port->port_type == CTL_PORT_SAS) proto = SCSI_PROTO_SAS << 4; else if (port && port->port_type == CTL_PORT_ISCSI) proto = SCSI_PROTO_ISCSI << 4;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703011735.v21HZum2030186>