[PATCH 087/114] drivers: hwmon: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/hwmon/Kconfig | 40 drivers/hwmon/occ/Kconfig | 20

[PATCH 089/114] drivers: virtio: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/virtio/Kconfig | 44 ++-- 1 file changed, 22 insertions(+), 22 deletions

[PATCH 094/114] arch: nds32: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- arch/nds32/Kconfig | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/nds32/Kconfig b

[PATCH 102/114] drivers: cpuidle: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/cpuidle/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpuidle/Kconfig b/drivers

[PATCH 040/114] drivers: usb: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/usb/Kconfig | 2 +- drivers/usb/atm/Kconfig | 2 +- drivers/usb/dwc3/Kconfig

[PATCH 100/114] arch: sparc: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- arch/sparc/Kconfig | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/arch/sparc

[PATCH 074/114] drivers: md: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/md/Kconfig | 236 ++--- drivers/md/persistent-data/Kconfig | 15

[PATCH 103/114] drivers: iommu: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/iommu/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/iommu/Kconfig b

[PATCH 098/114] crypto: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- crypto/Kconfig | 23 +++ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/crypto/Kconfig b

[PATCH 063/114] drivers: media: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/media/i2c/Kconfig | 6 +- drivers/media/platform/Kconfig | 150

[PATCH 104/114] drivers: edac: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/edac/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/edac/Kconfig b/drivers/edac

[PATCH 108/114] drivers: firmware_loader: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/base/firmware_loader/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base

[PATCH 017/114] drivers: infiniband: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/infiniband/hw/bnxt_re/Kconfig | 12 ++-- drivers/infiniband/ulp/iser/Kconfig | 4 ++-- 2 files changed, 8

[PATCH 109/114] drivers: clocksource: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/clocksource/Kconfig | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git

[PATCH 106/114] drivers: rtc: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/rtc/Kconfig | 82 ++--- 1 file changed, 41 insertions(+), 41 deletions

[PATCH 107/114] drivers: xen: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/xen/Kconfig | 62 ++--- 1 file changed, 31 insertions(+), 31 deletions

[PATCH 110/114] drivers: hv: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/hv/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hv/Kconfig b/drivers/hv/Kconfig

[PATCH 070/114] drivers: hwtracing: coresight: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/hwtracing/coresight/Kconfig | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers

[PATCH 111/114] drivers: mcb: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/mcb/Kconfig | 47 ++- 1 file changed, 22 insertions(+), 25 deletions

[PATCH 112/114] drivers: misc: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/misc/Kconfig | 44 ++-- 1 file changed, 22 insertions(+), 22 deletions

[PATCH 099/114] drivers: block: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/block/Kconfig | 32 drivers/block/mtip32xx/Kconfig | 2 +- drivers/block

[PATCH 022/114] security: keys: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- security/keys/Kconfig | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/security

[PATCH 105/114] drivers: hid: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/hid/Kconfig | 496 ++-- 1 file changed, 248 insertions(+), 248

[PATCH 047/114] net: caif: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- net/caif/Kconfig | 48 1 file changed, 24 insertions(+), 24 deletions

[PATCH 039/114] drivers: video: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/video/Kconfig | 5 +- drivers/video/backlight/Kconfig | 28 - drivers/video/console/Kconfig

[PATCH 032/114] sound: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- sound/arm/Kconfig | 2 +- sound/core/Kconfig | 28 +- sound/firewire/Kconfig | 122

[PATCH 062/114] init: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- init/Kconfig | 103 +-- 1 file changed, 51 insertions(+), 52 deletions

[PATCH 113/114] drivers: rpmsg: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/rpmsg/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rpmsg/Kconfig b/drivers

[PATCH 071/114] drivers: isdn: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/isdn/hardware/mISDN/Kconfig | 2 +- drivers/isdn/hisax/Kconfig | 4 ++-- 2 files changed, 3 insertions(+), 3

[PATCH 085/114] drivers: auxdisplay: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/auxdisplay/Kconfig | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers

[PATCH 095/114] arch: ia64: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- arch/ia64/Kconfig | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/ia64/Kconfig b/arch

