Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jul 2022 15:06:20 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 079f02e8c035 - main - stand: Small comment correction
Message-ID:  <202207271506.26RF6KgM019412@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=079f02e8c035f12779a57f10b274253a701267e5

commit 079f02e8c035f12779a57f10b274253a701267e5
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-07-27 14:46:12 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-07-27 15:04:12 +0000

    stand: Small comment correction
    
    While in theory, once upon a time, dv_type was arch specific, that's
    never been the case in FreeBSD (and certaintly isn't in the surviving
    drivers). Remove that notation.
    
    Sponsored by:           Netflix
    Reviewed by:            tsoome
    Differential Revision:  https://reviews.freebsd.org/D35911
---
 stand/libsa/stand.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stand/libsa/stand.h b/stand/libsa/stand.h
index 6ddbc188e6f6..5f87f96ce673 100644
--- a/stand/libsa/stand.h
+++ b/stand/libsa/stand.h
@@ -142,7 +142,7 @@ extern struct fs_ops efihttp_fsops;
 #define DEV_NAMLEN	8		/* Length of name of device class */
 struct devsw {
     const char	dv_name[DEV_NAMLEN];
-    int		dv_type;		/* opaque type constant, arch-dependant */
+    int		dv_type;		/* opaque type constant */
 #define DEVT_NONE	0
 #define DEVT_DISK	1
 #define DEVT_NET	2



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202207271506.26RF6KgM019412>