Message ID | c3f084ab-9f77-86ab-7875-cbfe654ea18e@kaod.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 09/26/2016 01:50 AM, Cédric Le Goater wrote: > >>> Changes since v1: >>> >>> - replace 'bt_host' by 'bt_bmc' to reflect that the driver is >>> the BMC side of the IPMI BT interface >>> - renamed the device to 'ipmi-bt-host' >>> - introduced a temporary buffer to copy_{to,from}_user >>> - used platform_get_irq() >>> - moved the driver under drivers/char/ipmi/ but kept it as a misc >>> device >>> - changed the compatible cell to "aspeed,ast2400-bt-bmc" >>> >>> .../bindings/char/ipmi/aspeed,ast2400-bt-bmc.txt | 23 + >> While similar, this is not the kernel directory structure. Just make >> this bindings/ipmi/ >> >> With that, >> >> Acked-by: Rob Herring <robh@kernel.org> > OK. So I suppose we should be moving all IPMI documentation under > the same directory. > > > Corey, > > If the move is okay for you, I can send the patch below. > > Thanks, > > C. Sorry this took so long, I'm at a conference. That change is fine, it does seem to match the structure better. -corey > > From ca25f89b25209c260480cda5e5532d6bbe83ed43 Mon Sep 17 00:00:00 2001 > From: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= <clg@kaod.org> > Date: Mon, 26 Sep 2016 08:45:15 +0200 > Subject: [PATCH] dt-bindings: ipmi: move all documentation under > bindings/ipmi/ > MIME-Version: 1.0 > Content-Type: text/plain; charset=UTF-8 > Content-Transfer-Encoding: 8bit > > Signed-off-by: Cédric Le Goater <clg@kaod.org> > --- > .../devicetree/bindings/{char => }/ipmi/aspeed,ast2400-bt-bmc.txt | 0 > Documentation/devicetree/bindings/{ipmi.txt => ipmi/ipmi-smic.txt} | 0 > 2 files changed, 0 insertions(+), 0 deletions(-) > rename Documentation/devicetree/bindings/{char => }/ipmi/aspeed,ast2400-bt-bmc.txt (100%) > rename Documentation/devicetree/bindings/{ipmi.txt => ipmi/ipmi-smic.txt} (100%) > > diff --git a/Documentation/devicetree/bindings/char/ipmi/aspeed,ast2400-bt-bmc.txt b/Documentation/devicetree/bindings/ipmi/aspeed,ast2400-bt-bmc.txt > similarity index 100% > rename from Documentation/devicetree/bindings/char/ipmi/aspeed,ast2400-bt-bmc.txt > rename to Documentation/devicetree/bindings/ipmi/aspeed,ast2400-bt-bmc.txt > diff --git a/Documentation/devicetree/bindings/ipmi.txt b/Documentation/devicetree/bindings/ipmi/ipmi-smic.txt > similarity index 100% > rename from Documentation/devicetree/bindings/ipmi.txt > rename to Documentation/devicetree/bindings/ipmi/ipmi-smic.txt
On 09/28/2016 03:53 PM, Corey Minyard wrote: > On 09/26/2016 01:50 AM, Cédric Le Goater wrote: >> >>>> Changes since v1: >>>> >>>> - replace 'bt_host' by 'bt_bmc' to reflect that the driver is >>>> the BMC side of the IPMI BT interface >>>> - renamed the device to 'ipmi-bt-host' >>>> - introduced a temporary buffer to copy_{to,from}_user >>>> - used platform_get_irq() >>>> - moved the driver under drivers/char/ipmi/ but kept it as a misc >>>> device >>>> - changed the compatible cell to "aspeed,ast2400-bt-bmc" >>>> >>>> .../bindings/char/ipmi/aspeed,ast2400-bt-bmc.txt | 23 + >>> While similar, this is not the kernel directory structure. Just make >>> this bindings/ipmi/ >>> >>> With that, >>> >>> Acked-by: Rob Herring <robh@kernel.org> >> OK. So I suppose we should be moving all IPMI documentation under >> the same directory. >> >> >> Corey, >> >> If the move is okay for you, I can send the patch below. >> >> Thanks, >> >> C. > > Sorry this took so long, I'm at a conference. That change is fine, it does > seem to match the structure better. It's ok. Checkpatch really does not like that patch and I don't know what we can do about it. You've been warned :) Thanks, C. ./scripts/checkpatch.pl --strict 0001-dt-bindings-ipmi-move-all-documentation-under-bindin.patch WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #12: .../devicetree/bindings/{char => }/ipmi/aspeed,ast2400-bt-bmc.txt | 0 ERROR: Does not appear to be a unified-diff format patch total: 1 errors, 1 warnings, 0 checks, 0 lines checked
diff --git a/Documentation/devicetree/bindings/char/ipmi/aspeed,ast2400-bt-bmc.txt b/Documentation/devicetree/bindings/ipmi/aspeed,ast2400-bt-bmc.txt similarity index 100% rename from Documentation/devicetree/bindings/char/ipmi/aspeed,ast2400-bt-bmc.txt rename to Documentation/devicetree/bindings/ipmi/aspeed,ast2400-bt-bmc.txt diff --git a/Documentation/devicetree/bindings/ipmi.txt b/Documentation/devicetree/bindings/ipmi/ipmi-smic.txt similarity index 100% rename from Documentation/devicetree/bindings/ipmi.txt rename to Documentation/devicetree/bindings/ipmi/ipmi-smic.txt