[PATCH 080/114] drivers: devfreq: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/devfreq/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/devfreq/Kconfig b

[PATCH 101/114] drivers: atm: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/atm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/atm/Kconfig b/drivers/atm

[PATCH 097/114] arch: riscv: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- arch/riscv/Kconfig | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/riscv/Kconfig b/arch/riscv

[PATCH 086/114] drivers: cpufreq: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/cpufreq/Kconfig | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/cpufreq

[PATCH 079/114] drivers: char: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/char/Kconfig | 24 +- drivers/char/agp/Kconfig | 13 +++--- drivers/char/hw_random/Kconfig

[PATCH 092/114] drivers: dma: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/dma/Kconfig | 40 1 file changed, 20 insertions(+), 20 deletions(-) diff

[PATCH 078/114] drivers: firmware: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/firmware/Kconfig | 28 ++-- drivers/firmware/efi/Kconfig | 2 +- 2 files changed, 15

[PATCH 002/114] drivers: iio: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/iio/Kconfig | 24 +-- drivers/iio/accel/Kconfig | 48 +++--- drivers/iio/adc/Kconfig

[PATCH 061/114] drivers: sbus: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/sbus/char/Kconfig | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/sbus/char/Kconfig

[PATCH 037/114] arch: powerpc: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- arch/powerpc/Kconfig | 28 ++-- arch/powerpc/kvm/Kconfig | 6

[PATCH 012/114] arch: um: Kconfig: pedantic formatting

2019-03-11 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- arch/um/Kconfig | 52 ++-- 1 file changed, 26 insertions(+), 26 deletions

Re: [PATCH] leds: fix a potential NULL pointer dereference

2019-03-11 Thread Enrico Weigelt, metux IT consult
vers/leds/leds-pca9532.c >> +++ b/drivers/leds/leds-pca9532.c >> @@ -513,6 +513,7 @@ static int pca9532_probe(struct i2c_client *client, >>   const struct i2c_device_id *id) >>   { >>   int devid; >> +    const struct of_device_id *of_id; Looks like an inden

Re: [PATCH] drivers: iio: Kconfig: pedantic cleanup

2019-03-11 Thread Enrico Weigelt, metux IT consult
the autobuilders to play with it. thx. --mtx -- Enrico Weigelt, metux IT consult Free software and Linux embedded engineering i...@metux.net -- +49-151-27565287

Re: Debian build polishing

2019-03-10 Thread Enrico Weigelt, metux IT consult
test whether my approach also works for you ? --mtx -- Enrico Weigelt, metux IT consult Free software and Linux embedded engineering i...@metux.net -- +49-151-27565287

Re: Debian build polishing

2019-03-08 Thread Enrico Weigelt, metux IT consult
On 08.03.19 18:57, Theodore Ts'o wrote: > On Fri, Mar 08, 2019 at 01:44:19PM +0100, Enrico Weigelt, metux IT consult > wrote: >> One point still puzzling me: once the debian/rules is applied and >> somebody calls `make deb-pkg`, he'll end up w/ unclean tree, as >>

Re: [PATCH 3/4] Add header file,Kconfig and Makefile

2019-03-08 Thread Enrico Weigelt, metux IT consult
CTL, 0x8c) > +#define SNX_PPYIELD _IO(SNX_PP_IOCTL, 0x8d) > +#define SNX_PPEXCL _IO(SNX_PP_IOCTL, 0x8f) > +#define SNX_PPDATADIR_IOW(SNX_PP_IOCTL, 0x90, int) > +#define SNX_PPNEGOT _IOW(SNX_PP_IOCTL, 0x91, int) > +#define SNX_PPWCTLONIRQ

Re: [PATCH 2/4] Add SUNIX Multi-I/O card device driver

