Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2 Fix typo: list lessees, not list leases.



details:   https://anonhg.NetBSD.org/src/rev/4b096b785d15
branches:  trunk
changeset: 1027891:4b096b785d15
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 01:08:07 2021 +0000

description:
Fix typo: list lessees, not list leases.

diffstat:

 sys/external/bsd/drm2/drm/drm_lease.c         |  12 ++++++------
 sys/external/bsd/drm2/include/drm/drm_lease.h |   4 ++--
 2 files changed, 8 insertions(+), 8 deletions(-)

diffs (57 lines):

diff -r 0b29a84fb09a -r 4b096b785d15 sys/external/bsd/drm2/drm/drm_lease.c
--- a/sys/external/bsd/drm2/drm/drm_lease.c     Sun Dec 19 01:07:52 2021 +0000
+++ b/sys/external/bsd/drm2/drm/drm_lease.c     Sun Dec 19 01:08:07 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_lease.c,v 1.2 2021/12/19 01:01:43 riastradh Exp $  */
+/*     $NetBSD: drm_lease.c,v 1.3 2021/12/19 01:08:07 riastradh Exp $  */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_lease.c,v 1.2 2021/12/19 01:01:43 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_lease.c,v 1.3 2021/12/19 01:08:07 riastradh Exp $");
 
 #include <sys/types.h>
 #include <sys/errno.h>
@@ -148,16 +148,16 @@
 }
 
 /*
- * drm_mode_list_leases_ioctl(dev, data, file)
+ * drm_mode_list_lessees_ioctl(dev, data, file)
  *
- *     DRM_IOCTL_MODE_LIST_LEASES(struct drm_mode_list_leases) ioctl
+ *     DRM_IOCTL_MODE_LIST_LESSEES(struct drm_mode_list_lessees) ioctl
  *     implementation.
  */
 int
-drm_mode_list_leases_ioctl(struct drm_device *dev, void *data,
+drm_mode_list_lessees_ioctl(struct drm_device *dev, void *data,
     struct drm_file *file)
 {
-       struct drm_mode_list_leases *args __unused = data;
+       struct drm_mode_list_lessees *args __unused = data;
 
        /* XXX not yet implemented */
        return -ENODEV;
diff -r 0b29a84fb09a -r 4b096b785d15 sys/external/bsd/drm2/include/drm/drm_lease.h
--- a/sys/external/bsd/drm2/include/drm/drm_lease.h     Sun Dec 19 01:07:52 2021 +0000
+++ b/sys/external/bsd/drm2/include/drm/drm_lease.h     Sun Dec 19 01:08:07 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_lease.h,v 1.2 2021/12/19 00:49:22 riastradh Exp $  */
+/*     $NetBSD: drm_lease.h,v 1.3 2021/12/19 01:08:07 riastradh Exp $  */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -42,7 +42,7 @@
            struct drm_file *);
 int    drm_mode_get_lease_ioctl(struct drm_device *, void *,
            struct drm_file *);
-int    drm_mode_list_leases_ioctl(struct drm_device *, void *,
+int    drm_mode_list_lessees_ioctl(struct drm_device *, void *,
            struct drm_file *);
 int    drm_mode_revoke_lease_ioctl(struct drm_device *, void *,
            struct drm_file *);



Home | Main Index | Thread Index | Old Index