[PATCH] Infrastructure to un-/lock vts in vt_ioctl.c

2015-03-26 Thread Simone Weiss
owner of a sppecified VT to set the lock flag. VT_UNLOCK: allows caller with root permissions to reset the lock flag VT_ISLOCKED: returns the value of the lock flag If anyone tries to switch to a locked VT he gets redirected to VT 12 in complete_change_console. Signed-off-by: Simone Weiss Signed

Re: questions to planned lock-functionality for vts

2015-03-23 Thread simone . weiss
ould be more universal, it wouldn't only work when wayland is used, but as well on servers and systems that are not going to use wayland. And wayland doesn't seem to be ready soon. Regards Simone Weiss -- 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: questions to planned lock-functionality for vts

2015-03-23 Thread simone . weiss
witch to his VTs. Thanks Simone Weiss -- 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: questions to planned lock-functionality for vts

2015-03-23 Thread simone . weiss
n the kernel, the above describes only the interaction with a userspace programm. For the kernel it would only mean that if a vt is locked it wouldn't allow to switch to this vt and instead switch to VT12. Regards, Simone Weiss -- To unsubscribe from this list: send the line "un

[PATCH v4 4/6] dgnc: checkpatch: macros in enclosed parantheses

2015-01-15 Thread Simone Weiss
dpacompat.h and digi.h partly define the same macros, so it is necessary to change them both. I also removed some defines as they were unnecessary, because they were already defined, or because they were never used. Signed-off-by: Simone Weiss Signed-off-by: Helene Gsaenger --- drivers

[PATCH v3 4/6] dgnc: checkpatch: macros in enclosed parantheses

2015-01-14 Thread Simone Weiss
dpacompat.h and digi.h partly define the same macros, so it is necessary to change them both. Signed-off-by: Simone Weiss Signed-off-by: Helene Gsaenger --- drivers/staging/dgnc/digi.h | 58 drivers/staging/dgnc/dpacompat.h | 12 - 2 files

[PATCH v2] Redone: dgnc/digi.h: checkpatch: Macros in enclosed

2014-12-23 Thread Simone Weiss
I've redone the previous patch as I have also forgotten a macro. Signed-off-by: Simone Weiss Signed-off-by: Helene Gsaenger --- drivers/staging/dgnc/digi.h | 60 ++--- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/drivers/staging

[PATCH] dgnc/digi.h: checkpatch: Changend complex macros (enclosed parantheses)

2014-12-22 Thread Simone Weiss
The patch previous in this thread (dgnc/dpacompat.h) defines partly the same macros as dgnc/digi.h and so it is neccessary tochange the macros in this file as well, so no macros get redefined Signed-off-by: Simone Weiss Signed-off-by: Helene Gsaenger --- drivers/staging/dgnc/digi.h | 52

[PATCH] [PATCH v2 2/6] dgnc/dgnc_sysfs.c: checkpatch: Use of dev_err ? instead of printk

2014-12-22 Thread Simone Weiss
I originally wanted to replace both of the printk cals in this file with dev_err(). But in the function dgnc_create_driver_sysfiles only the struct pci_driver was given, sadly I coudn't figure out a way to get a struct device when only a struct pci_driver is given. Signed-off-by: S

[PATCH 5/6] dgnc/dgnc_neo.c: checkpatch: fixed long lines

2014-12-21 Thread Simone Weiss
Signed-off-by: Simone Weiss Signed-off-by: Helene Gsaenger --- drivers/staging/dgnc/dgnc_neo.c | 214 1 file changed, 149 insertions(+), 65 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_neo.c b/drivers/staging/dgnc/dgnc_neo.c index c9a8a98

[PATCH 2/6] dgnc/dgnc_sysfs.c: checkpatch: Use of pr_err insted of printk

2014-12-21 Thread Simone Weiss
Signed-off-by: Simone Weiss Signed-off-by: Helene Gsaenger --- drivers/staging/dgnc/dgnc_sysfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_sysfs.c b/drivers/staging/dgnc/dgnc_sysfs.c index 2fd34ca..0fa2388 100644 --- a/drivers/staging

[PATCH 0/6] dgnc: patches that fix checkpatch issues

2014-12-21 Thread Simone Weiss
We fixed some coding style issues in staging/dgnc. Mostly it fixes lines over 80 characters (dgnc_neo.c, dgnc_cls.h, dgnc_compact.h, dgnc_driver.h) In dgnc_sysfs.c we replaced printk by pr_err. In dpacompat.h we also set complex macros into enclosed parantheses Signed-off-by: Simone Weiss

[PATCH 3/6] dgnc/dpacompat.h: checkpatch: fixed long lines bei moving comments

2014-12-21 Thread Simone Weiss
Signed-off-by: Simone Weiss Signed-off-by: Helene Gsaenger --- drivers/staging/dgnc/dpacompat.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/staging/dgnc/dpacompat.h b/drivers/staging/dgnc/dpacompat.h index b2d2dc0..feb4f60 100644 --- a/drivers/staging/dgnc

[PATCH 6/6] dgnc/dgnc_driver.h: checkpatch: fixed lines over 80 characters

2014-12-21 Thread Simone Weiss
Signed-off-by: Simone Weiss Signed-off-by: Helene Gsaenger --- drivers/staging/dgnc/dgnc_driver.h | 71 +++--- 1 file changed, 44 insertions(+), 27 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_driver.h b/drivers/staging/dgnc/dgnc_driver.h index a8157eb

[PATCH 1/6] dgnc/dgnc_cls.h: checkpatch: fixed long lines by moving comments

2014-12-21 Thread Simone Weiss
Signed-off-by: Simone Weiss Signed-off-by: Helene Gsaenger --- drivers/staging/dgnc/dgnc_cls.h | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_cls.h b/drivers/staging/dgnc/dgnc_cls.h index 465d79a..d1543c1 100644 --- a/drivers/staging

[PATCH 4/6] dgnc/dpacompat.h: checkpatch: Changend complex macros (enclosed parantheses)

2014-12-21 Thread Simone Weiss
Signed-off-by: Simone Weiss Signed-off-by: Helene Gsaenger --- drivers/staging/dgnc/dpacompat.h | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/staging/dgnc/dpacompat.h b/drivers/staging/dgnc/dpacompat.h index feb4f60..8049e9d 100644 --- a/drivers