提交 2ffad70e 编写于 作者: D David Sterba

btrfs: constify strings passed to assertion helper

Signed-off-by: NDavid Sterba <dsterba@suse.com>
上级 e9539cff
......@@ -3425,7 +3425,7 @@ do { \
#ifdef CONFIG_BTRFS_ASSERT
__cold
static inline void assfail(char *expr, char *file, int line)
static inline void assfail(const char *expr, const char *file, int line)
{
pr_err("assertion failed: %s, file: %s, line: %d\n",
expr, file, line);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册