Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jan 2023 22:11:28 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 37c6c6ea165b - stable/13 - stand: Small comment correction
Message-ID:  <202301242211.30OMBS63084420@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/src/commit/?id=37c6c6ea165bdd2b09ddb9b8ab60bc14059e5ebe

commit 37c6c6ea165bdd2b09ddb9b8ab60bc14059e5ebe
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-07-27 14:46:12 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-01-24 21:49:27 +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
    
    (cherry picked from commit 079f02e8c035f12779a57f10b274253a701267e5)
---
 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?202301242211.30OMBS63084420>