git: 9f1e411ae8cf - main - cam: Group all xpt_path*() functions together in cam_xpt.h

Warner Losh imp at FreeBSD.org
Mon Jun 28 22:24:02 UTC 2021


The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=9f1e411ae8cf84ebf53391288b5b6bac8df23a96

commit 9f1e411ae8cf84ebf53391288b5b6bac8df23a96
Author:     Warner Losh <imp at FreeBSD.org>
AuthorDate: 2021-06-28 21:56:55 +0000
Commit:     Warner Losh <imp at FreeBSD.org>
CommitDate: 2021-06-28 21:56:55 +0000

    cam: Group all xpt_path*() functions together in cam_xpt.h
    
    Reviewed by:            scottl@
    Sponsored by:           Netflix
    Differential Revision:  https://reviews.freebsd.org/D30852
---
 sys/cam/cam_xpt.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys/cam/cam_xpt.h b/sys/cam/cam_xpt.h
index 1d3fd9d315a1..7e7e6ac5880a 100644
--- a/sys/cam/cam_xpt.h
+++ b/sys/cam/cam_xpt.h
@@ -105,9 +105,6 @@ int			xpt_path_comp(struct cam_path *path1,
 				      struct cam_path *path2);
 int			xpt_path_comp_dev(struct cam_path *path,
 					  struct cam_ed *dev);
-void			xpt_print_path(struct cam_path *path);
-void			xpt_print_device(struct cam_ed *device);
-void			xpt_print(struct cam_path *path, const char *fmt, ...);
 int			xpt_path_string(struct cam_path *path, char *str,
 					size_t str_len);
 int			xpt_path_sbuf(struct cam_path *path, struct sbuf *sb);
@@ -116,6 +113,9 @@ target_id_t		xpt_path_target_id(struct cam_path *path);
 lun_id_t		xpt_path_lun_id(struct cam_path *path);
 struct cam_sim		*xpt_path_sim(struct cam_path *path);
 struct cam_periph	*xpt_path_periph(struct cam_path *path);
+void			xpt_print_path(struct cam_path *path);
+void			xpt_print_device(struct cam_ed *device);
+void			xpt_print(struct cam_path *path, const char *fmt, ...);
 void			xpt_async(u_int32_t async_code, struct cam_path *path,
 				  void *async_arg);
 void			xpt_rescan(union ccb *ccb);


More information about the dev-commits-src-all mailing list