Re: [PATCH 1/2] ASoC: rockchip: Add machine driver for max98090 codec

2015-07-16 Thread Paul Bolle
hides in MODULE_DEVICE_TABLE(of, rockchip_max98090_of_match); Which, I think, implies that any MODULE_ALIAS(platform:[...]) is pointless for systems booting with device tree support. Thanks, Paul Bolle -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [PATCH 1/2] ASoC: rockchip: Add machine driver for max98090 codec

2015-07-16 Thread Paul Bolle
, in short, the difference between this driver and other platform drivers is that, as far as I'm aware, this platform driver lacks a corresponding platform device. Probably because OF support suffices to get this module autoloaded. Thanks, Paul Bolle -- To unsubscribe from this list: send the line

Re: [PATCH v2] Staging: fbtft: Add support for the Ultrachip UC1611 LCD controller

2015-07-15 Thread Paul Bolle
_MODE_3, > + .platform_data = &(struct fbtft_platform_data) { > + .display = { > + .buswidth = 9, > + }, > + .gpios = (const struct fbtft_gpio []) { > + {}, > +

Re: [PATCH V4 1/1] usb:serial:f81534 add F81532/534 driver

2015-07-15 Thread Paul Bolle
_driver *const serial_drivers[] = { > + _device, NULL > +}; > + If you drop this empty line ... > +module_usb_serial_driver(serial_drivers, id_table); and add an empty line here, things look neater. > +MODULE_DESCRIPTION(DRIVER_DESC); > +MODULE_AUTHOR("Peter Hong &quo

Re: [PATCH V4 1/1] usb:serial:f81534 add F81532/534 driver

2015-07-15 Thread Paul Bolle
line here, things look neater. +MODULE_DESCRIPTION(DRIVER_DESC); +MODULE_AUTHOR(Peter Hong peter_h...@fintek.com.tw); +MODULE_AUTHOR(Tom Tsai tom_t...@fintek.com.tw); +MODULE_LICENSE(GPL); Thanks, Paul Bolle -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [PATCH v2] Staging: fbtft: Add support for the Ultrachip UC1611 LCD controller

2015-07-15 Thread Paul Bolle
, Paul Bolle -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] Documentation: improve line discipline method descriptions

2015-07-14 Thread Paul Bolle
icate more data can be sent. If "appropriate value" could be changed into something less vague (either in this patch or in a future follow up patch) that would be really nice. Thanks, Paul Bolle -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: [PATCH 2/2] isdn/gigaset: drop unused ldisc methods

2015-07-14 Thread Paul Bolle
hat it might be in time for v4.3. Thanks, Paul Bolle -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 1/2] isdn/gigaset: reset tty->receive_room when attaching ser_gigaset

2015-07-14 Thread Paul Bolle
a few weeks so that it might finally be fixed in v4.3. Applied. Paul Bolle -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] Documentation: improve line discipline method descriptions

2015-07-14 Thread Paul Bolle
be sent. If appropriate value could be changed into something less vague (either in this patch or in a future follow up patch) that would be really nice. Thanks, Paul Bolle -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

Re: [PATCH 1/2] isdn/gigaset: reset tty-receive_room when attaching ser_gigaset

2015-07-14 Thread Paul Bolle
in v4.3. Applied. Paul Bolle -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 2/2] isdn/gigaset: drop unused ldisc methods

2015-07-14 Thread Paul Bolle
that it might be in time for v4.3. Thanks, Paul Bolle -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 1/2] Add NXP LPC32XX SPI driver

2015-07-13 Thread Paul Bolle
-lpc32xx", which will fire off a "MODALIAS=platform:spi-lpc32xx" uevent when it's created. I couldn't find that platform_device. Did I miss something? Or is there another way this alias is useful? Thanks, Paul Bolle -- To unsubscribe from this list: send the line "unsubscri

Re: [PATCH 1/2] Add NXP LPC32XX SPI driver

2015-07-13 Thread Paul Bolle
platform_device with a .name of spi -lpc32xx, which will fire off a MODALIAS=platform:spi-lpc32xx uevent when it's created. I couldn't find that platform_device. Did I miss something? Or is there another way this alias is useful? Thanks, Paul Bolle -- To unsubscribe from this list: send the line

Re: [PATCH v7 1/4] drm/layerscape: Add Freescale DCU DRM driver

2015-07-11 Thread Paul Bolle
+ b/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.h > +#define DRIVER_NAME "fsl-dcu-drm" Nit: I don't think DRIVER_NAME is actually used anywhere. Thanks, Paul Bolle -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: [PATCH] Add generic driver for Silead tochscreens

