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

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

From: Shreeya Patel <hidden>
Date: 2024-02-17 10:36:50
Also in: linux-clk, linux-devicetree, linux-media, linux-rockchip, lkml

On Saturday, February 17, 2024 15:50 IST, Krzysztof Kozlowski [off-list ref] wrote:
On 17/02/2024 11:18, Shreeya Patel wrote:
quoted
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?
Well, I meant the dt-binding doc for rst-rk3588
quoted
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
right, it was my mistake and I think after this nice and kind feedback, I'll never make the same one again :)

Thanks,
Shreeya Patel
Best regards,
Krzysztof

_______________________________________________
Kernel mailing list -- kernel@mailman.collabora.com
To unsubscribe send an email to kernel-leave@mailman.collabora.com
This list is managed by https://mailman.collabora.com

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help