Thread (16 messages) 16 messages, 4 authors, 2024-02-22

Re: [PATCH 1/4] clk: rockchip: rst-rk3588: Add BIU reset

From: Krzysztof Kozlowski <hidden>
Date: 2024-02-17 10:20:42
Also in: linux-arm-kernel, linux-clk, linux-media, linux-rockchip, lkml

On 17/02/2024 11:18, Shreeya Patel wrote:
On Saturday, February 17, 2024 13:47 IST, Krzysztof Kozlowski [off-list ref] wrote:
quoted
On 16/02/2024 13:48, Shreeya Patel wrote:
quoted
On Friday, February 16, 2024 15:33 IST, Krzysztof Kozlowski [off-list ref] wrote:
quoted
On 16/02/2024 10:49, Shreeya Patel wrote:
quoted
Export hdmirx_biu soft reset id which is required by the hdmirx controller.

Signed-off-by: Shreeya Patel <redacted>
---
 drivers/clk/rockchip/rst-rk3588.c               | 1 +
 include/dt-bindings/reset/rockchip,rk3588-cru.h | 2 ++
Please run scripts/checkpatch.pl and fix reported warnings. Some
warnings can be ignored, but the code here looks like it needs a fix.
Feel free to get in touch if the warning is not clear.

Please do internal review. The internal Collabora review would tell you:
YOU MUST run checkpatch. Then you see errors, so why do you send patch
with errors to the mailing list?
I am sorry but what errors are you talking about?
I don't see any errors reported by checkpatch :-

shreeya@shreeya:~/collabora/rd/rockchip/torvalds$ ./scripts/checkpatch.pl hdmirx/0001-clk-rockchip-rst-rk3588-Add-BIU-reset.patch
WARNING: DT binding docs and includes should be a separate patch. See: Documentation/devicetree/bindings/submitting-patches.rst
Here.
quoted
total: 0 errors, 1 warnings, 13 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
      mechanically convert to the typical style using --fix or --fix-inplace.

hdmirx-v1-1602/0001-clk-rockchip-rst-rk3588-Add-BIU-reset.patch has style problems, please review.

I see the above warning but that looks like a false positive to me.
Why for your patch it would be false positive and for all others would not?
OK, now I see what you meant. Since we are touching the include file and C file together, this warning was generated.
It was a bit confusing to interpret this as the warning also talks about Documentation which we didn't touch at all.
Really, no documentation touching? Care to check the full path of the
files you are changing?

Anyway, I will create two separate patches for this in v2.
I think rules cannot be clearer:
https://elixir.bootlin.com/linux/v6.8-rc4/source/Documentation/devicetree/bindings/submitting-patches.rst#L13


Best regards,
Krzysztof
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help