2015-07-11 Thread Paul Bolle
the !CONFIG_ACPI case include/linux/acpi.h contains #define ACPI_PTR(_ptr) (NULL) So I think the above CONFIG_ACPI guard is superfluous and can be dropped. > +[...] > + }, > +}; Thanks, Paul Bolle -- To unsubscribe from this list: send the line "unsubscribe linux-kernel&

Re: [PATCH 04/11] soc/fsl: Introduce drivers for the DPAA QMan

2015-07-11 Thread Paul Bolle
river = { > + .driver = { > + .name = DRV_NAME, > + .of_match_table = of_fsl_qman_ids, > + }, > + .probe = of_fsl_qman_probe, > + .remove = of_fsl_qman_remove, > +}; > + > +module_platform_driver(of_fsl_qman_driver); As of v4.2-rc1 you can use built

Re: [PATCH 04/11] soc/fsl: Introduce drivers for the DPAA QMan

2015-07-11 Thread Paul Bolle
builtin_platform_driver() for built-in only code. Thanks, Paul Bolle -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] Add generic driver for Silead tochscreens

2015-07-11 Thread Paul Bolle
/linux/acpi.h contains #define ACPI_PTR(_ptr) (NULL) So I think the above CONFIG_ACPI guard is superfluous and can be dropped. +[...] + }, +}; Thanks, Paul Bolle -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org

Re: [PATCH v7 1/4] drm/layerscape: Add Freescale DCU DRM driver

2015-07-11 Thread Paul Bolle
DRIVER_NAME fsl-dcu-drm Nit: I don't think DRIVER_NAME is actually used anywhere. Thanks, Paul Bolle -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

Re: [PATCH 03/11] soc/fsl: Introduce the DPAA BMan portal driver

2015-07-10 Thread Paul Bolle
to upstream > these drivers. At the end of the day, what matters is what the people that need to sign off on these drivers (ppc? netdev?) are comfortable with. I know that some maintainers won't even bother looking at code that has no callers. In the mean time I'll skip the exports for the re

Re: [PATCH 03/11] soc/fsl: Introduce the DPAA BMan portal driver

2015-07-10 Thread Paul Bolle
drivers/soc/fsl/qbman/dpaa_sys.h > > +#define CONFIG_TRY_BETTER_MEMCPY Please replace the CONFIG_ prefix with something else. > +#ifdef CONFIG_TRY_BETTER_MEMCPY This will always be true, right? > [...] > +#else > +#define copy_words memcpy > +#define copy_shorts memcpy > +#defi

Re: [PATCH 02/11] soc/fsl: Introduce DPAA BMan device management driver

2015-07-10 Thread Paul Bolle
t("ASSERT: (%s:%d) %s\n", __FILE__, __LINE__, \ > + __stringify_1(x)); \ > + dump_stack(); \ > + panic("assertion failure"); \ Not my call, but why panic() here? > + } \ > + } while (0)

Re: [PATCH v2] coresight: replicator: Use module_platform_driver

2015-07-10 Thread Paul Bolle
On vr, 2015-07-10 at 08:53 +0530, Vaishali Thakkar wrote: > I thought about this solution before sending this patch. But I was not > sure about it. Thanks for the explanation. I will send v3 with this > change. > > Can I add Suggested By: Paul Bolle That should be "Sug

Re: [PATCH 02/11] soc/fsl: Introduce DPAA BMan device management driver

2015-07-10 Thread Paul Bolle
e warnings being treated as errors scripts/Makefile.build:264: recipe for target '[...]/drivers/soc/fsl/qbman/bman.o' failed make[1]: *** [[...]/drivers/soc/fsl/qbman/bman.o] Error 1 Makefile:1568: recipe for target 'bman.ko' failed make: *** [bman.ko] Error 2 make: Leaving directory '[...]' Thanks, Paul

Re: [PATCH 02/11] soc/fsl: Introduce DPAA BMan device management driver

2015-07-10 Thread Paul Bolle
/bman.o' failed make[1]: *** [[...]/drivers/soc/fsl/qbman/bman.o] Error 1 Makefile:1568: recipe for target 'bman.ko' failed make: *** [bman.ko] Error 2 make: Leaving directory '[...]' Thanks, Paul Bolle -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

Re: [PATCH v2] coresight: replicator: Use module_platform_driver

2015-07-10 Thread Paul Bolle
On vr, 2015-07-10 at 08:53 +0530, Vaishali Thakkar wrote: I thought about this solution before sending this patch. But I was not sure about it. Thanks for the explanation. I will send v3 with this change. Can I add Suggested By: Paul Bolle pebo...@tiscali.nl That should be Suggested

Re: [PATCH 02/11] soc/fsl: Introduce DPAA BMan device management driver

