lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <YvxF0yn07ztg9r4A@gus-fring.localdomain>
Date:   Tue, 16 Aug 2022 20:35:31 -0500
From:   Paul Lemmermann <thepaulodoom@...paulodoom.com>
To:     arnd@...db.de
Cc:     gregkh@...uxfoundation.org, linux-kernel@...r.kernel.org
Subject: [PATCH] drivers: char: mem: changed 'unsigned' to 'unsigned int'

found with checkpatch.pl

Signed-off-by: Paul Lemmermann <thepaulodoom@...paulodoom.com>
---
 drivers/char/mem.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/char/mem.c b/drivers/char/mem.c
index 84ca98ed1..be9d7043b 100644
--- a/drivers/char/mem.c
+++ b/drivers/char/mem.c
@@ -329,13 +329,13 @@ static unsigned long get_unmapped_area_mem(struct file *file,
 }
 
 /* permit direct mmap, for read, write or exec */
-static unsigned memory_mmap_capabilities(struct file *file)
+static unsigned int memory_mmap_capabilities(struct file *file)
 {
 	return NOMMU_MAP_DIRECT |
 		NOMMU_MAP_READ | NOMMU_MAP_WRITE | NOMMU_MAP_EXEC;
 }
 
-static unsigned zero_mmap_capabilities(struct file *file)
+static unsigned int zero_mmap_capabilities(struct file *file)
 {
 	return NOMMU_MAP_COPY;
 }
-- 
2.37.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