projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'pstore-v6.2-rc1-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git...
[platform/kernel/linux-starfive.git]
/
fs
/
pstore
/
pmsg.c
diff --git
a/fs/pstore/pmsg.c
b/fs/pstore/pmsg.c
index
18cf94b
..
ab82e5f
100644
(file)
--- a/
fs/pstore/pmsg.c
+++ b/
fs/pstore/pmsg.c
@@
-47,7
+47,7
@@
static int pmsg_major;
#undef pr_fmt
#define pr_fmt(fmt) PMSG_NAME ": " fmt
-static char *pmsg_devnode(struct device *dev, umode_t *mode)
+static char *pmsg_devnode(
const
struct device *dev, umode_t *mode)
{
if (mode)
*mode = 0220;