2015-07-10 Thread Paul Bolle
(0) +#else +#define DPA_ASSERT(x) +#endif Thanks, Paul Bolle -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http

Re: [PATCH 03/11] soc/fsl: Introduce the DPAA BMan portal driver

2015-07-10 Thread Paul Bolle
+#define copy_shorts memcpy +#define copy_bytes memcpy +#endif --- /dev/null +++ b/include/soc/fsl/bman.h +static inline int bman_reserve_bpid(u32 bpid) +{ + return bman_reserve_bpid_range(bpid, 1); +} Unused. Thanks, Paul Bolle -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH 03/11] soc/fsl: Introduce the DPAA BMan portal driver

2015-07-10 Thread Paul Bolle
matters is what the people that need to sign off on these drivers (ppc? netdev?) are comfortable with. I know that some maintainers won't even bother looking at code that has no callers. In the mean time I'll skip the exports for the remainder of this series. Thanks, Paul Bolle -- To unsubscribe

Re: [PATCH v2] coresight: replicator: Use module_platform_driver

2015-07-09 Thread Paul Bolle
ONFIG_CORESIGHT_LINKS_AND_SINKS is defined. CORESIGHT_LINKS_AND_SINKS is a bool symbol. It depends on CORESIGHT, which is also a bool symbol. CORESIGHT is a top level symbol, available on arm and arm64. I think coresight-replicator.o can only be built-in. So I suggest to use builtin_platform_driver() instead. Thanks, P

Re: [PATCH] dsa: mv88e6352/mv88e6xxx: Add support for Marvell 88E6320 and 88E6321

2015-07-09 Thread Paul Bolle
I couldn't find the struct platform_device's that would, in short, fire off the corresponding "MODALIAS=platform:mv88e6[...]" uevent when they're created. Where should I look for those struct platform_device's? Thanks, Paul Bolle -- To unsubscribe from this list: send the line "

Re: [PATCH 1/7] pinctrl: UniPhier: add UniPhier pinctrl core support

2015-07-09 Thread Paul Bolle
and the maintainer (Linus?). I just prefer if you'd be consistent with that choice (ie, you should not use module specific code in a built-in only driver). Thanks, Paul Bolle -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vg

Re: [PATCH 4/7] dmaengine: st_fdma: Add xbar support

2015-07-09 Thread Paul Bolle
.of_match_table = st_fdma_xbar_match, > + }, > + .probe = st_fdma_xbar_probe, > + .remove = st_fdma_xbar_remove, > +}; > +module_platform_driver(st_fdma_xbar_driver); See my remark on 3/7: builtin_platform_driver(). > +MODULE_LICENSE("GPL v2"); > +M

Re: [PATCH 3/7] dmaengine: st_fdma: Add STMicroelectronics FDMA engine driver support

2015-07-09 Thread Paul Bolle
*chan, void *param) > +{ > + [...] > +} > +EXPORT_SYMBOL(st_fdma_filter_fn); This series adds no users of this export. I suppose they will be added in another series. Is that correct? > +MODULE_LICENSE("GPL v2"); > +MODULE_DESCRIPTION("STMicroelect

Re: [PATCH 3/7] dmaengine: st_fdma: Add STMicroelectronics FDMA engine driver support

2015-07-09 Thread Paul Bolle
engine driver); +MODULE_AUTHOR(Ludovic.barre ludovic.ba...@st.com); These macros will, basically, be preprocessed away for built-in only code. Thanks, Paul Bolle -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

Re: [PATCH 4/7] dmaengine: st_fdma: Add xbar support

2015-07-09 Thread Paul Bolle
(st_fdma_xbar_driver); See my remark on 3/7: builtin_platform_driver(). +MODULE_LICENSE(GPL v2); +MODULE_DESCRIPTION(STMicroelectronics FDMA cross bar); +MODULE_AUTHOR(Ludovic.barre ludovic.ba...@st.com); See my remark on 3/7: will be preprocessed away. Thanks, Paul Bolle -- To unsubscribe

Re: [PATCH] dsa: mv88e6352/mv88e6xxx: Add support for Marvell 88E6320 and 88E6321

2015-07-09 Thread Paul Bolle
[...] uevent when they're created. Where should I look for those struct platform_device's? Thanks, Paul Bolle -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

Re: [PATCH 1/7] pinctrl: UniPhier: add UniPhier pinctrl core support

2015-07-09 Thread Paul Bolle
just prefer if you'd be consistent with that choice (ie, you should not use module specific code in a built-in only driver). Thanks, Paul Bolle -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info

Re: [PATCH v2] coresight: replicator: Use module_platform_driver

