git: 1d35493e4661 - main - cam: fix up world compilation after previous
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 15 Apr 2023 23:12:01 UTC
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=1d35493e4661e7c79ff9910d48c460ee0c2e683a commit 1d35493e4661e7c79ff9910d48c460ee0c2e683a Author: Mateusz Guzik <mjg@FreeBSD.org> AuthorDate: 2023-04-15 23:11:27 +0000 Commit: Mateusz Guzik <mjg@FreeBSD.org> CommitDate: 2023-04-15 23:11:27 +0000 cam: fix up world compilation after previous Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/cam/cam_ccb.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/cam/cam_ccb.h b/sys/cam/cam_ccb.h index a6b12b6a3584..07ccb262023d 100644 --- a/sys/cam/cam_ccb.h +++ b/sys/cam/cam_ccb.h @@ -1516,11 +1516,13 @@ cam_ccb_status(union ccb *ccb) return ((cam_status)(ccb->ccb_h.status & CAM_STATUS_MASK)); } +#ifdef _KERNEL static inline bool cam_ccb_success(union ccb *ccb) { return (cam_ccb_status(ccb) == CAM_REQ_CMP); } +#endif void cam_calc_geometry(struct ccb_calc_geometry *ccg, int extended);