svn commit: r334059 - head/sys/cam/mmc
Ilya Bakulin
kibab at FreeBSD.org
Tue May 22 16:32:35 UTC 2018
Author: kibab
Date: Tue May 22 16:32:34 2018
New Revision: 334059
URL: https://svnweb.freebsd.org/changeset/base/334059
Log:
Fix MMCCAM scanning for new cards.
r326645 used an incorrect argument for xpt_path_inq().
Reviewed by: imp (mentor)
Differential Revision: https://reviews.freebsd.org/D15521
Modified:
head/sys/cam/mmc/mmc_xpt.c
Modified: head/sys/cam/mmc/mmc_xpt.c
==============================================================================
--- head/sys/cam/mmc/mmc_xpt.c Tue May 22 16:23:14 2018 (r334058)
+++ head/sys/cam/mmc/mmc_xpt.c Tue May 22 16:32:34 2018 (r334059)
@@ -241,7 +241,7 @@ mmc_scan_lun(struct cam_periph *periph, struct cam_pat
CAM_DEBUG(path, CAM_DEBUG_TRACE, ("mmc_scan_lun\n"));
- xpt_path_inq(&cpi, periph->path);
+ xpt_path_inq(&cpi, path);
if (cpi.ccb_h.status != CAM_REQ_CMP) {
if (request_ccb != NULL) {
More information about the svn-src-head
mailing list