2015-07-09 Thread Paul Bolle
. CORESIGHT_LINKS_AND_SINKS is a bool symbol. It depends on CORESIGHT, which is also a bool symbol. CORESIGHT is a top level symbol, available on arm and arm64. I think coresight-replicator.o can only be built-in. So I suggest to use builtin_platform_driver() instead. Thanks, Paul Bolle -- To unsubscribe from

Re: [PATCH 1/7] pinctrl: UniPhier: add UniPhier pinctrl core support

2015-07-08 Thread Paul Bolle
it's an anti-pattern nevertheless. See the discussion that Shobhit Kumar, Paul Gortmaker, and I had starting in https://lkml.org/lkml/2015/6/20/63 . Please let me know if you're unconvinced by the arguments brought forward by both Pauls in that discussion. Thanks, Paul Bolle -- To unsubscribe fr

Re: [PATCH, resend] build: fix broken kernel RPM source symlink

2015-07-08 Thread Paul Bolle
On wo, 2015-07-08 at 20:47 +0200, Espen Carlsen wrote: > I assume your wild guess was that if I had /lib/modules/4.1.0/build & > source as that was the kernel I was building? Yes. Paul Bolle -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in t

Re: [PATCH, resend] build: fix broken kernel RPM source symlink

2015-07-08 Thread Paul Bolle
B)/build ; \ ln -s $(CURDIR) $(MODLIB)/build ; \ fi @cp -f $(objtree)/modules.order $(MODLIB)/ @cp -f $(objtree)/modules.builtin $(MODLIB)/ $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modinst I wonder why you don't see similar links when building on CentOS

Re: [PATCH, resend] build: fix broken kernel RPM source symlink

2015-07-08 Thread Paul Bolle
ld guess: do the Ubuntu systems already have /lib/modules/4.1.0/build /lib/modules/4.1.0/source as symlinks to /usr/src/kernels/4.1.0 when you're building the rpms? (That is, not in rpm's buildroot, but in the actual filesystem.) Paul Bolle -- To unsubscribe from this list: send the line "

Re: [PATCH, resend] build: fix broken kernel RPM source symlink

2015-07-08 Thread Paul Bolle
35 Jul 4 18:31 /lib/modules/4.1.0/build -> /usr/src/kernels/4.1.0 lrwxrwxrwx1 rootroot 35 Jul 6 12:15 /lib/modules/4.1.0/source -> /usr/src/kernels/4.1.0 drwxr-xr-x2 rootroot0 Jul 6 12:15 /usr/src/kernels/4.1.0 or something e

Re: [PATCH, resend] build: fix broken kernel RPM source symlink

2015-07-08 Thread Paul Bolle
/kernels/4.1.0 lrwxrwxrwx1 rootroot 35 Jul 6 12:15 /lib/modules/4.1.0/source - /usr/src/kernels/4.1.0 drwxr-xr-x2 rootroot0 Jul 6 12:15 /usr/src/kernels/4.1.0 or something equivalent, right? Paul Bolle -- To unsubscribe from this list

Re: [PATCH, resend] build: fix broken kernel RPM source symlink

2015-07-08 Thread Paul Bolle
systems already have /lib/modules/4.1.0/build /lib/modules/4.1.0/source as symlinks to /usr/src/kernels/4.1.0 when you're building the rpms? (That is, not in rpm's buildroot, but in the actual filesystem.) Paul Bolle -- To unsubscribe from this list: send the line unsubscribe linux

Re: [PATCH, resend] build: fix broken kernel RPM source symlink

2015-07-08 Thread Paul Bolle
$(MODLIB)/ @cp -f $(objtree)/modules.builtin $(MODLIB)/ $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modinst I wonder why you don't see similar links when building on CentOS. I saw similar links in rpm's BUILDROOT when building on Fedora 22. Thanks, Paul Bolle -- To unsubscribe from

Re: [PATCH 1/7] pinctrl: UniPhier: add UniPhier pinctrl core support

2015-07-08 Thread Paul Bolle
-pattern nevertheless. See the discussion that Shobhit Kumar, Paul Gortmaker, and I had starting in https://lkml.org/lkml/2015/6/20/63 . Please let me know if you're unconvinced by the arguments brought forward by both Pauls in that discussion. Thanks, Paul Bolle -- To unsubscribe from this list: send

Re: [PATCH, resend] build: fix broken kernel RPM source symlink

2015-07-08 Thread Paul Bolle
On wo, 2015-07-08 at 20:47 +0200, Espen Carlsen wrote: I assume your wild guess was that if I had /lib/modules/4.1.0/build source as that was the kernel I was building? Yes. Paul Bolle -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

Re: [PATCH 6/7] hvsock: introduce Hyper-V VM Sockets feature

