projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9539cf
)
btrfs: constify strings passed to assertion helper
author
David Sterba
<dsterba@suse.com>
Fri, 20 Jul 2018 14:30:23 +0000
(16:30 +0200)
committer
David Sterba
<dsterba@suse.com>
Mon, 6 Aug 2018 11:12:59 +0000
(13:12 +0200)
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
patch
|
blob
|
history
diff --git
a/fs/btrfs/ctree.h
b/fs/btrfs/ctree.h
index 5f6ec80d374fea519539022236e5fb943f36a6f0..2e32584c635ff43591546252e86a77cb61788ade 100644
(file)
--- a/
fs/btrfs/ctree.h
+++ b/
fs/btrfs/ctree.h
@@
-3425,7
+3425,7
@@
do { \
#ifdef CONFIG_BTRFS_ASSERT
__cold
-static inline void assfail(c
har *expr,
char *file, int line)
+static inline void assfail(c
onst char *expr, const
char *file, int line)
{
pr_err("assertion failed: %s, file: %s, line: %d\n",
expr, file, line);