From: Rob Ward
Fixes "Missing a blank line after declarations" reported by
checkpatch.
This patch introduces no functional changes.
Signed-off-by: Rob Ward
---
drivers/char/mem.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/char/mem.c b/drivers/char/mem.c
index a04ce78..6029d
From: Rob Ward
Replaces the use of asm/uaccess.h with linux/uaccess.h.
Signed-off-by: Rob Ward
---
drivers/char/mem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/char/mem.c b/drivers/char/mem.c
index 4c58333..a04ce78 100644
--- a/drivers/char/mem.c
+++ b/drivers
From: Rob Ward
Couple of changes to remove warnings reported by checkpatch.pl within
drivers/char/mem.c
Neither of these patches introduce functional changes.
Rob Ward (2):
drivers: char: mem: Replace usage of asm include
drivers: char: mem: Fix Missing blank line issues
drivers/char/mem.
From: Rob Ward
Adds Kconfig option CONFIG_DEVMEM that allows the
/dev/mem device to be disabled.
Option defaults to /dev/mem enabled.
Signed-off-by: Rob Ward
---
drivers/char/Kconfig | 9 +
drivers/char/mem.c | 4 +++-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/d
From: Rob Ward
Makes the /dev/mem device optional using the CONFIG_DEVMEM option.
This brings /dev/mem in line with /dev/kmem so it can de disabled.
Disabling /dev/mem is preferable on devices that do not require
direct access to memory in order to improve security. This is especially
true on p
From: Rob Ward
Simplify the use of CONFIG_DEVKMEM by making the kmem_fops
so that it is __maybe_unused.
This enabled the multiple #ifdef's used for this structure
to be removed and brings it in line with the use of CONFIG_DEVMEM
This change should introduce no functional changes.
Signed-off-by
From: Rob Ward
Simplify the use of CONFIG_DEVPORT by making the port_fops
so that it includes __maybe_unused.
This enabled the multiple #ifdef's used for this structure
to be removed and brings it in line with the use of CONFIG_DEVMEM
This change should introduce no functional changes.
Signed-
7 matches
Mail list logo