2015-07-07 Thread Paul Bolle
G_FOO is not set will be printed if FOO's dependencies are met and FOO either has a "prompt" or a default of 'n'. Hope this helps, Paul Bolle -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More major

Re: [PATCH 6/7] hvsock: introduce Hyper-V VM Sockets feature

2015-07-07 Thread Paul Bolle
> +module_exit(hvsock_exit); Any specific reason not to mark these functions __init and __exit? Thanks, Paul Bolle -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 1/8] xtensa: clean up Kconfig dependencies for custom cores

2015-07-07 Thread Paul Bolle
oesn't config MMU bool (ie, drop the 'n' default) work just as well? Paul Bolle -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.ht

Re: [PATCH 1/7] pinctrl: UniPhier: add UniPhier pinctrl core support

2015-07-07 Thread Paul Bolle
ls. So, as far as I can see, the code it adds can only be built-in. This series also uses a number of module specific constructs (ie, THIS_MODULE, MODULE_DEVICE_TABLE, module_exit, MODULE_AUTHOR, MODULE_DESCRIPTION, and MODULE_LICENSE). So I wonder whether it was intended to make these new Kconfig symbols

Re: [PATCH v2 1/2] create SMAF module

2015-07-07 Thread Paul Bolle
op of this file states, succinctly, that the license is GPL v2. And, according to include/linux/module.h, the MODULE_LICENSE() macro here states that the license is GPL v2 or later. So I think that either that comment or the ident used in that macro needs to change. Ditto for 2/2. Thanks, Paul Bolle

Re: [PATCH v2 1/2] create SMAF module

2015-07-07 Thread Paul Bolle
, that the license is GPL v2. And, according to include/linux/module.h, the MODULE_LICENSE() macro here states that the license is GPL v2 or later. So I think that either that comment or the ident used in that macro needs to change. Ditto for 2/2. Thanks, Paul Bolle -- To unsubscribe from

Re: [PATCH 1/7] pinctrl: UniPhier: add UniPhier pinctrl core support

2015-07-07 Thread Paul Bolle
-in. This series also uses a number of module specific constructs (ie, THIS_MODULE, MODULE_DEVICE_TABLE, module_exit, MODULE_AUTHOR, MODULE_DESCRIPTION, and MODULE_LICENSE). So I wonder whether it was intended to make these new Kconfig symbols tristate instead? Thanks, Paul Bolle -- To unsubscribe from

Re: [PATCH 6/7] hvsock: introduce Hyper-V VM Sockets feature

2015-07-07 Thread Paul Bolle
. --- /dev/null +++ b/net/hv_sock/af_hvsock.c +static int hvsock_init(void) +{ + [...] +} + +static void hvsock_exit(void) +{ + [...] +} + +module_init(hvsock_init); +module_exit(hvsock_exit); Any specific reason not to mark these functions __init and __exit? Thanks, Paul Bolle

Re: [PATCH 6/7] hvsock: introduce Hyper-V VM Sockets feature

2015-07-07 Thread Paul Bolle
will be printed if FOO's dependencies are met and FOO either has a prompt or a default of 'n'. Hope this helps, Paul Bolle -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

Re: [PATCH 1/8] xtensa: clean up Kconfig dependencies for custom cores

2015-07-07 Thread Paul Bolle
(ie, drop the 'n' default) work just as well? Paul Bolle -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 1/2] kconfig: also warn of unhandled characters in statements

