ata: ata_generic: use IS_ENABLED() macro
PATCH 1/1 ata: ata_generic: use IS_ENABLED() macro
Replace now gone out of fashion defined(CONFIG_PATA_TOSHIBA[_MODULE]) with the new-fangled IS_ENABLED() macro in the ata_generic[] definition.
---
This patch is against the for-next branch of the LibATA Group's repo.
drivers/ata/ata_generic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/ata/ata_generic.c +1 -1
@@ -220,7 +220,7 @@ static struct pci_device_id ata_generic[ { PCI_DEVICE(PCI_VENDOR_ID_OPTI, PCI_DEVICE_ID_OPTI_82C558), }, { PCI_DEVICE(PCI_VENDOR_ID_CENATEK,PCI_DEVICE_ID_CENATEK_IDE), .driver_data = ATA_GEN_FORCE_DMA }, -#if !defined(CONFIG_PATA_TOSHIBA) && !defined(CONFIG_PATA_TOSHIBA_MODULE) +#if !IS_ENABLED(CONFIG_PATA_TOSHIBA) { PCI_DEVICE(PCI_VENDOR_ID_TOSHIBA,PCI_DEVICE_ID_TOSHIBA_PICCOLO_1), }, { PCI_DEVICE(PCI_VENDOR_ID_TOSHIBA,PCI_DEVICE_ID_TOSHIBA_PICCOLO_2), }, { PCI_DEVICE(PCI_VENDOR_ID_TOSHIBA,PCI_DEVICE_ID_TOSHIBA_PICCOLO_3), },
Damien Le Moal
maintainerQuoted 2 lines · Sergey Shtylyov
Replace now gone out of fashion
defined(CONFIG_PATA_TOSHIBA[_MODULE])with the new-fangledIS_ENABLED()macro in the ata_generic[] definition.
Please mention that CONFIG_PATA_TOSHIBA_MODULE actually does not exist at all and so can be removed.
Quoted 14 lines
Signed-off-by Sergey Shtylyov <[email protected]>---
This patch is against the for-next branch of the LibATA Group's repo.drivers/ata/ata_generic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Index:
linux/drivers/ata/ata_generic.c
===================================================================
drivers/ata/ata_generic.c static struct pci_device_id ata_generic[ · line 223
Quoted 5 lines
drivers/ata/ata_generic.c +1
-1@@ -220,7 +220,7 @@ static struct pci_device_id ata_generic[ { PCI_DEVICE(PCI_VENDOR_ID_OPTI, PCI_DEVICE_ID_OPTI_82C558), }, { PCI_DEVICE(PCI_VENDOR_ID_CENATEK,PCI_DEVICE_ID_CENATEK_IDE), .driver_data = ATA_GEN_FORCE_DMA }, -#if !defined(CONFIG_PATA_TOSHIBA) && !defined(CONFIG_PATA_TOSHIBA_MODULE) +#if !IS_ENABLED(CONFIG_PATA_TOSHIBA)
I do not understand the negation here... It seems very wrong. If the driver is indeed enabled, we need to add its PCI ID, no ? and the reverse when not defined...
Quoted 4 lines
drivers/ata/ata_generic.c +0
-0{ PCI_DEVICE(PCI_VENDOR_ID_TOSHIBA,PCI_DEVICE_ID_TOSHIBA_PICCOLO_1), }, { PCI_DEVICE(PCI_VENDOR_ID_TOSHIBA,PCI_DEVICE_ID_TOSHIBA_PICCOLO_2), }, { PCI_DEVICE(PCI_VENDOR_ID_TOSHIBA,PCI_DEVICE_ID_TOSHIBA_PICCOLO_3), },
Signature · 2 lines
Damien Le Moal Western Digital Research
On 9/10/24 7:50 AM, Damien Le Moal wrote:
[...]
Quoted 5 lines
Quoted 2 lines
Replace now gone out of fashion
defined(CONFIG_PATA_TOSHIBA[_MODULE])with the new-fangledIS_ENABLED()macro in the ata_generic[] definition.Please mention that
CONFIG_PATA_TOSHIBA_MODULEactually does not exist at all and so can be removed.
Huh? =)
CONFIG_PATA_TOSHIBA is a tristate option, so CONFIG_PATA_TOSHIBA_MODULE
does exist; else there would be no point in using IS_ENABLED() at all...
Quoted 1 line
Quoted 1 line
Signed-off-by Sergey Shtylyov <[email protected]>
[...[
Quoted 5 lines
Quoted 5 lines
Index:
linux/drivers/ata/ata_generic.c
===================================================================drivers/ata/ata_generic.c +0
-0@@ -220,7 +220,7 @@ static struct pci_device_id ata_generic[
Quoted 8 lines
drivers/ata/ata_generic.c static struct pci_device_id ata_generic[ · line 223
Quoted 5 lines
drivers/ata/ata_generic.c +1
-1{ PCI_DEVICE(PCI_VENDOR_ID_OPTI, PCI_DEVICE_ID_OPTI_82C558), }, { PCI_DEVICE(PCI_VENDOR_ID_CENATEK,PCI_DEVICE_ID_CENATEK_IDE), .driver_data = ATA_GEN_FORCE_DMA }, -#if !defined(CONFIG_PATA_TOSHIBA) && !defined(CONFIG_PATA_TOSHIBA_MODULE) +#if !IS_ENABLED(CONFIG_PATA_TOSHIBA)I do not understand the negation here... It seems very wrong. If the driver is indeed enabled, we need to add its PCI ID, no ? and the reverse when not defined...
The separate driver was added by Alan Cox in 2009, before that
Toshiba Piccolo controllers were handled by this generic driver...
[...]
MBR, Sergey
Damien Le Moal
maintainerQuoted 6 lines · Sergey Shtylyov
On 9/10/24 7:50 AM, Damien Le Moal wrote:
[...]Quoted 3 lines
Quoted 2 lines
Replace now gone out of fashion
defined(CONFIG_PATA_TOSHIBA[_MODULE])with the new-fangledIS_ENABLED()macro in the ata_generic[] definition.
Quoted 6 lines
Quoted 2 lines
Please mention that
CONFIG_PATA_TOSHIBA_MODULEactually does not exist at all and so can be removed.Huh? =)
CONFIG_PATA_TOSHIBAis a tristate option, soCONFIG_PATA_TOSHIBA_MODULE
does exist; else there would be no point in usingIS_ENABLED()at all...
Oops... Indeed. Got confused with something else :)
Quoted 18 lines
Quoted 1 line
Quoted 1 line
Signed-off-by Sergey Shtylyov <[email protected]>[...[
Quoted 5 lines
Quoted 5 lines
Index:
linux/drivers/ata/ata_generic.c
===================================================================drivers/ata/ata_generic.c +0
-0@@ -220,7 +220,7 @@ static struct pci_device_id ata_generic[Quoted 8 lines
drivers/ata/ata_generic.c static struct pci_device_id ata_generic[ · line 223
Quoted 5 lines
drivers/ata/ata_generic.c +1
-1{ PCI_DEVICE(PCI_VENDOR_ID_OPTI, PCI_DEVICE_ID_OPTI_82C558), }, { PCI_DEVICE(PCI_VENDOR_ID_CENATEK,PCI_DEVICE_ID_CENATEK_IDE), .driver_data = ATA_GEN_FORCE_DMA }, -#if !defined(CONFIG_PATA_TOSHIBA) && !defined(CONFIG_PATA_TOSHIBA_MODULE) +#if !IS_ENABLED(CONFIG_PATA_TOSHIBA)I do not understand the negation here... It seems very wrong. If the driver is indeed enabled, we need to add its PCI ID, no ? and the reverse when not defined...
Quoted 2 lines
The separate driver was added by Alan Cox in 2009, before that
Toshiba Piccolo controllers were handled by this generic driver...
OK, makes sense now. Maybe we should add a comment above that IS_ENABLED() to say so ?
Quoted 5 lines
[...]
MBR, Sergey
Signature · 2 lines
Damien Le Moal Western Digital Research
On 9/10/24 4:09 PM, Damien Le Moal wrote:
[...]
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Replace now gone out of fashion
defined(CONFIG_PATA_TOSHIBA[_MODULE])
I'll probably rephrase this a bit in v2...
Quoted 10 lines
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
with the new-fangled
IS_ENABLED()macro in the ata_generic[] definition.Please mention that
CONFIG_PATA_TOSHIBA_MODULEactually does not exist at all and so can be removed.Huh? =)
CONFIG_PATA_TOSHIBAis a tristate option, soCONFIG_PATA_TOSHIBA_MODULE
does exist; else there would be no point in usingIS_ENABLED()at all...Oops... Indeed. Got confused with something else :)
There's something to be confused about this driver vs its Kconfig option
naming: the driver is called pata_piccolo.c and its option CONFIG_PATA_TOSHIBA.
However, Toshiba seemingly has more than one family of the PATA controllers:
there's also TC86C001 PCI multi-function chip (dubbed GOKU-S by Toshiba) which
supports up to UDMA66 and doesn't seem compatible with Piccolo, judging by the
driver code and Toshiba GOKU-S datasheet I have: the timing regs are mapped @
AR5 and not in the PCI config space, like with the Piccolo chips.
If somebody like me (it was me who submitted the reworked Toshiba's TC86C001
driver for drivers/ide/ back in 2007), the confusion would probably worsen... :-/ Luckily, the chip is a bit tricky (I had to somewhat abuse drivers/ide/ to work around some "limitations", as Toshiba calls their errata) and I don't have access
to the chip to properly test the driver anymore. And obviously, there should be
a little interest now in adding the "new" PATA drivers. :-)
Any thoughts on the naming confusion?
Quoted 18 lines
Quoted 18 lines
Quoted 1 line
Quoted 1 line
Signed-off-by Sergey Shtylyov <[email protected]>[...[
Quoted 13 lines
drivers/ata/ata_generic.c static struct pci_device_id ata_generic[ · line 223
Quoted 10 lines
Index:
linux/drivers/ata/ata_generic.c
===================================================================drivers/ata/ata_generic.c +1
-1@@ -220,7 +220,7 @@ static struct pci_device_id ata_generic[ { PCI_DEVICE(PCI_VENDOR_ID_OPTI, PCI_DEVICE_ID_OPTI_82C558), }, { PCI_DEVICE(PCI_VENDOR_ID_CENATEK,PCI_DEVICE_ID_CENATEK_IDE), .driver_data = ATA_GEN_FORCE_DMA }, -#if !defined(CONFIG_PATA_TOSHIBA) && !defined(CONFIG_PATA_TOSHIBA_MODULE) +#if !IS_ENABLED(CONFIG_PATA_TOSHIBA)I do not understand the negation here... It seems very wrong. If the driver is indeed enabled, we need to add its PCI ID, no ? and the reverse when not defined...
Quoted 5 lines
Quoted 2 lines
The separate driver was added by Alan Cox in 2009, before that
Toshiba Piccolo controllers were handled by this generic driver...OK, makes sense now. Maybe we should add a comment above that
IS_ENABLED()to say so ?
Makes sense, indeed. Do you think this is acceptable to be done in v2 of this
patch?
MBR, Sergey
[Resending after adding the missed test, please ignore the previus reply.)
On 9/10/24 4:09 PM, Damien Le Moal wrote:
[...]
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Replace now gone out of fashion
defined(CONFIG_PATA_TOSHIBA[_MODULE])
I'll probably rephrase this a bit in v2...
Quoted 10 lines
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
with the new-fangled
IS_ENABLED()macro in the ata_generic[] definition.Please mention that
CONFIG_PATA_TOSHIBA_MODULEactually does not exist at all and so can be removed.Huh? =)
CONFIG_PATA_TOSHIBAis a tristate option, soCONFIG_PATA_TOSHIBA_MODULE
does exist; else there would be no point in usingIS_ENABLED()at all...Oops... Indeed. Got confused with something else :)
There's something to be confused about this driver vs its Kconfig option
naming: the driver is called pata_piccolo.c and its option CONFIG_PATA_TOSHIBA.
However, Toshiba seemingly has more than one family of the PATA controllers:
there's also TC86C001 PCI multi-function chip (dubbed GOKU-S by Toshiba) which
supports up to UDMA66 and doesn't seem compatible with Piccolo, judging by the
driver code and Toshiba GOKU-S datasheet I have: the timing regs are mapped @
AR5 and not in the PCI config space, like with the Piccolo chips.
If somebody like me (it was me who submitted the reworked Toshiba's TC86C001
driver for drivers/ide/ back in 2007) added TC86C001 libata driver, the confusion
would probably worsen... :-/ Luckily, the chip is a bit tricky (I had to somewhat
abuse drivers/ide/ to work around some "limitations", as Toshiba calls their errata)
and I don't have access to the chip to properly test the driver anymore. Obviously, there should be a little interest now in adding the "new" PATA drivers... :-)
Any thoughts on the naming confusion?
Quoted 18 lines
Quoted 18 lines
Quoted 1 line
Quoted 1 line
Signed-off-by Sergey Shtylyov <[email protected]>[...[
Quoted 13 lines
drivers/ata/ata_generic.c static struct pci_device_id ata_generic[ · line 223
Quoted 10 lines
Index:
linux/drivers/ata/ata_generic.c
===================================================================drivers/ata/ata_generic.c +1
-1@@ -220,7 +220,7 @@ static struct pci_device_id ata_generic[ { PCI_DEVICE(PCI_VENDOR_ID_OPTI, PCI_DEVICE_ID_OPTI_82C558), }, { PCI_DEVICE(PCI_VENDOR_ID_CENATEK,PCI_DEVICE_ID_CENATEK_IDE), .driver_data = ATA_GEN_FORCE_DMA }, -#if !defined(CONFIG_PATA_TOSHIBA) && !defined(CONFIG_PATA_TOSHIBA_MODULE) +#if !IS_ENABLED(CONFIG_PATA_TOSHIBA)I do not understand the negation here... It seems very wrong. If the driver is indeed enabled, we need to add its PCI ID, no ? and the reverse when not defined...
Quoted 5 lines
Quoted 2 lines
The separate driver was added by Alan Cox in 2009, before that
Toshiba Piccolo controllers were handled by this generic driver...OK, makes sense now. Maybe we should add a comment above that
IS_ENABLED()to say so ?
Makes sense, indeed. Do you think this is acceptable to be done in v2 of this
patch?
MBR, Sergey
Damien Le Moal
maintainerQuoted 20 lines · Sergey Shtylyov
[Resending after adding the missed test, please ignore the previus reply.)
On 9/10/24 4:09 PM, Damien Le Moal wrote:
[...]Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Replace now gone out of fashion
defined(CONFIG_PATA_TOSHIBA[_MODULE])I'll probably rephrase this a bit in v2...
Quoted 10 lines
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
with the new-fangled
IS_ENABLED()macro in the ata_generic[] definition.Please mention that
CONFIG_PATA_TOSHIBA_MODULEactually does not exist at all and so can be removed.Huh? =)
CONFIG_PATA_TOSHIBAis a tristate option, soCONFIG_PATA_TOSHIBA_MODULE
does exist; else there would be no point in usingIS_ENABLED()at all...Oops... Indeed. Got confused with something else :)
Quoted 13 lines
There's something to be confused about this driver vs its
Kconfigoption
naming: the driver is calledpata_piccolo.cand its optionCONFIG_PATA_TOSHIBA.
However, Toshiba seemingly has more than one family of the PATA controllers:
there's also TC86C001 PCI multi-function chip (dubbed GOKU-S by Toshiba) which
supports up to UDMA66 and doesn't seem compatible with Piccolo, judging by the
driver code and Toshiba GOKU-S datasheet I have: the timing regs are mapped @
AR5 and not in the PCI config space, like with the Piccolo chips.
If somebody like me (it was me who submitted the reworked Toshiba's TC86C001
driver fordrivers/ide/back in 2007) added TC86C001 libata driver, the confusion
would probably worsen... :-/ Luckily, the chip is a bit tricky (I had to somewhat
abusedrivers/ide/to work around some "limitations", as Toshiba calls their errata)
and I don't have access to the chip to properly test the driver anymore. Obviously, there should be a little interest now in adding the "new" PATA drivers... :-)
Any thoughts on the naming confusion?
Maybe rename the option to CONFIG_PATA_TOSHIBA_PICCCOLO ?
Quoted 19 lines
Quoted 19 lines
Quoted 19 lines
Quoted 2 lines
Quoted 2 lines
Signed-off-by Sergey Shtylyov <[email protected]>[...[
Quoted 13 lines
drivers/ata/ata_generic.c static struct pci_device_id ata_generic[ · line 223
Quoted 10 lines
Index:
linux/drivers/ata/ata_generic.c
===================================================================drivers/ata/ata_generic.c +1
-1@@ -220,7 +220,7 @@ static struct pci_device_id ata_generic[ { PCI_DEVICE(PCI_VENDOR_ID_OPTI, PCI_DEVICE_ID_OPTI_82C558), }, { PCI_DEVICE(PCI_VENDOR_ID_CENATEK,PCI_DEVICE_ID_CENATEK_IDE), .driver_data = ATA_GEN_FORCE_DMA }, -#if !defined(CONFIG_PATA_TOSHIBA) && !defined(CONFIG_PATA_TOSHIBA_MODULE) +#if !IS_ENABLED(CONFIG_PATA_TOSHIBA)I do not understand the negation here... It seems very wrong. If the driver is indeed enabled, we need to add its PCI ID, no ? and the reverse when not defined...
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
The separate driver was added by Alan Cox in 2009, before that
Toshiba Piccolo controllers were handled by this generic driver...OK, makes sense now. Maybe we should add a comment above that
IS_ENABLED()to say so ?Makes sense, indeed. Do you think this is acceptable to be done in v2 of this
patch?
Yep, that is fine and would fit with the config option renaming.
Quoted 2 lines
MBR, Sergey
Signature · 2 lines
Damien Le Moal Western Digital Research
On 9/11/24 1:22 AM, Damien Le Moal wrote:
[...]
Quoted 1 line
Quoted 1 line
[Resending after adding the missed test, please ignore the previus reply.)
Oops, some more typos! :-)
[...]
Quoted 11 lines
Quoted 11 lines
Quoted 10 lines
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
with the new-fangled
IS_ENABLED()macro in the ata_generic[] definition.Please mention that
CONFIG_PATA_TOSHIBA_MODULEactually does not exist at all and so can be removed.Huh? =)
CONFIG_PATA_TOSHIBAis a tristate option, soCONFIG_PATA_TOSHIBA_MODULE
does exist; else there would be no point in usingIS_ENABLED()at all...Oops... Indeed. Got confused with something else :)
Quoted 7 lines
Quoted 7 lines
There's something to be confused about this driver vs its
Kconfigoption
naming: the driver is calledpata_piccolo.cand its optionCONFIG_PATA_TOSHIBA. However, Toshiba seemingly has more than one family of the PATA controllers:
there's also TC86C001 PCI multi-function chip (dubbed GOKU-S by Toshiba) which supports up to UDMA66 and doesn't seem compatible with Piccolo, judging by the driver code and Toshiba GOKU-S datasheet I have: the timing regs are mapped @ AR5 and not in the PCI config space, like with the Piccolo chips.
I'm sure I typed BAR5 but apparently B went somewhere with further editing... :-)
Quoted 3 lines
Quoted 3 lines
If somebody like me (it was me who submitted the reworked Toshiba's TC86C001
driver fordrivers/ide/back in 2007) added TC86C001 libata driver, the confusion would probably worsen... :-/ Luckily, the chip is a bit tricky (I had to somewhat
If you want to see the original patch:
Some fragments of the patch lived thru the drivers/ide/ removal, see e.g.:
https://elixir.bootlin.com/linux/v6.11-rc1/source/drivers/pci/quirks.c#L2319
Quoted 2 lines
Quoted 2 lines
abuse
drivers/ide/to work around some "limitations", as Toshiba calls their errata)
and I don't have access to the chip to properly test the driver anymore. Obviously, there should be a little interest now in adding the "new" PATA drivers... :-)
The interesting fact is that the TC86C001 (GOUKU-S) USB device controller (PCI function #2) is still supported by its own driver (drivers/usb/gadget/udc/goku_udc.c), mereg back in 2004... :-)
Quoted 3 lines
Quoted 1 line
Any thoughts on the naming confusion?
Maybe rename the option to
CONFIG_PATA_TOSHIBA_PICCCOLO?
Nah, that doesn't make much sense to me; if we rename it, we should match the driver's name, i.e. make it CONFIG_PATA_PICCOLO. I'm mainly concerned about the
Linux distros which would have to handle such rename somehow, IIUC...
[...[
MBR, Sergey
Niklas Cassel
maintainerQuoted 6 lines · Sergey Shtylyov
Quoted 2 lines · Damien Le Moal
Maybe rename the option to
CONFIG_PATA_TOSHIBA_PICCCOLO?Nah, that doesn't make much sense to me; if we rename it, we should match the driver's name, i.e. make it
CONFIG_PATA_PICCOLO. I'm mainly concerned about the
Linux distros which would have to handle such rename somehow, IIUC...
I still remember:4dd4d3deb502 ("ata: ahci: Rename CONFIG_SATA_LPM_MOBILE_POLICY configuration item") and55b014159ee7 ("ata: ahci: Rename CONFIG_SATA_LPM_POLICY configuration item back")
so I also prefer to avoid renaming Kconfigs as far as possible.
Kind regards,
Niklas
On 9/13/24 9:57 AM, Niklas Cassel wrote:
[...]
Quoted 4 lines
Quoted 4 lines
Quoted 1 line
Maybe rename the option to
CONFIG_PATA_TOSHIBA_PICCCOLO?Nah, that doesn't make much sense to me; if we rename it, we should match the driver's name, i.e. make it
CONFIG_PATA_PICCOLO. I'm mainly concerned about the
Linux distros which would have to handle such rename somehow, IIUC...
I wonder whether they could be using s/th like make allmodconfig...
Quoted 6 lines
I still remember:
4dd4d3deb502("ata: ahci: RenameCONFIG_SATA_LPM_MOBILE_POLICYconfiguration item") and55b014159ee7("ata: ahci: RenameCONFIG_SATA_LPM_POLICYconfiguration item back")so I also prefer to avoid renaming Kconfigs as far as possible.
Yeah, it does not look very likely ATM that tc86c001 support will be
revived... Although, could be done pretty easily if I don't try to work around the infamous limitation #5...
Quoted 2 lines
Kind regards,
Niklas
MBR, Sergey
On 9/11/24 1:22 AM, Damien Le Moal wrote:
[...]
Quoted 4 lines
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Replace now gone out of fashion
defined(CONFIG_PATA_TOSHIBA[_MODULE])I'll probably rephrase this a bit in v2...
[...]
Quoted 22 lines
Quoted 22 lines
Quoted 22 lines
Quoted 21 lines
Quoted 2 lines
Quoted 2 lines
Signed-off-by Sergey Shtylyov <[email protected]>[...[
Quoted 5 lines
Quoted 5 lines
Index:
linux/drivers/ata/ata_generic.c
===================================================================drivers/ata/ata_generic.c +0
-0@@ -220,7 +220,7 @@ static struct pci_device_id ata_generic[Quoted 8 lines
drivers/ata/ata_generic.c static struct pci_device_id ata_generic[ · line 223
Quoted 5 lines
drivers/ata/ata_generic.c +1
-1{ PCI_DEVICE(PCI_VENDOR_ID_OPTI, PCI_DEVICE_ID_OPTI_82C558), }, { PCI_DEVICE(PCI_VENDOR_ID_CENATEK,PCI_DEVICE_ID_CENATEK_IDE), .driver_data = ATA_GEN_FORCE_DMA }, -#if !defined(CONFIG_PATA_TOSHIBA) && !defined(CONFIG_PATA_TOSHIBA_MODULE) +#if !IS_ENABLED(CONFIG_PATA_TOSHIBA)I do not understand the negation here... It seems very wrong. If the driver is indeed enabled, we need to add its PCI ID, no ? and the reverse when not defined...
The separate driver was added by Alan Cox in 2009, before that
Toshiba Piccolo controllers were handled by this generic driver...
Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
OK, makes sense now. Maybe we should add a comment above that
IS_ENABLED()to say so ?Makes sense, indeed. Do you think this is acceptable to be done in v2 of this
patch?Yep, that is fine and would fit with the config option renaming.
I started respinnig this patch and decided to add the Piccolo comment in
a separate patch, while deferring the Kconfig entry rename until/iff it becomes truly necessary, as per Niklas' comment).
Unfortunately, I seem to be late for the coming merge window... :-/
MBR, Sergey