The branch main has been updated by bz:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=78f12afc38eabea82fd247c157d340e289dceeb8

commit 78f12afc38eabea82fd247c157d340e289dceeb8
Author:     Bjoern A. Zeeb <b...@freebsd.org>
AuthorDate: 2025-06-15 09:25:56 +0000
Commit:     Bjoern A. Zeeb <b...@freebsd.org>
CommitDate: 2025-06-15 09:25:56 +0000

    ufshci: camcontrol: use correct define to fix the build
    
    Fixes:  1349a733cf28
---
 sbin/camcontrol/camcontrol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sbin/camcontrol/camcontrol.c b/sbin/camcontrol/camcontrol.c
index 19684c044ef5..15a5d42a2ba5 100644
--- a/sbin/camcontrol/camcontrol.c
+++ b/sbin/camcontrol/camcontrol.c
@@ -5404,7 +5404,7 @@ cts_print(struct cam_device *device, struct 
ccb_trans_settings *cts)
                struct ccb_trans_settings_ufshci *ufshci =
                    &cts->xport_specific.ufshci;
 
-               if (ufshci->valid & CTS_UFSHCI_VALID_MODE) {
+               if (ufshci->valid & CTS_UFSHCI_VALID_LINK) {
                        fprintf(stdout, "%sHigh Speed Gear: %d (%d max)\n",
                                pathstr, ufshci->hs_gear, ufshci->max_hs_gear);
                        fprintf(stdout, "%sUnipro TX lanes: %d (%d max)\n", 
pathstr,

Reply via email to