2015-07-05 Thread Paul Bolle
e->lineno++; > @@ -132,7 +140,6 @@ n [A-Za-z0-9_] > BEGIN(STRING); > } > \n BEGIN(INITIAL); current_file->lineno++; return T_EOL; > - --- /* ignore */ > ({n}|[-/.])+{ > const struct kconf_id *id = kconf_id_lookup(yytext, y

Re: [PATCH 2/3] mmc: sdhci-of-at91: introduce driver for the Atmel SDMMC

2015-07-05 Thread Paul Bolle
ly) GPL v2. So I think that either the comment at the top of this file or the ident used in MODULE_LICENSE() needs to change. Thanks, Paul Bolle -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordo

Re: [PATCH, resend] build: fix broken kernel RPM source symlink

2015-07-05 Thread Paul Bolle
ln -sf /usr/src/kernels/$KERNELRELEASE build" > -echo "ln -sf /usr/src/kernels/$KERNELRELEASE source" > +echo "ln -sfT /usr/src/kernels/$KERNELRELEASE build" > +echo "ln -sfT /usr/src/kernels/$KERNELRELEASE source" Thanks, Paul Bolle -- To unsubscribe f

Re: [PATCH, resend] build: fix broken kernel RPM source symlink

2015-07-05 Thread Paul Bolle
source +echo ln -sfT /usr/src/kernels/$KERNELRELEASE build +echo ln -sfT /usr/src/kernels/$KERNELRELEASE source Thanks, Paul Bolle -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: [PATCH 1/2] kconfig: also warn of unhandled characters in statements

2015-07-05 Thread Paul Bolle
}|[-/.])+{ const struct kconf_id *id = kconf_id_lookup(yytext, yyleng); if (id id-flags TF_PARAM) { Thanks, Paul Bolle -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: [PATCH 2/3] mmc: sdhci-of-at91: introduce driver for the Atmel SDMMC

2015-07-05 Thread Paul Bolle
the comment at the top of this file or the ident used in MODULE_LICENSE() needs to change. Thanks, Paul Bolle -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Kconfig: '+config' valid syntax?

2015-07-03 Thread Paul Bolle
ped files like these should mention the command line that was used. Because now everyone is expected to figure that out themselves. Bonus points for mentioning the version of the tool that was used. Paul Bolle -- To unsubscribe from this list: send the line "unsubscribe linux-kernel&quo

Re: [PATCH 1/1] merge_config.sh: exit on missing input files

2015-07-03 Thread Paul Bolle
ccessful > exit code. > > Signed-off-by: Sam Bobroff Could you please resend and include linux-kbu...@vger.kernel.org? scripts/get_maintainer.pl would have told you that. (Please don't bother including Yann Morin, as Yann has not been heard of for a long time now.) Thanks, Paul Boll

Re: Kconfig: '+config' valid syntax?

2015-07-03 Thread Paul Bolle
-l 2590 Doable. Might not make you friends. > Tightening things up should be safe after that. Did you already try adding ---help--- (and something similar to Andreas' check for the mistake we're discussing here)? Paul Bolle -- To unsubscribe from this list: send the line "un

Re: Kconfig: '+config' valid syntax?

2015-07-03 Thread Paul Bolle
lean way. (Perhaps that will start with renaming COMMAND and PARAM and/or documenting these states.) I think I already demonstrated that I'm too unfamiliar with lex for it to make sense to volunteer. Thanks, Paul Bolle -- To unsubscribe from this list: send the line "unsubscribe linux-kernel&qu

Re: [PATCH 0/2] kconfig: allow use of relations other than (in)equality

2015-07-03 Thread Paul Bolle
Because, obviously, the review of those patches could also be used to demonstrate their downsides. Actually, since DEBUG_UART_8250_WORD already uses ">=", and that's now become legal, perhaps the downsides can already be demonstrated. Thanks, Paul Bolle -- To unsubscribe from this list:

Re: Kconfig: '+config' valid syntax?

2015-07-03 Thread Paul Bolle
hink you implied, it doesn't help that the empty rule we're hitting here is not commented.) So the naive solution seems to be to also add the warning to COMMAND's rule for '.'. A quick test suggest that would work. Am I missing some obvious downside with that solution? Thanks, Paul Bolle -- To

Re: Kconfig: '+config' valid syntax?

2015-07-03 Thread Paul Bolle
that the empty rule we're hitting here is not commented.) So the naive solution seems to be to also add the warning to COMMAND's rule for '.'. A quick test suggest that would work. Am I missing some obvious downside with that solution? Thanks, Paul Bolle -- To unsubscribe from this list: send the line

Re: [PATCH 0/2] kconfig: allow use of relations other than (in)equality

2015-07-03 Thread Paul Bolle
also be used to demonstrate their downsides. Actually, since DEBUG_UART_8250_WORD already uses =, and that's now become legal, perhaps the downsides can already be demonstrated. Thanks, Paul Bolle -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

Re: Kconfig: '+config' valid syntax?

2015-07-03 Thread Paul Bolle
with renaming COMMAND and PARAM and/or documenting these states.) I think I already demonstrated that I'm too unfamiliar with lex for it to make sense to volunteer. Thanks, Paul Bolle -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

Re: Kconfig: '+config' valid syntax?

2015-07-03 Thread Paul Bolle
that. Did you already try adding ---help--- (and something similar to Andreas' check for the mistake we're discussing here)? Paul Bolle -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: [PATCH 1/1] merge_config.sh: exit on missing input files

2015-07-03 Thread Paul Bolle
. Signed-off-by: Sam Bobroff sam.bobr...@au1.ibm.com Could you please resend and include linux-kbu...@vger.kernel.org? scripts/get_maintainer.pl would have told you that. (Please don't bother including Yann Morin, as Yann has not been heard of for a long time now.) Thanks, Paul Bolle

Re: Kconfig: '+config' valid syntax?

2015-07-03 Thread Paul Bolle
the command line that was used. Because now everyone is expected to figure that out themselves. Bonus points for mentioning the version of the tool that was used. Paul Bolle -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org

Re: Kconfig: '+config' valid syntax?

2015-07-02 Thread Paul Bolle
[Spoiler: please start at the end of my reply.] On do, 2015-07-02 at 13:57 +0200, Andreas Ruprecht wrote: > On 07/02/2015 11:01, Paul Bolle wrote: > > On Thu, 2015-07-02 at 10:08 +0200, Valentin Rothberg wrote: > > Welcome to the wonders of lex and yacc! > > > > I

Re: Kconfig: '+config' valid syntax?

2015-07-02 Thread Paul Bolle
On do, 2015-07-02 at 11:01 +0200, Paul Bolle wrote: > I'm just guessing here. Anyhow, you might start by looking at this > snippet in zconf.l: > . { > unput(yytext[0]); > BEGIN(COMMAND); > } > >

Re: Kconfig: '+config' valid syntax?

2015-07-02 Thread Paul Bolle
ing if we encounter some text ({n} = [A-Za-z0-9_]); - go in INITIAL state if we encounter newlines or unknown stuff. At the end of which we're back where we started before encountering the'+'. But there are more references to '.' in the lex rules so it's probably more complicated. Hope this help

Re: Kconfig: '+config' valid syntax?

2015-07-02 Thread Paul Bolle
stuff. At the end of which we're back where we started before encountering the'+'. But there are more references to '.' in the lex rules so it's probably more complicated. Hope this helps, Paul Bolle -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

Re: Kconfig: '+config' valid syntax?

2015-07-02 Thread Paul Bolle
On do, 2015-07-02 at 11:01 +0200, Paul Bolle wrote: I'm just guessing here. Anyhow, you might start by looking at this snippet in zconf.l: . { unput(yytext[0]); BEGIN(COMMAND); } COMMAND{ {n

Re: Kconfig: '+config' valid syntax?

2015-07-02 Thread Paul Bolle
[Spoiler: please start at the end of my reply.] On do, 2015-07-02 at 13:57 +0200, Andreas Ruprecht wrote: On 07/02/2015 11:01, Paul Bolle wrote: On Thu, 2015-07-02 at 10:08 +0200, Valentin Rothberg wrote: Welcome to the wonders of lex and yacc! I try to spend as little time as possible

Re: [PATCHv5 2/2] mailbox: Adding driver for Xilinx LogiCORE IP mailbox.

2015-06-25 Thread Paul Bolle
his line. As I asked in my first message: what breaks if this line is dropped? > Also it is quite common that users create own BSP for their custom > boards but they don't push it to mainline. I can't recall what BSP means. Anyhow, why should we care about boards not pushed into mainline? Pau

Re: [PATCHv5 2/2] mailbox: Adding driver for Xilinx LogiCORE IP mailbox.

2015-06-25 Thread Paul Bolle
On Thu, 2015-06-25 at 08:55 +0200, Michal Simek wrote: > On 06/24/2015 10:36 PM, Paul Bolle wrote: > > On Tue, 2015-06-23 at 11:00 -0700, Moritz Fischer wrote: > > > +MODULE_ALIAS("platform:xilinx-mailbox"); > > > > So I think this MODULE_ALIA

Re: [PATCH 11/12] [media] tsin: c8sectpfe: Add Kconfig and Makefile for the driver.

2015-06-25 Thread Paul Bolle
) > + c8sectpfe-y += c8sectpfe-debugfs.o > +endif Isn't the above equivalent to c8sectpfe-y += c8sectpfe-core.o c8sectpfe-common.o c8sectpfe-dvb.o c8sectpfe-debugfs.o obj-$(CONFIG_DVB_C8SECTPFE) += c8sectpfe.o Or am I missing something subtle here? Paul Bolle -- To unsub

Re: [PATCH][v2] asus-rbtn: new driver for asus radio button for Windows 8

2015-06-25 Thread Paul Bolle
_driver(_driver); > + > + if (asuspl_dev) { If asusrb_exit() will be run asusrb_init() must have completed successfully before, right? And is there a way for asuspl_dev to be NULL after asusrb_init() succeeded? > + platform_device_unregister(asuspl_dev); > + plat

Re: [PATCHv5 2/2] mailbox: Adding driver for Xilinx LogiCORE IP mailbox.

2015-06-25 Thread Paul Bolle
On Thu, 2015-06-25 at 08:55 +0200, Michal Simek wrote: On 06/24/2015 10:36 PM, Paul Bolle wrote: On Tue, 2015-06-23 at 11:00 -0700, Moritz Fischer wrote: +MODULE_ALIAS(platform:xilinx-mailbox); So I think this MODULE_ALIAS() is only useful if, in short, there's a corresponding

Re: [PATCH][v2] asus-rbtn: new driver for asus radio button for Windows 8

2015-06-25 Thread Paul Bolle
() succeeded? + platform_device_unregister(asuspl_dev); + platform_driver_unregister(asuspl_driver); + } +} + +module_init(asusrb_init); +module_exit(asusrb_exit); Thanks, Paul Bolle -- To unsubscribe from this list: send the line unsubscribe linux-kernel