2019-03-08 Thread Enrico Weigelt, metux IT consult
; +{ > + struct snx_ser_driver *drv = > + (struct snx_ser_driver *)tty->driver->driver_state; > + > + struct snx_ser_state *state = NULL; > + struct tty_port *tport = NULL; > + > + int retval = 0; > + int line = SNX_SER_DEVNUM(tty); > + > + if (line < SNX_SER_TOTAL_MAX) { > + retval = -ENODEV; > + > + if (line >= SNX_SER_TOTAL_MAX) > + goto fail; > + > + state = snx_ser_get(drv, line); > + > + tport = >tport; > + > + if (IS_ERR(state)) { > + retval = PTR_ERR(state); > + goto fail; > + } > + > + if (!state) > + goto fail; > + > + > + state->port->suspended = 1; > + tty->driver_data = state; > + > + tport->low_latency = (state->port->flags & > + SNX_UPF_LOW_LATENCY) ? 1 : 0; > + > + state->info->tty = tty; > + > + tty_port_tty_set(tport, tty); > + > + if (tty_hung_up_p(filp)) { > + retval = -EAGAIN; > + state->count--; > + up(>sem); > + goto fail; > + } > + > + retval = snx_ser_startup(state, 0); > + > + if (retval == 0) > + retval = snx_ser_block_til_ready(filp, state); > + > + up(>sem); > + > + if (retval == 0 && !(state->info->flags & > + SNX_UIF_NORMAL_ACTIVE)) { > + state->info->flags |= SNX_UIF_NORMAL_ACTIVE; > + > + snx_ser_update_termios(state); > + } > + > + try_module_get(THIS_MODULE); why this ? > +extern int sunix_ser_register_driver(struct snx_ser_driver *drv) > +{ > + struct tty_driver *normal = NULL; > + int i; > + int ret = 0; > + > + drv->state = kmalloc(sizeof(struct snx_ser_state) * drv->nr, > + GFP_KERNEL); > + > + ret = -ENOMEM; > + > + if (!drv->state) { > + pr_err("SNX Error: Allocate memory fail !\n\n"); > + goto out; > + } > + > + memset(drv->state, 0, sizeof(struct snx_ser_state) * drv->nr); > + > + for (i = 0; i < drv->nr; i++) { > + struct snx_ser_state *state = drv->state + i; > + struct tty_port *tport = >tport; > + > + tty_port_init(tport); does that really need to be globally in driver init, instead of in per port device->open (and use device's private data) ? > +extern void sunix_ser_unregister_ports(struct snx_ser_driver *drv) why are these 'extern' ?! --mtx -- Enrico Weigelt, metux IT consult Free software and Linux embedded engineering i...@metux.net -- +49-151-27565287

Re: [PATCH v4 1/2] Provide in-kernel headers for making it easy to extend the kernel

2019-03-08 Thread Enrico Weigelt, metux IT consult
s+friends) 4. it shall be swappable (if swap is enabled) In that scenario, these in-kernel headers would just one consumer, I can imagine lots of others. --mtx -- Enrico Weigelt, metux IT consult Free software and Linux embedded engineering i...@metux.net -- +49-151-27565287

[PATCH v1 2/5] scripts: mkdebian: allow renaming generated debian/rules via env

2019-03-08 Thread Enrico Weigelt, metux IT consult
Add new environment variable KDEB_RULES for controlling where the generated debian rules are written to. By defaults, it's debian/rules, but packagers might override it for providing their own rules file. Signed-off-by: Enrico Weigelt, metux IT consult --- scripts/package/mkdebian | 5 - 1

[PATCH v1 4/5] scripts: checkpatch.pl: don't complain that debian/rules is executable

2019-03-08 Thread Enrico Weigelt, metux IT consult
checkpatch.pl complains when adding executable "debian/rules", obviously a false alarm. Therefore add an exception for that. Signed-off-by: Enrico Weigelt, metux IT consult --- scripts/checkpatch.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/checkpatch.pl

[PATCH v1 1/5] Makefile: rules for printing kernel architecture and localversion

2019-03-08 Thread Enrico Weigelt, metux IT consult
trivial rule to print out the kernel arch and localversion, so external tools, like distro packagers, can easily get it. Signed-off-by: Enrico Weigelt, metux IT consult --- Makefile | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index f070e0d..95b50f8 100644

Debian build polishing

2019-03-08 Thread Enrico Weigelt, metux IT consult
Hi folks, here're some patches for polishing up the Debian packaging stuff, so it can be directly used w/ usual Debian machinery like pbuilder, git-buildpackage, dck-buildpackage, etc. These expect debian/rules to exist in the unpacked/patched tree and drive the whole build. Currently 'make

[PATCH v1 5/5] debian: add generic rule file

2019-03-08 Thread Enrico Weigelt, metux IT consult
- this is done similar to the 'deb-pkg' make rule, scripts/packaging/mkdebian. Signed-off-by: Enrico Weigelt, metux IT consult --- .gitignore | 1 + MAINTAINERS | 6 ++ debian/rules | 27 +++ 3 files changed, 34 insertions(+) create mode 100755 debian/rules diff --git

[PATCH v1 3/5] scripts: mkdebian: fix missing dependencies

2019-03-08 Thread Enrico Weigelt, metux IT consult
We missed some build dependencies in the generated debian/control file. Signed-off-by: Enrico Weigelt, metux IT consult --- scripts/package/mkdebian | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/package/mkdebian b/scripts/package/mkdebian index ff226be..1caaf0b

[PATCH] lib: devres: devm_ioremap_resource() make res parameter const

2019-03-08 Thread Enrico Weigelt, metux IT consult
devm_ioremap_resource() doesn't change the passed struct resource, so it can be a const pointer. Now, calls sites w/ fixed resources can declare them static. (in some cases possibly even __initconst) Signed-off-by: Enrico Weigelt, metux IT consult --- include/linux/device.h | 3 ++- lib

Re: [PATCH 1/3] x86: apuv2: remove unused variable

2019-03-08 Thread Enrico Weigelt, metux IT consult
e kconfig fixes ? --mtx -- Enrico Weigelt, metux IT consult Free software and Linux embedded engineering i...@metux.net -- +49-151-27565287

[PATCH v2] fs: 9p: Kconfig: pedantic cleanups

2019-03-08 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so just take a damp cloth and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- fs/9p/Kconfig | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/fs/9p/Kconfig b/fs/9p/Kconfig index 11045d8

Re: [PATCH] fs: 9p: Kconfig: pedantic cleanups

2019-03-08 Thread Enrico Weigelt, metux IT consult
On 07.03.19 00:27, Dominique Martinet wrote: > Enrico Weigelt, metux IT consult wrote on Wed, Mar 06, 2019: >> Signed-off-by: Enrico Weigelt, metux IT consult > > I don't mind trivial patches but please resend with a description of > what is done (change spaces to tabs) in

[PATCH v2] arch: um: drivers: Kconfig: pedantic formatting

2019-03-07 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so just take damp cloth and clean it up. Just indention changes. Signed-off-by: Enrico Weigelt, metux IT consult --- arch/um/drivers/Kconfig | 352 1 file changed, 176 insertions(+), 176

[PATCH v2] arch: sh: Kconfig: pedantic formatting

2019-03-07 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so just take damp cloth and clean it up. Just indention changes. Signed-off-by: Enrico Weigelt, metux IT consult --- arch/sh/Kconfig| 24 arch/sh/boards/Kconfig | 10 +- arch/sh/mm/Kconfig | 6

Re: [PATCH] arch: um: drivers: Kconfig: formatting cleanup

2019-03-07 Thread Enrico Weigelt, metux IT consult
On 06.03.19 22:43, Richard Weinberger wrote: > Am Mittwoch, 6. März 2019, 19:32:44 CET schrieb Enrico Weigelt, metux IT > consult: > > Here please also a changelog. :-) Sorry, forgotten that :o Those things happen if you're doing the same thing a hundred times (yes, I took th

Re: [RFC] Provide in-kernel headers for making it easy to extend the kernel

2019-03-07 Thread Enrico Weigelt, metux IT consult
ere the .ko's live. --mtx -- Enrico Weigelt, metux IT consult Free software and Linux embedded engineering i...@metux.net -- +49-151-27565287

Re: [PATCH] drivers: leds: Kconfig: pedantic cleanups

2019-03-07 Thread Enrico Weigelt, metux IT consult
On 06.03.19 22:19, Pavel Machek wrote: > On Wed 2019-03-06 19:15:46, Enrico Weigelt, metux IT consult wrote: > > Would be nice if changelog here said what you did. AFAICT it cleans up > spaces before tabs... I assumed that would be obvious (my editor explicitly shows tabs) :o &

Re: [PATCH 10/61] gpio: simplify getting .drvdata

2019-03-07 Thread Enrico Weigelt, metux IT consult
On 07.03.19 21:18, Wolfram Sang wrote: > >> It's been almost a year later, and several Linux revisions, and this >> still seems stuck somewhere/somehow. > > I wanted to respin this series once rc1 is released. > Maybe just rebase and repost ? --mtx -- Enrico Weigel

[RFC] Provide in-kernel headers for making it easy to extend the kernel

2019-03-07 Thread Enrico Weigelt, metux IT consult
mething > into the kernel image or one of its modules. Aha, and when do we start moving widget toolkits and html renderers into the kernel ? :o --mtx -- Enrico Weigelt, metux IT consult Free software and Linux embedded engineering i...@metux.net -- +49-151-27565287

Re: [RFC] Provide in-kernel headers for making it easy to extend the kernel

2019-03-07 Thread Enrico Weigelt, metux IT consult
ules). > Now for kernel modules, there's another image called the "vendor > image" which is flashed onto the vendor parition, this is where kernel > modules go. Okay, then why not just putting a tarball there ? --mtx -- Enrico Weigelt, metux IT consult Free software and Linux embedded engineering i...@metux.net -- +49-151-27565287

Re: [RFC] Provide in-kernel headers for making it easy to extend the kernel

2019-03-07 Thread Enrico Weigelt, metux IT consult
is so *extremly* huge, that adding yet another tiny tool, which is in all relevant distros for aeons, really shouldn't be a problem worth even talking about. --mtx -- Enrico Weigelt, metux IT consult Free software and Linux embedded engineering i...@metux.net -- +49-151-27565287

Re: [PATCH v2] fs: cifs: Kconfig: pedantic formatting

2019-03-07 Thread Enrico Weigelt, metux IT consult
mtx -- Enrico Weigelt, metux IT consult Free software and Linux embedded engineering i...@metux.net -- +49-151-27565287

Re: [PATCH 4/5] Add driver for SUNIX Multi-I/O board

2019-03-06 Thread Enrico Weigelt, metux IT consult
if (AHDCstate && RS422state) { > + gb.uart_type = 3; > + } else if (AHDCstate && !RS422state) { > + gb.uart_type = 2; > + } else if (!AHDCstate && RS422state) { > + gb.uart_type = 1; > + } else if (!AHDCstate && !RS422state) { > + gb.uart_type = 0; > + } else { > + gb.uart_type = -1; > + } > + break; > + } > + } > + > + if (copy_to_user((void *)arg, , > (sizeof(SNX_DRVR_UART_GET_TYPE { > + ret = -EFAULT; > + } else { > + ret = 0; > + } > + what is that for ? > + case SNX_UART_GET_ACS: > + { what is an "ACS" ? In general: don't arbitrarily introduce new ioctl()s, especially not device specific ones - unless there is a damn good reason. --mtx -- Enrico Weigelt, metux IT consult Free software and Linux embedded engineering i...@metux.net -- +49-151-27565287

git-send-patch v2

2019-03-06 Thread Enrico Weigelt, metux IT consult
Here's v2 of my little helper for sending patches to maintainers. changes v2: - don't check for topdir 'firmware', which had been removed recently --mtx -- Enrico Weigelt, metux IT consult Free software and Linux embedded engineering i...@metux.net -- +49-151-27565287

[PATCH v2] scripts: helper for mailing patches from git to the maintainers

2019-03-06 Thread Enrico Weigelt, metux IT consult
: ./scripts/git-send-patch HEAD^ ./scripts/git-send-patch linus/master --dry-run Signed-off-by: Enrico Weigelt, metux IT consult --- scripts/git-send-patch | 62 ++ 1 file changed, 62 insertions(+) create mode 100755 scripts/git-send-patch diff

[PATCH v2] drivers: uio: Kconfig: pedantic formatting

2019-03-06 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig doesn't look so pretty, so just take a damp cloth and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/uio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/uio/Kconfig b/drivers/uio/Kconfig index 7e8dc78..4286b73

[PATCH v2] drivers: input: Kconfig: pedantic formatting

2019-03-06 Thread Enrico Weigelt, metux IT consult
changes v2: - squashed the patches into one - fixed patch description --mtx

[PATCH v2] drivers: input: Kconfig: pedantic formatting

2019-03-06 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so just take damp cloth and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/input/keyboard/Kconfig| 16 drivers/input/misc/Kconfig| 26 +- drivers/input/mouse

[PATCH v2] drivers: ide: Kconfig: pedantic formatting

2019-03-06 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so just take a damp cloth and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/ide/Kconfig | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/ide/Kconfig b/drivers

[PATCH v2] drivers: ata: Kconfig: pedantic cleanups

2019-03-06 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so just take damp cloth and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/ata/Kconfig | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig

[PATCH v2] drivers: fpga: Kconfig: pedantic cleanups

2019-03-06 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so just take damp cloth and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/fpga/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/fpga/Kconfig b/drivers/fpga/Kconfig index

Re: [RFC] Provide in-kernel headers for making it easy to extend the kernel

2019-03-06 Thread Enrico Weigelt, metux IT consult
ers for the kernel with Fix fastboot to support initrd or use a remote filesystem ? I'm doing embedded development all the day, and one of the first things I usually set up for a project is an fully automatic netboot (or at least usb boot). Shouldn't be so hard, and is a more generic solutio

Re: [RFC] Provide in-kernel headers for making it easy to extend the kernel

2019-03-06 Thread Enrico Weigelt, metux IT consult
/usr/src/linux/include :-). We should ask coreutils folks to add an ELF encapsulation to tar ;-) --mtx -- Enrico Weigelt, metux IT consult Free software and Linux embedded engineering i...@metux.net -- +49-151-27565287

Re: [PATCH 2/3] x86: apuv2: fix input dependencies

2019-03-06 Thread Enrico Weigelt, metux IT consult
by just putting config snippets together, quickly turns into a maintenance hell. At least you'd need recursive dependencies and some if/else logic. That's why I've written kmct: https://github.com/metux/kmct --mtx -- Enrico Weigelt, metux IT consult Free software and Linux embedded engineering

[PATCH v2] fs: cifs: Kconfig: pedantic formatting

2019-03-06 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so just take damp cloth and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- fs/cifs/Kconfig | 120 1 file changed, 60 insertions(+), 60 deletions(-) diff --git a/fs

[PATCH v2] drivers: scsi: Kconfig: pedantic formatting

2019-03-06 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so just take damp cloth and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/scsi/Kconfig | 63 +-- drivers/scsi/osd/Kconfig | 38 +- drivers

[PATCH v2] drivers: infiniband: Kconfig: pedantic formatting

2019-03-06 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so just take damp cloth and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/infiniband/hw/bnxt_re/Kconfig | 10 +- drivers/infiniband/ulp/iser/Kconfig | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions

[PATCH v2] drivers: thermal: Kconfig: pedantic cleanups

2019-03-06 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so just take damp cloth and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/thermal/st/Kconfig| 22 +++--- drivers/thermal/tegra/Kconfig | 4 ++-- 2 files changed, 13 insertions(+), 13 deletions

[PATCH v2] drivers: ntb: Kconfig: pedantic cleanups

2019-03-06 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so just take damp cloth and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/ntb/Kconfig | 20 ++-- drivers/ntb/hw/amd/Kconfig | 4 ++-- drivers/ntb/hw/idt/Kconfig | 41

[PATCH v2] drivers: watchdog: Kconfig: pedantic formatting

2019-03-06 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so just take damp cloth and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/watchdog/Kconfig | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/watchdog/Kconfig b

Re: [PATCH] drivers: watchdog: Kconfig: pedantic cleanups

2019-03-06 Thread Enrico Weigelt, metux IT consult
g else. I admin, I didn't run checkpatch.pl on that. I'll rework it. --mtx -- Enrico Weigelt, metux IT consult Free software and Linux embedded engineering i...@metux.net -- +49-151-27565287

[PATCH v2] drivers: uwb: Kconfig: pedantic cleanups

2019-03-06 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so just take damp cloth and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/uwb/Kconfig | 42 +- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/drivers/uwb

[PATCH v2] arch: um: Kconfig: pedantic indention cleanups

2019-03-06 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so just take damp cloth and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- arch/um/Kconfig | 52 ++-- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/arch/um

[PATCH] arch: sh: Kconfig: pedantic cleanups

2019-03-06 Thread Enrico Weigelt, metux IT consult
Signed-off-by: Enrico Weigelt, metux IT consult --- arch/sh/Kconfig| 24 arch/sh/boards/Kconfig | 10 +- arch/sh/mm/Kconfig | 6 +++--- 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index d9a9144

[PATCH] s390: Kconfig: pedantic cleanups

2019-03-06 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so just take damp cloth and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult --- arch/s390/Kconfig | 2 +- drivers/s390/block/Kconfig | 2 +- drivers/s390/char/Kconfig | 15 +++ drivers/s390/net/Kconfig

Re: Smarter Kconfig help

2019-03-06 Thread Enrico Weigelt, metux IT consult
p text should at> least indicate that it *isn't* applicable to 32-bit SoCs, or if you> prefer, *is* applicable to 64-bit SoCs. Beyond that, I have no> information to formulate a better suggestion. Perhaps just fix the text based on your knowledge and send a patch to the maintainers. They

Announce: kernel meta config tool

2019-03-06 Thread Enrico Weigelt, metux IT consult
. 'network' or 'display', etc) and it will generate the actual .config: https://github.com/metux/kmct *MAYBE* this could become a good alternative to defconfig's ? have fun. --mtx -- Enrico Weigelt, metux IT consult Free software and Linux embedded engineering i...@metux.net -- +49

[PATCH] drivers: ide: Kconfig: pedantic cleanups

2019-03-06 Thread Enrico Weigelt, metux IT consult
Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/ide/Kconfig | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/ide/Kconfig b/drivers/ide/Kconfig index 901b883..19fcd07 100644 --- a/drivers/ide/Kconfig +++ b/drivers/ide/Kconfig

[PATCH] drivers: video: fbdev: Kconfig: pedantic cleanups

2019-03-06 Thread Enrico Weigelt, metux IT consult
Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/video/fbdev/Kconfig | 288 +++--- drivers/video/fbdev/mmp/Kconfig | 6 +- drivers/video/fbdev/omap/Kconfig | 20 +- drivers/video/fbdev/omap2/omapfb/Kconfig

[PATCH] drivers: scsi: Kconfig: pedantic cleanups

2019-03-06 Thread Enrico Weigelt, metux IT consult
Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/scsi/Kconfig | 63 +-- drivers/scsi/osd/Kconfig | 38 +- drivers/scsi/pcmcia/Kconfig | 2 +- drivers/scsi/qedf/Kconfig | 8 +++--- drivers/scsi

[PATCH] security: keys: Kconfig: pedantic cleanup

2019-03-06 Thread Enrico Weigelt, metux IT consult
Signed-off-by: Enrico Weigelt, metux IT consult --- security/keys/Kconfig | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/security/keys/Kconfig b/security/keys/Kconfig index 6462e66..6594149 100644 --- a/security/keys/Kconfig +++ b/security/keys

[PATCH] drivers: thermal: Kconfig: pedantic cleanups

2019-03-06 Thread Enrico Weigelt, metux IT consult
Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/thermal/st/Kconfig| 22 +++--- drivers/thermal/tegra/Kconfig | 4 ++-- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/thermal/st/Kconfig b/drivers/thermal/st/Kconfig index b80f9a9..d8b1a45

[PATCH] drivers: uwb: Kconfig: pedantic cleanups

2019-03-06 Thread Enrico Weigelt, metux IT consult
Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/uwb/Kconfig | 42 +- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/drivers/uwb/Kconfig b/drivers/uwb/Kconfig index afac258..d0e15e1 100644 --- a/drivers/uwb/Kconfig +++ b/drivers

<    3   4   5   6   7   8   9   10   >