On Tue, Sep 03, 2024 at 11:14:56AM +0200, Krzysztof Kozlowski wrote: > On 03/09/2024 11:08, Ki-Seok Jo wrote: > > I have no intention of opposing the content. I am asking again because I didn't receive any warnings when I did the following, and I suspect I might have done something wrong. > > ./scripts/checkpatch.pl Documentation/devicetree/bindings/sound/irondevice,sma1307.yaml > > I was under the impression that this only applied to patched files as described above. It turns out it can also be used with patch files. Thank you for the useful information! > That's not how you run checkpatch. You run it on the patch. Please read > submitting-patches document. It explains everything. If you *do* want to run checkpatch on a file for some reason (eg, so you can fix issues in existing code) you can use the --file option for that: ./scripts/checkpatch.pl --file Documentation/devicetree/bindings/sound/irondevice,sma1307.yaml Also I don't know if you're aware of b4 but it's pretty handy for automating a bunch of the procedural stuff around submitting patches, one of the things it can help with is running checkpatch over your series: https://b4.docs.kernel.org/en/latest/
Attachment:
signature.asc
Description: PGP signature
- References:
- [PATCH v2 0/3] Add a driver for the Iron Device SMA1307 Amp
- From: Kiseok Jo
- [PATCH v2 2/3] ASoC: dt-bindings: irondevice,sma1307: Add initial DT binding
- From: Kiseok Jo
- Re: [PATCH v2 2/3] ASoC: dt-bindings: irondevice,sma1307: Add initial DT binding
- From: Krzysztof Kozlowski
- Re: [PATCH v2 2/3] ASoC: dt-bindings: irondevice,sma1307: Add initial DT binding
- From: Ki-Seok Jo
- Re: [PATCH v2 2/3] ASoC: dt-bindings: irondevice,sma1307: Add initial DT binding
- From: Krzysztof Kozlowski
- Re: [PATCH v2 2/3] ASoC: dt-bindings: irondevice,sma1307: Add initial DT binding
- From: Ki-Seok Jo
- Re: [PATCH v2 2/3] ASoC: dt-bindings: irondevice,sma1307: Add initial DT binding
- From: Krzysztof Kozlowski
- [PATCH v2 0/3] Add a driver for the Iron Device SMA1307 Amp
- Prev by Date: [PATCH] ALSA: hda/realtek: extend quirks for Clevo V5[46]0
- Next by Date: [PATCH] ASOC: Intel: fix parenthesis alignment and space after cast coding style issue
- Previous by thread: Re: [PATCH v2 2/3] ASoC: dt-bindings: irondevice,sma1307: Add initial DT binding
- Next by thread: FW: [PATCH v2 2/3] ASoC: dt-bindings: irondevice,sma1307: Add initial DT binding
- Index(es):