Re: [PATCH 11/12] [media] tsin: c8sectpfe: Add Kconfig and Makefile for the driver.

2015-06-25 Thread Paul Bolle
+= c8sectpfe-debugfs.o +endif Isn't the above equivalent to c8sectpfe-y += c8sectpfe-core.o c8sectpfe-common.o c8sectpfe-dvb.o c8sectpfe-debugfs.o obj-$(CONFIG_DVB_C8SECTPFE) += c8sectpfe.o Or am I missing something subtle here? Paul Bolle -- To unsubscribe from this list: send the line

Re: [PATCHv5 2/2] mailbox: Adding driver for Xilinx LogiCORE IP mailbox.

2015-06-25 Thread Paul Bolle
if this line is dropped? Also it is quite common that users create own BSP for their custom boards but they don't push it to mainline. I can't recall what BSP means. Anyhow, why should we care about boards not pushed into mainline? Paul Bolle -- To unsubscribe from this list: send the line

Re: [PATCHv5 2/2] mailbox: Adding driver for Xilinx LogiCORE IP mailbox.

2015-06-24 Thread Paul Bolle
ill fire of a "MODALIAS=platform:xilinx -mailbox" when it's created. I couldn't spot such a platform_device. Provided git grep didn't let me down here: what breaks if this line is dropped? Thanks, Paul Bolle -- To unsubscribe from this list: send the line "unsubscribe linux-kern

