Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Dec 2025 18:28:40 +0000
From:      Dag-Erling=?utf-8?Q? Sm=C3=B8rg?=rav <des@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 07f9d9cb9a2f - stable/14 - bus: Apply consistent style to prototypes
Message-ID:  <69332458.dadb.1e702c8c@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/14 has been updated by des:

URL: https://cgit.FreeBSD.org/src/commit/?id=07f9d9cb9a2f6ed94bb1db067e2ab94056b2af81

commit 07f9d9cb9a2f6ed94bb1db067e2ab94056b2af81
Author:     Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2025-11-28 09:16:14 +0000
Commit:     Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2025-12-05 10:58:57 +0000

    bus: Apply consistent style to prototypes
    
    Sponsored by:   Klara, Inc.
    Sponsored by:   NetApp, Inc.
    
    (cherry picked from commit 6facc476f3056037f8b5cdb5546554ab3a887463)
---
 sys/sys/bus.h | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/sys/sys/bus.h b/sys/sys/bus.h
index c6ed86dc2545..90db267d4bb2 100644
--- a/sys/sys/bus.h
+++ b/sys/sys/bus.h
@@ -718,7 +718,7 @@ void	device_unbusy(device_t dev);
 void	device_verbose(device_t dev);
 ssize_t	device_get_property(device_t dev, const char *prop, void *val,
     size_t sz, device_property_type_t type);
-bool device_has_property(device_t dev, const char *prop);
+bool	device_has_property(device_t dev, const char *prop);
 
 /*
  * Access functions for devclass.
@@ -833,10 +833,10 @@ void	bus_set_pass(int pass);
  * Routines to lock / unlock the newbus lock.
  * Must be taken out to interact with newbus.
  */
-void bus_topo_lock(void);
-void bus_topo_unlock(void);
+void	bus_topo_lock(void);
+void	bus_topo_unlock(void);
 struct mtx * bus_topo_mtx(void);
-void bus_topo_assert(void);
+void	bus_topo_assert(void);
 
 /**
  * Shorthands for constructing method tables.
@@ -928,17 +928,17 @@ static __inline void varp ## _set_ ## var(device_t dev, type t)		\
 struct device_location_cache;
 typedef struct device_location_cache device_location_cache_t;
 device_location_cache_t *dev_wired_cache_init(void);
-void dev_wired_cache_fini(device_location_cache_t *dcp);
-bool dev_wired_cache_match(device_location_cache_t *dcp, device_t dev, const char *at);
+void	dev_wired_cache_fini(device_location_cache_t *dcp);
+bool	dev_wired_cache_match(device_location_cache_t *dcp, device_t dev, const char *at);
 
 #define	DEV_PROP_NAME_IOMMU	"iommu-unit"
 typedef void (*device_prop_dtr_t)(device_t dev, const char *name, void *val,
     void *dtr_ctx);
-int device_set_prop(device_t dev, const char *name, void *val,
+int	device_set_prop(device_t dev, const char *name, void *val,
     device_prop_dtr_t dtr, void *dtr_ctx);
-int device_get_prop(device_t dev, const char *name, void **valp);
-int device_clear_prop(device_t dev, const char *name);
-void device_clear_prop_alldev(const char *name);
+int	device_get_prop(device_t dev, const char *name, void **valp);
+int	device_clear_prop(device_t dev, const char *name);
+void	device_clear_prop_alldev(const char *name);
 
 /**
  * Shorthand macros, taking resource argument


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69332458.dadb.1e702c8c>