Module Name:    src
Committed By:   riastradh
Date:           Tue Oct  1 17:05:17 UTC 2024

Modified Files:
        src/sys/compat/linux/common: linux_file.c

Log Message:
sys/compat/linux/common/linux_file.c: Fix blank lines and comments.

No functional change intended.


To generate a diff of this commit:
cvs rdiff -u -r1.127 -r1.128 src/sys/compat/linux/common/linux_file.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux/common/linux_file.c
diff -u src/sys/compat/linux/common/linux_file.c:1.127 src/sys/compat/linux/common/linux_file.c:1.128
--- src/sys/compat/linux/common/linux_file.c:1.127	Tue Oct  1 17:00:27 2024
+++ src/sys/compat/linux/common/linux_file.c	Tue Oct  1 17:05:16 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: linux_file.c,v 1.127 2024/10/01 17:00:27 riastradh Exp $	*/
+/*	$NetBSD: linux_file.c,v 1.128 2024/10/01 17:05:16 riastradh Exp $	*/
 
 /*-
  * Copyright (c) 1995, 1998, 2008 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_file.c,v 1.127 2024/10/01 17:00:27 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_file.c,v 1.128 2024/10/01 17:05:16 riastradh Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -912,7 +912,6 @@ linux_sys_dup3(struct lwp *l, const stru
 	return dodup(l, SCARG(uap, from), SCARG(uap, to), flags, retval);
 }
 
-
 int
 linux_to_bsd_atflags(int lflags)
 {
@@ -937,7 +936,7 @@ linux_sys_faccessat2(lwp_t *l, const str
 		syscallarg(const char *) path;
 		syscallarg(int) amode;
 		syscallarg(int) flags;
-	}*/
+	} */
 	int flag = linux_to_bsd_atflags(SCARG(uap, flags));
 	int mode = SCARG(uap, amode);
 	int fd = SCARG(uap, fd);
@@ -946,7 +945,6 @@ linux_sys_faccessat2(lwp_t *l, const str
 	return do_sys_accessat(l, fd, path, mode, flag);
 }
 
-
 int
 linux_sys_sync_file_range(lwp_t *l,
     const struct linux_sys_sync_file_range_args *uap, register_t *retval)
@@ -1083,12 +1081,11 @@ linux_sys_copy_file_range(lwp_t *l,
 	int error = 0;
 	size_t len = SCARG(uap, len);
 	unsigned int flags = SCARG(uap, flags);
-	// Structures for actual copy
+	/* Structures for actual copy */
 	char *buffer = NULL;
 	struct uio auio;
 	struct iovec aiov;
 
-
 	if (len > SSIZE_MAX) {
 		DPRINTF("%s: len is greater than SSIZE_MAX\n",
 		    __func__);
@@ -1284,7 +1281,6 @@ out:
 	return error;
 }
 
-
 #define LINUX_NOT_SUPPORTED(fun) \
 int \
 fun(struct lwp *l, const struct fun##_args *uap, register_t *retval) \

Reply via email to