Hi Paul,
On Thu, 2017-02-02 at 15:07 -0500, Paul Gortmaker wrote:
> On Tue, Jan 10, 2017 at 4:28 PM, Manuel Schölling
> wrote:
> > The impact of the persistent scrollback feature on the code size is
> > rather small, so the config option is removed. The feature stays
> >
On Thu, 2017-01-19 at 14:23 +0100, Greg KH wrote:
> On Fri, Jan 13, 2017 at 09:07:57PM +0100, Manuel Schölling wrote:
> > Add a scrollback buffers for each VGA console. The benefit is that
> > the scrollback history is not flushed when switching between
> > consoles
> >
kcalloc() fails
- Remove ioctl() call again and add documentation about existing
escape sequence to flush the scrollback buffer
Changes in v2:
- Add ioctl() call to flush scrollback buffer
- (Patch v2 was not labeled as such, sorry)
Manuel Schölling (4):
console: Move scrollback data into
history by switching back and forth between consoles
which is why this feature is disabled by default.
Use the escape sequence \e[3J instead for flushing the buffer.
Signed-off-by: Manuel Schölling
Reviewed-by: Andrey Utkin
Tested-by: Andrey Utkin
Tested-by: Adam Borowski
---
drivers/video
by setting
VGACON_SOFT_SCROLLBACK_PERSISTENT_ENABLE_BY_DEFAULT=y.
Signed-off-by: Manuel Schölling
Suggested-by: Bartlomiej Zolnierkiewicz
---
drivers/video/console/Kconfig | 12 +++-
drivers/video/console/vgacon.c | 25 -
2 files changed, 19 insertions(+), 18 deletions(-)
diff --git a/drivers/vid
This refactoring is in preparation for persistent scrollback
support for VGA console.
Signed-off-by: Manuel Schölling
Reviewed-by: Andrey Utkin
Tested-by: Andrey Utkin
Tested-by: Adam Borowski
---
drivers/video/console/vgacon.c | 91 ++
1 file changed
ell the
video console driver which buffer to flush.
Signed-off-by: Manuel Schölling
Reviewed-by: Andrey Utkin
Tested-by: Andrey Utkin
Tested-by: Adam Borowski
---
drivers/tty/vt/vt.c| 9 +
drivers/video/console/vgacon.c | 24 +++-
include/linux/consol
On Tue, 2017-01-10 at 23:58 +0100, Adam Borowski wrote:
> On Tue, Jan 10, 2017 at 10:28:38PM +0100, Manuel Schölling wrote:
> > The impact of the persistent scrollback feature on the code size is
> > rather small, so the config option is removed. The feature stays
> > disabl
On Tue, 2017-01-10 at 23:58 +0100, Adam Borowski wrote:
> On Tue, Jan 10, 2017 at 10:28:38PM +0100, Manuel Schölling wrote:
> > The impact of the persistent scrollback feature on the code size is
> > rather small, so the config option is removed. The feature stays
> > disabl
ell the
video console driver which buffer to flush.
Signed-off-by: Manuel Schölling
Reviewed-by: Andrey Utkin
Tested-by: Andrey Utkin
Tested-by: Adam Borowski
---
drivers/tty/vt/vt.c| 9 +
drivers/video/console/vgacon.c | 24 +++-
include/linux/consol
ting
escape sequence to flush the scrollback buffer
Changes in v2:
- Add ioctl() call to flush scrollback buffer
- (Patch v2 was not labeled as such, sorry)
Manuel Schölling (3):
console: Move scrollback data into its own struct
console: Add callback to flush scrollback buffer to consw struct
history by switching back and forth between consoles
which is why this feature is disabled by default.
Use the escape sequence \e[3J instead for flushing the buffer.
Signed-off-by: Manuel Schölling
Reviewed-by: Andrey Utkin
Tested-by: Andrey Utkin
Tested-by: Adam Borowski
---
drivers/video
by setting
VGACON_SOFT_SCROLLBACK_PERSISTENT_ENABLE_BY_DEFAULT=y.
Signed-off-by: Manuel Schölling
Suggested-by: Bartlomiej Zolnierkiewicz
---
drivers/video/console/Kconfig | 12 +++-
drivers/video/console/vgacon.c | 25 -
2 files changed, 19 insertions(+), 18 deletions(-)
diff --git a/drivers/vid
This refactoring is in preparation for persistent scrollback
support for VGA console.
Signed-off-by: Manuel Schölling
Reviewed-by: Andrey Utkin
Tested-by: Andrey Utkin
Tested-by: Adam Borowski
---
drivers/video/console/vgacon.c | 91 ++
1 file changed
ent it (should be any time this week).
Thanks again!
Manuel
> Best regards,
> --
> Bartlomiej Zolnierkiewicz
> Samsung R&D Institute Poland
> Samsung Electronics
>
> > Best regards,
> > --
> > Bartlomiej Zolnierkiewicz
> > Samsung R&D Institute
about existing
escape sequence to flush the scrollback buffer
Changes in v2:
- Add ioctl() call to flush scrollback buffer
- (Patch v2 was not labeled as such, sorry)
Manuel Schölling (3):
console: Move scrollback data into its own struct
console: Add callback to flush scrollback buffer
This refactoring is in preparation for persistent scrollback
support for VGA console.
Signed-off-by: Manuel Schölling
Reviewed-by: Andrey Utkin
Tested-by: Andrey Utkin
Tested-by: Adam Borowski
---
drivers/video/console/vgacon.c | 91 ++
1 file changed
ell the
video console driver which buffer to flush.
Signed-off-by: Manuel Schölling
Reviewed-by: Andrey Utkin
Tested-by: Andrey Utkin
Tested-by: Adam Borowski
---
drivers/tty/vt/vt.c| 9 +
drivers/video/console/vgacon.c | 24 +++-
include/linux/consol
history by switching back and forth between consoles
which is why this feature is disabled by default.
Use the escape sequence \e[3J instead for flushing the buffer.
Signed-off-by: Manuel Schölling
Reviewed-by: Andrey Utkin
Tested-by: Andrey Utkin
Tested-by: Adam Borowski
---
drivers/video
This refactoring is in preparation for persistent scrollback
support for VGA console.
Signed-off-by: Manuel Schölling
Reviewed-by: Andrey Utkin
Tested-by: Andrey Utkin
Tested-by: Adam Borowski
---
drivers/video/console/vgacon.c | 91 ++
1 file changed
ell the
video console driver which buffer to flush.
Signed-off-by: Manuel Schölling
Reviewed-by: Andrey Utkin
Tested-by: Andrey Utkin
Tested-by: Adam Borowski
---
drivers/tty/vt/vt.c| 9 +
drivers/video/console/vgacon.c | 24 +++-
include/linux/consol
r
Changes in v2:
- Add ioctl() call to flush scrollback buffer
- (Patch v2 was not labeled as such, sorry)
Manuel Schölling (3):
console: Move scrollback data into its own struct
console: Add callback to flush scrollback buffer to consw struct
console: Add persistent scrollback buff
history by switching back and forth between consoles
which is why this feature is disabled by default.
Use the escape sequence \e[3J instead for flushing the buffer.
Signed-off-by: Manuel Schölling
Reviewed-by: Andrey Utkin
Tested-by: Andrey Utkin
Tested-by: Adam Borowski
---
drivers/video
ell the
video console driver which buffer to flush.
Signed-off-by: Manuel Schölling
Reviewed-by: Andrey Utkin
Tested-by: Andrey Utkin
Tested-by: Adam Borowski
---
drivers/tty/vt/vt.c| 9 +
drivers/video/console/vgacon.c | 24 +++-
include/linux/consol
This refactoring is in preparation for persistent scrollback
support for VGA console.
Signed-off-by: Manuel Schölling
Reviewed-by: Andrey Utkin
Tested-by: Andrey Utkin
Tested-by: Adam Borowski
---
drivers/video/console/vgacon.c | 91 ++
1 file changed
r
Changes in v2:
- Add ioctl() call to flush scrollback buffer
- (Patch v2 was not labeled as such, sorry)
Manuel Schölling (3):
console: Move scrollback data into its own struct
console: Add callback to flush scrollback buffer to consw struct
console: Add persistent scrollback buff
history by switching back and forth between consoles
which is why this feature is disabled by default.
Use the escape sequence \e[3J instead for flushing the buffer.
Signed-off-by: Manuel Schölling
Reviewed-by: Andrey Utkin
Tested-by: Andrey Utkin
Tested-by: Adam Borowski
---
drivers/video
Hi Greg,
On Di, 2016-12-06 at 11:02 +0100, Greg KH wrote:
> On Sun, Dec 04, 2016 at 11:53:53AM +0100, Manuel Schölling wrote:
> > Reviewed-by: Andrey Utkin
> > Tested-by: Andrey Utkin
> > Tested-by: Adam Borowski
> >
> > --
> > Changes in v7:
>
history by switching back and forth between consoles
which is why this feature is disabled by default.
Use the escape sequence \e[3J instead for flushing the buffer.
Signed-off-by: Manuel Schölling
Reviewed-by: Andrey Utkin
Tested-by: Andrey Utkin
Tested-by: Adam Borowski
---
drivers/video
ell the
video console driver which buffer to flush.
Signed-off-by: Manuel Schölling
Reviewed-by: Andrey Utkin
Tested-by: Andrey Utkin
Tested-by: Adam Borowski
---
drivers/tty/vt/vt.c| 9 +
drivers/video/console/vgacon.c | 24 +++-
include/linux/consol
r
Changes in v2:
- Add ioctl() call to flush scrollback buffer
- (Patch v2 was not labeled as such, sorry)
Manuel Schölling (3):
console: Move scrollback data into its own struct
console: Add callback to flush scrollback buffer to consw struct
console: Add persistent scrollback buff
This refactoring is in preparation for persistent scrollback
support for VGA console.
Signed-off-by: Manuel Schölling
Reviewed-by: Andrey Utkin
Tested-by: Andrey Utkin
Tested-by: Adam Borowski
---
drivers/video/console/vgacon.c | 91 ++
1 file changed
Hi Andrey,
On Di, 2016-11-29 at 10:01 +, Andrey Utkin wrote:
> On Mon, Nov 28, 2016 at 10:28:19PM +0100, Manuel Schölling wrote:
> Regarding logout scrollback clearing not working for me. ncurses-6.0-rc1
> which I tested it with is the latest available in Gentoo portage, please
Hi Andrey,
On Di, 2016-11-29 at 10:01 +, Andrey Utkin wrote:
> Regarding logout scrollback clearing not working for me. ncurses-6.0-rc1
> which I tested it with is the latest available in Gentoo portage, please
> confirm whether I need any newer version, or should I tune something
> else. I'd
Hi Andrey,
Adam already discussed some of your notes, but I want to catch up one
this one:
On So, 2016-11-27 at 21:37 +, Andrey Utkin wrote:
> I see the user experience is subpar to what I'm accustomed to (I use
> Konsole and "Clear Scrollback and Reset" action, default shortcut is
> Ctrl+Shi
On Mo, 2016-11-28 at 00:53 +0100, Adam Borowski wrote:
> \e[3J works well now, thanks!
Great to hear that!
> Tested-by: Adam Borowski
Thanks, Adam, for spending all this time testing the patches!
This refactoring is in preparation for persistent scrollback
support for VGA console.
Signed-off-by: Manuel Schölling
---
drivers/video/console/vgacon.c | 91 ++
1 file changed, 47 insertions(+), 44 deletions(-)
diff --git a/drivers/video/console
ell the
video console driver which buffer to flush.
Signed-off-by: Manuel Schölling
---
drivers/tty/vt/vt.c| 9 +
drivers/video/console/vgacon.c | 24 +++-
include/linux/console.h| 4
3 files changed, 36 insertions(+), 1 deletion(-)
diff --
history by switching back and forth between consoles
which is why this feature is disabled by default.
Use the escape sequence \e[3J instead for flushing the buffer.
Signed-off-by: Manuel Schölling
---
drivers/video/console/Kconfig | 25 +++-
drivers/video/console/vgacon.c | 142
not labeled as such, sorry)
Manuel Schölling (3):
console: Move scrollback data into its own struct
console: Add callback to flush scrollback buffer to consw struct
console: Add persistent scrollback buffers for all VGA consoles
drivers/tty/vt/vt.c| 9 +++
drivers/video/
On Mo, 2016-11-21 at 21:17 +0100, Adam Borowski wrote:
> On Sun, Nov 20, 2016 at 10:58:08PM +0100, Manuel Schölling wrote:
> > Add a scrollback buffers for each VGA console. The benefit is that
> > the scrollback history is not flushed when switching between consoles
> > but i
On Di, 2016-11-22 at 19:31 +, Andrey Utkin wrote:
> I'm not sure my emails with review of previous submission reached you, but in
> them I meant to mention that there are some style nits which are easy to
> eliminate.
I am afraid I did not get it. I will fix these style issues in the next
patch
Hi Adam,
On Mo, 2016-11-21 at 21:17 +0100, Adam Borowski wrote:
> On Sun, Nov 20, 2016 at 10:58:08PM +0100, Manuel Schölling wrote:
> > Add a scrollback buffers for each VGA console. The benefit is that
> > the scrollback history is not flushed when switching between cons
history by switching back and forth between consoles
which is why this feature is disabled by default.
Use the escape sequence \e[3J instead for flushing the buffer.
Signed-off-by: Manuel Schölling
---
drivers/video/console/Kconfig | 25 +++-
drivers/video/console/vgacon.c | 134
ioctl() call to flush scrollback buffer
- (Patch v2 was not labeled as such, sorry)
Manuel Schölling (2):
console: Move scrollback data into its own struct
console: Add persistent scrollback buffers for all VGA consoles
drivers/video/console/Kconfig | 25 ++-
drivers/video/console
This refactoring is in preparation for persistent scrollback
support for VGA console.
Signed-off-by: Manuel Schölling
---
drivers/video/console/vgacon.c | 91 ++
1 file changed, 47 insertions(+), 44 deletions(-)
diff --git a/drivers/video/console
, sorry)
Manuel Schölling (2):
console: Move scrollback data into its own struct
console: Add persistent scrollback buffers for all VGA consoles
drivers/video/console/Kconfig | 25 ++-
drivers/video/console/vgacon.c | 146 +++--
2 files changed, 117
history by switching back and forth between consoles
which is why this feature is disabled by default.
Use the escape sequence \e[3J instead for flushing the buffer.
Signed-off-by: Manuel Schölling
---
drivers/video/console/Kconfig | 25 +++-
drivers/video/console/vgacon.c | 131
This refactoring is in preparation for persistent scrollback
support for VGA console.
Signed-off-by: Manuel Schölling
---
drivers/video/console/vgacon.c | 91 ++
1 file changed, 47 insertions(+), 44 deletions(-)
diff --git a/drivers/video/console
This refactoring is in preparation for persistent scrollback
support for VGA console.
Signed-off-by: Manuel Schölling
---
drivers/video/console/vgacon.c | 90 +-
1 file changed, 46 insertions(+), 44 deletions(-)
diff --git a/drivers/video/console
h the scrollback buffer
Changes in v2:
- Add ioctl() call to flush scrollback buffer
- (Patch v2 was not labeled as such, sorry)
Manuel Schölling (2):
console: Move scrollback data into its own struct
console: Add persistent scrollback buffers for all VGA consoles
drivers/video/console/Kc
history by switching back and forth between consoles
which is why this feature is disabled by default.
Use the escape sequence \e[3J instead for flushing the buffer.
Signed-off-by: Manuel Schölling
---
drivers/video/console/Kconfig | 23 ++-
drivers/video/console/vgacon.c | 134
Hi,
I finally found the time to rework the patches, but there are a few
things I want to discuss:
> > This breaks tools like clear_console that rely on flushing the
> > scrollback history by switching back and forth between consoles
> > which is why this feature is disabled by default.
> > Use th
This refactoring is in preparation for persistent scrollback
support for VGA console.
Signed-off-by: Manuel Schölling
---
drivers/video/console/vgacon.c | 82 +-
1 file changed, 42 insertions(+), 40 deletions(-)
diff --git a/drivers/video/console
history by switching back and forth between consoles
which is why this feature is disabled by default.
Use the escape sequence \e[3J instead for flushing the buffer.
Signed-off-by: Manuel Schölling
---
drivers/video/console/Kconfig | 23 ++-
drivers/video/console/vgacon.c | 134
---
Changes in v4:
- Rename from VGACON_SOFT_SCROLLBACK_FOR_EACH_CONSOLE to
VGACON_SOFT_SCROLLBACK_PERSISTENT
- Split into two patches
- Rework documentation
- Remove cosmetic changes in comments (postponed)
Changes in v3:
- Add config option for this feature
- Fallback to old scrol
19 at 00:06 +0200, Manuel Schölling wrote:
> Add a scrollback buffers for each VGA console. The benefit is that
> the scrollback history is not flushed when switching between consoles
> but is persistent.
> The buffers are allocated on demand when a new console is opened.
>
> It
.
Signed-off-by: Manuel Schölling
---
Changes in v3:
- Add config option for this feature
- Fallback to old scrollback buffer if kcalloc() fails
- Remove ioctl() call again and add documentation about existing
escape sequence to flush the scrollback buffer
Changes in v2:
- Add ioctl
.
Signed-off-by: Manuel Schölling
---
Changes in v3:
- Add config option for this feature
- Fallback to old scrollback buffer if kcalloc() fails
- Remove ioctl() call again and add documentation about existing
escape sequence to flush the scrollback buffer
Changes in v2:
- Add ioctl
.
Signed-off-by: Manuel Schölling
---
Changes in v3:
- Add config option for this feature
- Fallback to old scrollback buffer if kcalloc() fails
- Remove ioctl() call again and add documentation about existing
escape sequence to flush the scrollback buffer
Changes in v2:
- Add ioctl
.
Signed-off-by: Manuel Schölling
---
Changes in v3:
- Add config option for this feature
- Fallback to old scrollback buffer if kcalloc() fails
- Remove ioctl() call again and add documentation about existing
escape sequence to flush the scrollback buffer
Changes in v2:
- Add ioctl
history by switching back and forth between consoles
which is why this feature is disabled by default.
Use the escape sequence \e[3J instead for flushing the buffer.
Signed-off-by: Manuel Schölling
---
drivers/video/console/Kconfig | 23 +-
drivers/video/console/vgacon.c | 172
history by switching back and forth between consoles
which is why this feature is disabled by default.
Use the escape sequence \e[3J instead for flushing the buffer.
Signed-off-by: Manuel Schölling
---
drivers/video/console/Kconfig | 23 +-
drivers/video/console/vgacon.c | 172
history by switching back and forth between consoles
which is why this feature is disabled by default.
Use the escape sequence \e[3J instead for flushing the buffer.
Signed-off-by: Manuel Schölling
---
drivers/video/console/Kconfig | 23 +-
drivers/video/console/vgacon.c | 172
history by switching back and forth between consoles
which is why this feature is disabled by default.
Use the escape sequence \e[3J instead for flushing the buffer.
Signed-off-by: Manuel Schölling
---
drivers/video/console/Kconfig | 23 +-
drivers/video/console/vgacon.c | 172
history by switching back and forth between consoles
which is why this feature is disabled by default.
Use the escape sequence \e[3J instead for flushing the buffer.
Signed-off-by: Manuel Schölling
---
drivers/video/console/Kconfig | 23 +-
drivers/video/console/vgacon.c | 172
history by switching back and forth between consoles
which is why this feature is disabled by default.
Signed-off-by: Manuel Schölling
---
drivers/video/console/Kconfig | 22 +-
drivers/video/console/vgacon.c | 172 +++--
2 files changed, 133 insertions
Tools like clear_console rely on the fact that scrollback history is
flushed when switching back and forth between consoles.
Persistent scrollback buffers for each console breaks this, so this
patch adds a ioctl() callf for flushing the scrollback history.
Signed-off-by: Manuel Schölling
re' of the kernel to clear the buffer
when consoles are switched.
To offer a way for userland tools to flush the buffer my second patch adds
a ioctl call for that.
Also this feature is disabled by default and security implications are clearly
stated in its documentation.
Manuel Schölling (2):
re' of the kernel to clear the buffer
when consoles are switched.
To offer a way for userland tools to flush the buffer my second patch adds
a ioctl call for that.
Also this feature is disabled by default and security implications are clearly
stated in its documentation.
Manuel Schölling (2):
Hi,
I am wondering if we could improve the design of the system call a bit
to prevent programming errors.
Right now, EINVAL is returned in case of invalid flags (or in the older
version of getrandom() also if buflen is too large), EFAULT if buf is an
invalid address and EAGAIN if there is not enou
The time comparsion functions require arguments of type unsigned long
instead of (signed) long.
Signed-off-by: Manuel Schölling
---
drivers/net/ethernet/xilinx/ll_temac_main.c |2 +-
drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c |2 +-
drivers/net/ethernet/xilinx
The time comparsion functions require arguments of type unsigned long
instead of (signed) long.
Signed-off-by: Manuel Schölling
---
drivers/net/ethernet/xilinx/ll_temac_main.c |2 +-
drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c |2 +-
drivers/net/ethernet/xilinx
Add a scrollback buffers for each VGA console. The benefit is that
the scrollback history is not flushed when switching between consoles
but is persistent.
The buffers are allocated on demand when a new console is opened.
Signed-off-by: Manuel Schölling
---
drivers/video/console/Kconfig | 19
dns_query() credulously assumes that keys are null-terminated and
returns a copy of a memory block that is off by one.
Signed-off-by: Manuel Schölling
---
net/dns_resolver/dns_query.c |4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/net/dns_resolver/dns_query.c b/net
dns_query() credulously assumes that keys are null-terminated and
returns a copy of a memory block that is off by one.
---
net/dns_resolver/dns_query.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/dns_resolver/dns_query.c b/net/dns_resolver/dns_query.c
index e7b6d
dns_query() credulously assumes that keys are null-terminated and
returns a copy of a memory block that is off by one.
---
net/dns_resolver/dns_query.c |4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/net/dns_resolver/dns_query.c b/net/dns_resolver/dns_query.c
index e7b6d5
Commit-ID: 2538d960d0c74cdc639f05723e04a67aed1efdf9
Gitweb: http://git.kernel.org/tip/2538d960d0c74cdc639f05723e04a67aed1efdf9
Author: Manuel Schölling
AuthorDate: Thu, 22 May 2014 19:45:23 +0200
Committer: Ingo Molnar
CommitDate: Thu, 5 Jun 2014 11:52:02 +0200
sched/fair: Use
According to RFC1035 "[...] the total length of a domain name (i.e.,
label octets and label length octets) is restricted to 255 octets or
less."
Signed-off-by: Manuel Schölling
---
net/dns_resolver/dns_query.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff -
According to RFC1035 "[...] the total length of a domain name (i.e.,
label octets and label length octets) is restricted to 255 octets or
less."
Signed-off-by: Manuel Schölling
---
net/dns_resolver/dns_query.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -
Instead of using a jiffies hack we can use the standard api for delays.
Signed-off-by: Manuel Schölling
---
drivers/net/wan/farsync.c | 10 +++---
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/drivers/net/wan/farsync.c b/drivers/net/wan/farsync.c
index bcfff0d..02f6d1c
Add a scrollback buffers for each VGA console. The benefit is that
the scrollback history is not flushed when switching between consoles
but is persistent.
The buffers are allocated on demand when a new console is opened.
Signed-off-by: Manuel Schölling
---
drivers/video/console/Kconfig | 19
To be future-proof and for better readability the time comparisons are
modified to use time_before() instead of plain, error-prone math.
Signed-off-by: Manuel Schölling
---
drivers/misc/sgi-gru/grumain.c |4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/misc/sgi
Add a scrollback buffers for each VGA console. The benefit is that
the scrollback history is not flushed when switching between consoles
but is persistent.
The buffers are allocated on demand when a new console is opened.
Signed-off-by: Manuel Schölling
---
drivers/video/console/Kconfig |6
To be future-proof and for better readability the time comparisons are
modified to use time_before() instead of plain, error-prone math.
Signed-off-by: Manuel Schölling
---
drivers/misc/sgi-gru/grumain.c |4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/misc/sgi
To be future-proof and for better readability the time comparisons are
modified to use time_after_eq() instead of plain, error-prone math.
Signed-off-by: Manuel Schölling
---
drivers/staging/dgnc/dgnc_neo.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/staging
To be future-proof and for better readability the time comparisons are
modified to use time_after() instead of plain, error-prone math.
Signed-off-by: Manuel Schölling
---
drivers/net/wireless/mwifiex/main.h |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net
To be future-proof and for better readability the time comparisons are
modified to use time_before() instead of plain, error-prone math.
Signed-off-by: Manuel Schölling
---
drivers/net/wan/farsync.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wan
To be future-proof and for better readability the time comparisons are
modified to use time_before/_after() instead of plain, error-prone math.
Signed-off-by: Manuel Schölling
---
drivers/infiniband/hw/ipath/ipath_intr.c |4 ++--
drivers/infiniband/hw/ipath/ipath_sdma.c |4 ++--
2 files
To be future-proof and for better readability the time comparisons are
modified to use time_before() instead of plain, error-prone math.
Signed-off-by: Manuel Schölling
---
drivers/staging/gdm72xx/gdm_usb.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging
To be future-proof and for better readability the time comparisons are
modified to use time_before/_after() instead of plain, error-prone math.
To suppress compiler warnings the type of ips_deny_time was changed.
Signed-off-by: Manuel Schölling
---
drivers/staging/rtl8188eu/core/rtw_pwrctrl.c
To be future-proof and for better readability the time comparisons are
modified to use time_before_eq() instead of plain, error-prone math.
Signed-off-by: Manuel Schölling
---
drivers/staging/media/msi3101/sdr-msi3101.c | 28 +--
1 file changed, 14 insertions(+), 14
To be future-proof and for better readability the time comparisons are
modified to use time_before_eq() instead of plain, error-prone math.
Signed-off-by: Manuel Schölling
---
drivers/staging/media/msi3101/sdr-msi3101.c |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff
To be future-proof and for better readability the time comparisons are modified
to use time_before() instead of plain, error-prone math.
Signed-off-by: Manuel Schölling
---
drivers/acpi/acpi_pad.c |7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/acpi
To be future-proof and for better readability the time comparisons are modified
to use time_in_range() instead of plain, error-prone math.
Signed-off-by: Manuel Schölling
---
drivers/md/dm-cache-target.c |5 +++--
drivers/md/dm-log-userspace-base.c |4 ++--
drivers/md/dm-thin.c
To be future-proof and for better readability the time comparisons are modified
to use time_after() instead of plain, error-prone math.
Signed-off-by: Manuel Schölling
---
drivers/net/ethernet/intel/e1000/e1000_ethtool.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a
To be future-proof and for better readability the time comparisons are modified
to use time_before() instead of plain, error-prone math.
Signed-off-by: Manuel Schölling
---
drivers/dma/ioat/dma_v2.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/dma/ioat/dma_v2
To be future-proof and for better readability the time comparisons are modified
to use time_before_eq() instead of plain, error-prone math.
Signed-off-by: Manuel Schölling
---
drivers/net/ethernet/xilinx/ll_temac_main.c |2 +-
drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c |2
To be future-proof and for better readability the time comparisons are modified
to use time_before_eq() instead of plain, error-prone math.
Signed-off-by: Manuel Schölling
---
drivers/net/ethernet/micrel/ksz884x.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers
To be future-proof and for better readability the time comparisons are modified
to use time_after() instead of plain, error-prone math.
Signed-off-by: Manuel Schölling
---
kernel/sched/fair.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/sched/fair.c b/kernel
1 - 100 of 119 matches
Mail list logo