projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'for-5.12-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave...
[linux-2.6-microblaze.git]
/
kernel
/
audit_fsnotify.c
diff --git
a/kernel/audit_fsnotify.c
b/kernel/audit_fsnotify.c
index
5b3f01d
..
60739d5
100644
(file)
--- a/
kernel/audit_fsnotify.c
+++ b/
kernel/audit_fsnotify.c
@@
-84,7
+84,7
@@
struct audit_fsnotify_mark *audit_alloc_mark(struct audit_krule *krule, char *pa
dentry = kern_path_locked(pathname, &path);
if (IS_ERR(dentry))
dentry = kern_path_locked(pathname, &path);
if (IS_ERR(dentry))
- return
(void *)dentry
; /* returning an error */
+ return
ERR_CAST(dentry)
; /* returning an error */
inode = path.dentry->d_inode;
inode_unlock(inode);
inode = path.dentry->d_inode;
inode_unlock(inode);