[PATCH -next] media: s3c-camif: fix PM reference leak in s3c_camif_open()

2021-04-08 Thread Lu Jialin
pm_runtime_get_sync will increment pm usage counter even it failed. Forgetting to putting operation will result in reference leak here. Fix it by replacing it with pm_runtime_resume_and_get to keep usage counter balanced. Reported-by: Hulk Robot Signed-off-by: Lu Jialin --- drivers/media

[PATCH v2 -next] nilfs2: Fix typos in comments

2021-04-08 Thread Lu Jialin
numer -> number in fs/nilfs2/cpfile.c Decription -> Description in fs/nilfs2/ioctl.c isntance -> instance in fs/nilfs2/the_nilfs.c Signed-off-by: Lu Jialin --- v2: Exclude two typo fixes of "retured -> returned", which has been fixed in previous patch. fs/nilfs2/cpfile.

[PATCH -next] nilfs2: Fix typos in comments

2021-04-08 Thread Lu Jialin
numer -> number in fs/nilfs2/cpfile.c and fs/nilfs2/segment.c retured -> returned and Decription -> Description in fs/nilfs2/ioctl.c isntance -> instance in fs/nilfs2/the_nilfs.c No functionality changed. Signed-off-by: Lu Jialin --- fs/nilfs2/cpfile.c| 2 +- fs/nilfs2/ioc

[PATCH -next] mm: Fix typos in comments

2021-04-08 Thread Lu Jialin
succed -> succeed in mm/hugetlb.c wil -> will in mm/mempolicy.c wit -> with in mm/page_alloc.c Retruns -> Returns in mm/page_vma_mapped.c confict -> conflict in mm/secretmem.c No functionality changed. Signed-off-by: Lu Jialin --- mm/hugetlb.c | 2 +- mm/mempolicy.c

[PATCH -next] media: sun8i: Fix PM reference leak in deinterlace_start_streaming()

2021-04-08 Thread Lu Jialin
pm_runtime_get_sync will increment pm usage counter even it failed. Forgetting to putting operation will result in reference leak here. Fix it by replacing it with pm_runtime_resume_and_get to keep usage counter balanced. Reported-by: Hulk Robot Signed-off-by: Lu Jialin --- drivers/media

[PATCH -next] PM: fix typos in comments

2021-04-08 Thread Lu Jialin
Change occured to occurred in kernel/power/autosleep.c. Change consiting to consisting in kernel/power/snapshot.c. Change avaiable to available in kernel/power/swap.c. No functionality changed. Signed-off-by: Lu Jialin --- kernel/power/autosleep.c | 2 +- kernel/power/snapshot.c | 2 +- kernel

[PATCH -next] cgroup/cpuset: fix typos in comments

2021-04-08 Thread Lu Jialin
Change hierachy to hierarchy and unrechable to unreachable, no functionality changed. Signed-off-by: Lu Jialin --- kernel/cgroup/cpuset.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/cgroup/cpuset.c b/kernel/cgroup/cpuset.c index 5258b68153e0..a945504c0ae7