Re: [PATCH 7/9] arm: twr-k70f120m: IOMUX driver for Kinetis SoC

2015-06-24 Thread Paul Bolle
e_exit(kinetis_pinctrl_exit); > + > +MODULE_DESCRIPTION("Freescale Kinetis pinctrl driver"); > +MODULE_LICENSE("GPL v2"); pinctrl-kinetis.o can only be built-in, right? But the code uses a few module specific constructs. Did you mean to make PINCTRL_KINETIS tristate instea

Re: [PATCH 01/11] Input: synaptics-rmi4 - embed the function modules in rmi_core

2015-06-24 Thread Paul Bolle
On Tue, 2015-06-23 at 15:17 -0400, Benjamin Tissoires wrote: > drivers/input/rmi4/Kconfig | 5 + > drivers/input/rmi4/Makefile | 2 +- > drivers/input/rmi4/rmi_bus.c| 11 ++- > drivers/input/rmi4/rmi_driver.h | 8 > drivers/input/rmi4/rmi_f11.c| 10

Re: [PATCH 7/9] arm: twr-k70f120m: IOMUX driver for Kinetis SoC

2015-06-24 Thread Paul Bolle
); +MODULE_LICENSE(GPL v2); pinctrl-kinetis.o can only be built-in, right? But the code uses a few module specific constructs. Did you mean to make PINCTRL_KINETIS tristate instead? Thanks, Paul Bolle -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

Re: [PATCH 01/11] Input: synaptics-rmi4 - embed the function modules in rmi_core

2015-06-24 Thread Paul Bolle
module specific code or macros there still might be left in this file. Thanks, Paul Bolle -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read

Re: [PATCHv5 2/2] mailbox: Adding driver for Xilinx LogiCORE IP mailbox.

2015-06-24 Thread Paul Bolle
=platform:xilinx -mailbox when it's created. I couldn't spot such a platform_device. Provided git grep didn't let me down here: what breaks if this line is dropped? Thanks, Paul Bolle -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

Re: [PATCH 7/8] cpufreq: st: Provide runtime initialised driver for ST's platforms

2015-06-23 Thread Paul Bolle
result of a manual scan for a small set of common (and mostly trivial) mistakes in patches that I try to do regularly. All pretty basic stuff, otherwise I wouldn't been able to spot these mistakes. Does this answer your question? Paul Bolle -- To unsubscribe from this list: send the line "unsubs

Re: [PATCH 7/8] cpufreq: st: Provide runtime initialised driver for ST's platforms

2015-06-23 Thread Paul Bolle
uot;); > +MODULE_LICENSE("GPL v2"); (There's a mismatch between the license used in the comment at the top of this file and the ident used in the MODULE_LICENSE() macro. See include/linux/module.h.) st-cpufreq.o can only be built-in. But the code contains of few lines that are o

<    1   2   3   4   5   6   7   8   9   10   >