mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
include/linux/mm.h: return true in cpupid_pid_unset()
Fix the following coccicheck warning: include/linux/mm.h:1371:8-9: WARNING: return of 0/1 in function 'cpupid_pid_unset' with return type bool Signed-off-by: Jason Yan <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
1 parent
fa1f68cc88
commit
2b78744902
1 file changed
+1
-1
+1
-1
@@ -1373,7 +1373,7 @@ static inline int cpu_pid_to_cpupid(int nid, int pid)
|
||||
|
||||
static inline bool cpupid_pid_unset(int cpupid)
|
||||
{
|
||||
return 1;
|
||||
return true;
|
||||
}
|
||||
|
||||
static inline void page_cpupid_reset_last(struct page *page)
|
||||
|
||||
Reference in new issue
Block a user