public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drivers: char: mem: changed 'unsigned' to 'unsigned int'
@ 2022-08-17  1:35 Paul Lemmermann
  2022-08-17  2:09 ` [PATCH] improve the kernel quality and reduce the amount of BS patches Al Viro
  2022-08-18 14:52 ` [PATCH] drivers: char: mem: changed 'unsigned' to 'unsigned int' Greg KH
  0 siblings, 2 replies; 9+ messages in thread
From: Paul Lemmermann @ 2022-08-17  1:35 UTC (permalink / raw)
  To: arnd; +Cc: gregkh, linux-kernel

found with checkpatch.pl

Signed-off-by: Paul Lemmermann <thepaulodoom@thepaulodoom.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


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-08-21 15:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-17  1:35 [PATCH] drivers: char: mem: changed 'unsigned' to 'unsigned int' Paul Lemmermann
2022-08-17  2:09 ` [PATCH] improve the kernel quality and reduce the amount of BS patches Al Viro
2022-08-17  2:18   ` Al Viro
2022-08-17  2:29     ` Randy Dunlap
2022-08-18  5:48   ` Joe Perches
2022-08-18 14:52 ` [PATCH] drivers: char: mem: changed 'unsigned' to 'unsigned int' Greg KH
2022-08-19  1:52   ` Paul Lemmermann
2022-08-21  8:35     ` Greg KH
2022-08-21 15:49       ` ThePaulODoom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox