[PATCH] blokc/blk-merge: remove the next_bvec label in __blk_bios_map_sg()linux-bl...@vger.kernel.org (open list:BLOCK LAYER)

2020-12-22 Thread sh
remove the next_bvec label in __blk_bios_map_sg(), simplify the logic of traversal bvec. Signed-off-by: sh --- block/blk-merge.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/block/blk-merge.c b/block/blk-merge.c index 808768f6b174..aa113cbc0f35 100644 --- a/block

[PATCH] mm/page_reporting: use list_entry_is_head() in page_reporting_cycle()

2020-12-22 Thread sh
replace '>lru != list' with list_entry_is_head(). No functional change. Signed-off-by: sh --- mm/page_reporting.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/page_reporting.c b/mm/page_reporting.c index cd8e13d41df4..c50d93ffa252 100644 --- a/mm/page_reporting.c ++

Re: [PATCH] RISC-V: redefine PTRS_PER_PGD/PTRS_PER_PMD/PTRS_PER_PTE

2019-07-24 Thread sh liu
I think the previous description is unclear, and it is difficult for readers to understand the meaning of these macros, because I never understand. So I submitted this patch with reference to the definition of arm. I think this way can make the reader easier to understand, and I also think that

[PATCH 0/3] Add cpufreq and cci devfreq for mt8183

2019-01-28 Thread Andrew-sh Cheng
MT8183 supports CPU DVFS and CCI DVFS, and LITTLE cpus and CCI are in the same voltage domain. So, this series is to add drivers to handle the voltage coupling between CPU and CCI DVFS. Andrew-sh.Cheng (3): cpufreq: mediatek: add mt8183 cpufreq support dt-bindings: devfreq: add compatible

[PATCH] ASoC: wm8996: fix small typo

2018-11-01 Thread sh liu
>From e9b923690675ca8fa883fd25dcead5b457856735 Mon Sep 17 00:00:00 2001 From: liush Date: Fri, 2 Nov 2018 08:57:00 +0800 Subject: [PATCH] ASoC: wm8996: fix small typo atleast -> at least Change-Id: Icc970b438166daef13518b7d1a62b13eb8752f5f Signed-off-by: liush --- sound/soc/codecs/wm8996.c |

[PATCH] ASoC: wm8996: fix small typo

2018-11-01 Thread sh liu
>From e9b923690675ca8fa883fd25dcead5b457856735 Mon Sep 17 00:00:00 2001 From: liush Date: Fri, 2 Nov 2018 08:57:00 +0800 Subject: [PATCH] ASoC: wm8996: fix small typo atleast -> at least Change-Id: Icc970b438166daef13518b7d1a62b13eb8752f5f Signed-off-by: liush --- sound/soc/codecs/wm8996.c |

[PATCH v1 2/4] cpufreq: mediatek: Add mediatek related projects into blacklist

2017-12-07 Thread Andrew-sh Cheng
mediatek projects will use mediate-cpufreq.c as cpufreq driver, instead of using cpufreq_dt.c Add mediatek related projects into cpufreq-dt blacklist Signed-off-by: Andrew-sh Cheng <andrew-sh.ch...@mediatek.com> --- drivers/cpufreq/cpufreq-dt-platdev.c | 8 1 file changed, 8 inse

[PATCH v1 3/4] arm64: dts: mediatek: add mt8173 cpufreq related device nodes

2017-12-07 Thread Andrew-sh Cheng
Add opp v2 information, and also add clocks, regulators and opp information into cpu nodes Signed-off-by: Andrew-sh Cheng <andrew-sh.ch...@mediatek.com> --- arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 18 ++ arch/arm64/boot/dts/mediatek/mt8173.dtsi| 90 ++

[PATCH v1 4/4] arm64: dts: mediatek: add mt2712 cpufreq related device nodes

2017-12-07 Thread Andrew-sh Cheng
Add opp v2 information, and also add clocks, regulators and opp information into cpu nodes Signed-off-by: Andrew-sh Cheng <andrew-sh.ch...@mediatek.com> --- arch/arm64/boot/dts/mediatek/mt2712-evb.dts | 27 ++ arch/arm64/boot/dts/mediatek/mt2712e.dtsi

[PATCH v1 3/4] arm64: dts: mediatek: add mt8173 cpufreq related device nodes

2017-12-07 Thread Andrew-sh Cheng
Add opp v2 information, and also add clocks, regulators and opp information into cpu nodes Signed-off-by: Andrew-sh Cheng --- arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 18 ++ arch/arm64/boot/dts/mediatek/mt8173.dtsi| 90 + 2 files changed, 108 insertions

[PATCH v1 4/4] arm64: dts: mediatek: add mt2712 cpufreq related device nodes

2017-12-07 Thread Andrew-sh Cheng
Add opp v2 information, and also add clocks, regulators and opp information into cpu nodes Signed-off-by: Andrew-sh Cheng --- arch/arm64/boot/dts/mediatek/mt2712-evb.dts | 27 ++ arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 57 + 2 files changed, 84

[PATCH v1 2/4] cpufreq: mediatek: Add mediatek related projects into blacklist

2017-12-07 Thread Andrew-sh Cheng
mediatek projects will use mediate-cpufreq.c as cpufreq driver, instead of using cpufreq_dt.c Add mediatek related projects into cpufreq-dt blacklist Signed-off-by: Andrew-sh Cheng --- drivers/cpufreq/cpufreq-dt-platdev.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers

[PATCH v1 1/4] cpufreq: mediatek: add mt2712 into compatible list

2017-12-07 Thread Andrew-sh Cheng
Support mt2712 in mediatek-cpufreq.c Signed-off-by: Andrew-sh Cheng <andrew-sh.ch...@mediatek.com> --- drivers/cpufreq/mediatek-cpufreq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpufreq/mediatek-cpufreq.c b/drivers/cpufreq/mediatek-cpufreq.c index 18c4bd9..62aec5c

[PATCH v1 1/4] cpufreq: mediatek: add mt2712 into compatible list

2017-12-07 Thread Andrew-sh Cheng
Support mt2712 in mediatek-cpufreq.c Signed-off-by: Andrew-sh Cheng --- drivers/cpufreq/mediatek-cpufreq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpufreq/mediatek-cpufreq.c b/drivers/cpufreq/mediatek-cpufreq.c index 18c4bd9..62aec5c 100644 --- a/drivers/cpufreq/mediatek

[PATCH v1 0/4] add support of cpufreq to mt8173 and mt2712

2017-12-07 Thread Andrew-sh Cheng
] http://lists.infradead.org/pipermail/linux-arm-kernel/2017-November/544072.html Andrew-sh Cheng (4): cpufreq: mediatek: add mt2712 into compatible list cpufreq: mediatek: Add mediatek related projects into blacklist arm64: dts: mediatek: add mt8173 cpufreq related device nodes arm64: dts

[PATCH v1 0/4] add support of cpufreq to mt8173 and mt2712

2017-12-07 Thread Andrew-sh Cheng
] http://lists.infradead.org/pipermail/linux-arm-kernel/2017-November/544072.html Andrew-sh Cheng (4): cpufreq: mediatek: add mt2712 into compatible list cpufreq: mediatek: Add mediatek related projects into blacklist arm64: dts: mediatek: add mt8173 cpufreq related device nodes arm64: dts

[PATCH] fuse : fix fuse writeback problem with O_WRONLY

2014-11-04 Thread sh . yoon
From: "sh.yoon" With cache writeback turned on(kernel & library & user-fs), writing to a file that is opened with O_WRONLY flag fails to write and return EBADF error as below. strace result : open("/storage/emulated/legacy/tempfile.txt", O_WRONLY) = 3 write(3, "hello

[PATCH] fuse : fix fuse writeback problem with O_WRONLY

2014-11-04 Thread sh . yoon
From: sh.yoon sh.y...@lge.com With cache writeback turned on(kernel library user-fs), writing to a file that is opened with O_WRONLY flag fails to write and return EBADF error as below. strace result : open(/storage/emulated/legacy/tempfile.txt, O_WRONLY) = 3 write(3, hello