On Sun, Nov 11, 2018 at 7:41 PM Genki Sky wrote:
>
> Hi Alexander,
>
> On Sun, 11 Nov 2018 16:48:38 +0200, Alexander Kapshuk
> wrote:
> > Piping the output of the git command to grep and using the return status
> > of grep as the test condition within the if block,
Remove stderr redirection to stdout from all the parameters to the
version() function, and put it with the body of the version() function
instead.
This improves code readability.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 53 ---
1 file
should not be.
Instead of testing if a file is accessible and readable via calls to
system("test -r " file), rely on the value returned by getline to perform
this kind of testing. Getline returns -1 on error, with the code within
the while loops not being run.
Signed-off-by: Alexander K
Currently, input coming from /proc/self/maps is split into fields without
checking whether or not it matches libc.so. This is not efficient.
All text processing should only be performed on lines of input that
match libc.so.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 12
pattern being found in the output
being parsed may thus be safely omitted.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/ver_linux b/scripts/ver_linux
index e1dc041f903f..a6c728db05ce 100755
--- a/scripts/ver_linux
about the details of implementation.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/scripts/ver_linux b/scripts/ver_linux
index a6c728db05ce..810e608baa24 100755
--- a/scripts/ver_linux
+++ b/scripts/ver_linux
Is this commit queued up for inclusion into the stable tree?
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/drivers/of/base.c?h=next-20180913&id=e54192b48da75f025ae4b277925eaf6aca1d13bd
Applying the patch on top of v4.18.8 fixes the booting problem for me.
The contents
On Sun, Sep 16, 2018 at 10:11 PM Rob Herring wrote:
>
> On Sat, Sep 15, 2018 at 8:35 AM Alexander Kapshuk
> wrote:
> >
> > Is this commit queued up for inclusion into the stable tree?
> > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/driver
nouveau/nv84_xuc00f
[ 358.920107] nouveau :01:00.0: vp: init failed, -2
[ 358.920523] nouveau :01:00.0: Direct firmware load for
nouveau/nv84_xuc103 failed with error -2
[ 358.920556] nouveau :01:00.0: bsp: unable to load firmware
nouveau/nv84_xuc103
[ 358.920565] nouveau :01:00.0: bsp: init failed, -2
Thanks.
Alexander Kapshuk
The code that acquires the version strings for libc and libcpp is
identical, as is the printversion call. The only difference being the
name of the library being printed.
Refactor the code by unifying the bits that are common to both libraries.
Signed-off-by: Alexander Kapshuk
---
scripts
On Fri, Jan 8, 2021 at 1:26 PM Alexander Kapshuk
wrote:
>
> The code that acquires the version strings for libc and libcpp is
> identical, as is the printversion call. The only difference being the
> name of the library being printed.
>
> Refactor the code by unifying the bits
On Mon, Sep 28, 2015 at 10:42 PM, Alexander Kapshuk
wrote:
> On Mon, Sep 28, 2015 at 5:09 PM, Greg KH wrote:
>> On Mon, Sep 28, 2015 at 07:50:37AM +0300, Alexander Kapshuk wrote:
>>> Hello,
>>
>> Hi!
>>
>> First off, your Subject: is a bit odd, you
On Tue, Sep 29, 2015 at 7:43 PM, Greg KH wrote:
> On Tue, Sep 29, 2015 at 06:36:12PM +0300, Alexander Kapshuk wrote:
>> I've reread 'Documentation/SubmittingPatches', and opted for method 1
>> to create the patch.
>>
>> When you mentioned about t
>> Signed-off-by: Alexander Kapshuk
>> ---
>> --- linux/scripts/ver_linux.orig2015-04-13 01:12:50.0 +0300
>> +++ linux/scripts/ver_linux2015-09-29 20:47:48.664509177 +0300
>> @@ -4,54 +4,112 @@
>> # /bin /sbin /usr/bin /usr/sbin /usr/local/
On Sat, Sep 07, 2019 at 12:32:41PM +0200, Daniel Vetter wrote:
> On Sat, Sep 7, 2019 at 11:05 AM Alexander Kapshuk
> wrote:
> >
> > To Whom It May Concern
> >
> > Every kernel I have built since 5.3.0-rc2-next-20190730 and up to
> > 5.3.0-rc7-next-20190
On Mon, Sep 9, 2019 at 1:21 PM Stephen Rothwell wrote:
>
> Hi,
>
> On Mon, 9 Sep 2019 20:11:59 +1000 Stephen Rothwell
> wrote:
> >
> > If you are bisecting linux-next, I will suggest bisecting between the
> > stable branch on linux-next (which is just Linus' tree when I started
> > that day) and
On Mon, Sep 30, 2019 at 8:35 AM Borislav Petkov wrote:
>
> On Tue, Sep 24, 2019 at 07:46:59AM +0300, Alexander Kapshuk wrote:
> > gawk 5.0.1 generates the regexp warnings shown below:
> > GEN /home/sasha/torvalds/tools/objtool/arch/x86/lib/inat-tables.c
> > awk: ..
F2)
DBG:match(..., lprefix3_expr):\((F2|!F3|66&F2)\)
Signed-off-by: Alexander Kapshuk
---
arch/x86/tools/gen-insn-attr-x86.awk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/x86/tools/gen-insn-attr-x86.awk
b/arch/x86/tools/gen-insn-attr-x86.awk
index b02a36b2c14f..a
/lib/inat-tables.c ~/tmp/inat-tables.c; echo $?
0
[Debugging output]
DBG:ext:(66&F2)
DBG:match(ext, ...):(66&F2)
DBG:match(..., lprefix3_expr):\((F2|!F3|66&F2)\)
Signed-off-by: Alexander Kapshuk
Reported-by: kbuild test robot
---
arch/x86/tools/gen-insn-attr-x86.awk | 4 ++--
On Mon, Sep 23, 2019 at 12:19 PM Borislav Petkov wrote:
>
> On Sun, Sep 22, 2019 at 06:03:28PM +0300, Alexander Kapshuk wrote:
> > This patch fixes the regexp warnings shown below:
> > GEN /home/sasha/torvalds/tools/objtool/arch/x86/lib/inat-tables.c
> > awk: ../arch
On Mon, Sep 23, 2019 at 1:31 PM Borislav Petkov wrote:
>
> + Masami.
>
> On Sun, Sep 22, 2019 at 06:03:28PM +0300, Alexander Kapshuk wrote:
> > This patch fixes the regexp warnings shown below:
>
> Avoid having "This patch" or "This commit" in the co
s needing escaping, so 'unescape' them.
https://www.gnu.org/software/gawk/manual/html_node/Escape-Sequences.html
Running diff on the output generated by the script before and after
applying the patch reported no differences.
Signed-off-by: Alexander Kapshuk
Reported-by: kbuild test robot
On Tue, May 21, 2019 at 4:01 AM Shuah Khan wrote:
>
> Hi all,
>
> I am seeing the following warning on Linux 5.2-rc1
>
> warning: same basename if the following are built as modules:
>drivers/regulator/88pm800.ko
>drivers/mfd/88pm800.ko
>
> My config has:
>
> CONFIG_MFD_88PM800=m
>
> CONFI
On Sat, Aug 3, 2019 at 11:19 AM Sasha Levin wrote:
>
> From: Mauro Carvalho Chehab
>
> [ Upstream commit b308467c916aa7acc5069802ab76a9f657434701 ]
>
> There's a missing parenthesis at the script, with causes it to
> fail to detect non-Fedora releases (e. g. RHEL/CentOS).
>
> Tested with Centos 7
On Sat, Aug 3, 2019 at 1:37 PM Mauro Carvalho Chehab
wrote:
>
> Em Sat, 3 Aug 2019 13:31:30 +0300
> Alexander Kapshuk escreveu:
>
> > > - if (! $system_release =~ /Fedora/) {
> > > + if (!($system_release =~ /Fedora/)) {
> > >
On Thu, Mar 1, 2018 at 11:06 PM, Tobin C. Harding wrote:
> On Tue, Feb 27, 2018 at 03:45:09PM +1100, Tobin C. Harding wrote:
>> When the system is idle it is likely that most files under /proc/PID
>> will be identical for various processes. Scanning _all_ the PIDs under
>> /proc is unnecessary an
On Tue, Jun 28, 2016 at 5:48 PM, wrote:
> On Tue, 28 Jun 2016 17:40:36 +0300, Alexander Kapshuk said:
>
>> Seeing this is a complete rewrite of the script from the shell
>> language into awk, one would not be able to apply the patches
>> submitted incrementally to be
On Sun, Mar 12, 2017 at 10:11 PM, Ilia Mirkin wrote:
> On Sun, Mar 12, 2017 at 3:05 PM, Greg KH wrote:
>> On Sun, Mar 12, 2017 at 01:51:24PM -0500, Robert Nelson wrote:
>>> On Sun, Mar 12, 2017 at 8:05 AM, Greg KH wrote:
>>> > I'm announcing the release of the 4.10.2 kernel.
>>> >
>>> > All user
On Tue, Mar 14, 2017 at 1:26 PM, Pushkar Jambhlekar
wrote:
> Description:
> There should not be ';' after do ... while(0) in macro defination
>
> Signed-off-by: Pushkar Jambhlekar
> ---
> drivers/staging/rtl8188eu/core/rtw_security.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
s##0) ^ rk[4 * i + 1];
> \
> d##2 = TE0(s##2) ^ TE1(s##3) ^ TE2(s##0) ^ TE3(s##1) ^ rk[4 * i + 2];
> \
> d##3 = TE0(s##3) ^ TE1(s##0) ^ TE2(s##1) ^ TE3(s##2) ^ rk[4 * i + 3];
> \
> } while (0)
>
> On Tue, Mar 14, 2017 at 5:02 PM, Alexander Kapshuk
> wr
Use a single string literal as the fmt argument passed to dev_err()
instead of multiple string literals split with an embedded backslash
character.
Signed-off-by: Alexander Kapshuk
---
drivers/staging/fbtft/fb_ssd1331.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a
/fbtft/fb_ssd1331.c.
Signed-off-by: Alexander Kapshuk
---
drivers/staging/fbtft/fb_ssd1331.c | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/fbtft/fb_ssd1331.c
b/drivers/staging/fbtft/fb_ssd1331.c
index 26f24e3..6d03041 100644
--- a/drivers/staging
On Tue, Feb 28, 2017 at 10:34 PM, Joe Perches wrote:
> On Tue, 2017-02-28 at 21:52 +0200, Alexander Kapshuk wrote:
>> Use a single fmt string with appropriate verbs as conversion specifiers,
>> followed by the original string literals and the integer argument
>> instead of
I get an Oops when loading it87.ko on a 4.7.2 kernel. See below for details:
(1). ver_linux
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.
Linux box1 4.7.2-vanilla #7 SMP Sat Aug 27 09:20:18 EEST 2016 i68
On Mon, Aug 29, 2016 at 1:11 PM, Jean Delvare wrote:
> On Mon, 29 Aug 2016 12:06:34 +0200, Jean Delvare wrote:
>> I'm trying to find when the bug was introduced. I have a hard time
>> believing it went unnoticed for long. If it fixes your problem I'll
>> send a clean patch.
>
> Broken by:
>
> comm
Wrap up the call to 'iwconfig --version', the code to process its output,
and the resulting formatted output in awk functions.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/scripts/ver_linux b/scripts
to a function, which makes the script easier to
read overall, as well as considerably reduces the number of lines of
code. Every attempt has been made to retain the look and the format
generated by the current implementation.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 4 ++--
1 file
Wrap up the call to 'oprofiled --version', the code to process its output,
and the resulting formatted output in awk functions.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/scripts/ver_linux b/scripts
Wrap up the call to 'isdnctrl', the code to process its output,
and the resulting formatted output in awk functions.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/scripts/ver_linux b/scripts/ver_linux
ind
Wrap up querying for version of 'Linux C++ Library', the code to process
its output, and the resulting formatted output in awk functions.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 19 ---
1 file changed, 8 insertions(+), 11 deletions(-)
diff --git
Wrap up the call to 'udevadm --version', the code to process its output,
and the resulting formatted output in awk functions.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/scripts/ver_linux b/scripts
Wrap up the call to 'ifconfig --version', the code to process its output,
and the resulting formatted output in awk functions.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/scripts/ver_linux b/scripts
Wrap up the call to 'ldd --version', the code to process its output,
and the resulting formatted output in awk functions.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/scripts/ver_linux b/scripts/ver_l
Wrap up the call to 'pppd --version', the code to process its output,
and the resulting formatted output in awk functions.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/scripts/ver_linux b/scripts
Wrap up the call to 'showmount --version', the code to process its output,
and the resulting formatted output in awk functions.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/scripts/ver_linux b/scripts
Wrap up the call to 'loadkeys -V', the code to process its output,
and the resulting formatted output in awk functions.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 9 ++---
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/scripts/ver_linux b/scripts/ver_l
Wrap up the call to 'ps --version', the code to process its output,
and the resulting formatted output in awk functions.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/scripts/ver_linux b/scripts/ver_l
Wrap up the call to 'tune2fs', the code to process its output,
and the resulting formatted output in awk functions.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/scripts/ver_linux b/scripts/ver_l
Wrap up the call to 'ld -v', the code to process its output,
and the resulting formatted output in awk functions.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/scripts/ver_linux b/scripts/ver_linux
ind
Wrap up the call to 'fsck.reiser4 -V', the code to process its output,
and the resulting formatted output in awk functions.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/scripts/ver_linux b/scripts/ver_l
Wrap up the call to 'xfs_db -V', the code to process its output,
and the resulting formatted output in awk functions.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/scripts/ver_linux b/scripts/ver_l
Wrap up the call to 'reiserfsck -V', the code to process its output,
and the resulting formatted output in awk functions.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/scripts/ver_linux b/scripts/ver_l
Wrap up querying for version of 'Linux C Library', and the resulting
formatted output in an awk function.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 16 ++--
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/scripts/ver_linux b/scripts/ver_l
Wrap up the call to 'pccardctl -V', the code to process its output,
and the resulting formatted output in awk functions.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/scripts/ver_linux b/scripts/ver_l
Wrap up the call to 'cardmgr -V', the code to process its output,
and the resulting formatted output in awk functions.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/scripts/ver_linux b/scripts/ver_l
Wrap up the call to 'fsck.jfs -V', the code to process its output,
and the resulting formatted output in awk functions.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/scripts/ver_linux b/scripts/ver_l
Wrap up the call to 'quota -V', the code to process its output,
and the resulting formatted output in awk functions.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/scripts/ver_linux b/scripts/ver_l
Wrap up the call to 'depmod -V', the code to process its output,
and the resulting formatted output in awk functions.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/scripts/ver_linux b/scripts/ver_l
Definition of the 'version()' function. The function encapsulates the
algorithm that extracts the version number of the utility being queried,
and returns it as a value.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 11 +++
1 file changed, 11 insertions(+)
di
Execute 'uname -a' using the awk system() function.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/ver_linux b/scripts/ver_linux
index 2f1d494..c509f09 100755
--- a/scripts/ver_linux
+++ b/scripts
Wrap up the call to 'expr --v', the code to process its output,
and the resulting formatted output in awk functions.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/scripts/ver_linux b/scripts/ver_l
Wrap up the call to 'gcc -dumpversion', the code to process its output,
and the resulting formatted output in awk functions.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/scripts/ver_linux b/scripts
This patch assigns the usage message to a 'usage' variable and prints it.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/scripts/ver_linux b/scripts/ver_linux
index 30ecc6c..2f1d494 100755
--- a/scripts
Reimplement the code that generates an alphabetically sorted list of
kernel modules in awk and print the name of this entry and the list of
modules via a function call.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 19 +++
1 file changed, 7 insertions(+), 12 deletions
Wrap up the call to 'mount --version', the code to process its output,
and the resulting formatted output in awk functions.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 9 ++---
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/scripts/ver_linux b/scripts
Wrap up the call to 'make --version', the code to process its output,
and the resulting formatted output in awk functions.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/scripts/ver_linux b/scripts
Definition of the 'printversion()' function. The function tests whether
the variable that contains the version number is empty, and prints
the name of the utility and its version number as a formatted string,
if the version number is not an empty value.
Signed-off-by: Alexand
On Tue, Jun 28, 2016 at 3:47 PM, wrote:
> On Tue, 28 Jun 2016 13:19:06 +0300, Alexander Kapshuk said:
>> Definition of the 'printversion()' function. The function tests whether
>> the variable that contains the version number is empty, and prints
>> the name of the
"$ifconfig"
+then
+$ifconfig --version 2>&1 |
+sed '
+/net-tools/!d
+s/\([0-9]\)-.*/\1/
+s/[ \t]/\t\t/
+s/_.*//
+'
+else
+ :
+fi
-# while console-tools needs 'loadkeys -V'.
-loadkeys -V 2>&1 | awk \
-'(NR=
On Mon, Sep 28, 2015 at 5:09 PM, Greg KH wrote:
> On Mon, Sep 28, 2015 at 07:50:37AM +0300, Alexander Kapshuk wrote:
>> Hello,
>
> Hi!
>
> First off, your Subject: is a bit odd, you might want to fix up your
> email client :)
>
>>
>> Having run 'script
On Tue, Sep 29, 2015 at 12:56 AM, Randy Dunlap wrote:
> On 09/27/15 21:50, Alexander Kapshuk wrote:
>>
>> -
>> Sample output of the current implementation on Gentoo Linux:
>>
>> /usr/src/linux/scripts/ver_linux.orig
>> I
On Mon, Jan 25, 2016 at 12:49 PM, Daniel Sanders
wrote:
>
> > From: Alexander Kapshuk [alexander.kaps...@gmail.com]
> > Sent: 23 January 2016 14:41
> > To: Daniel Sanders
> > Cc: James Hogan; Michael S. Tsirkin; LKML; Michal Marek;
> > linux-kbu...@vger.kernel.o
spinlock [noderef] *
Signed-off-by: Alexander Kapshuk
---
net/9p/client.c | 20
1 file changed, 16 insertions(+), 4 deletions(-)
diff --git a/net/9p/client.c b/net/9p/client.c
index fc1f3635e5dd..807e0e2e2e5a 100644
--- a/net/9p/client.c
+++ b/net/9p/client.c
@@ -787,9 +787,15
Address sparse endian warning:
net/9p/trans_fd.c:932:28: warning: incorrect type in assignment (different base
types)
net/9p/trans_fd.c:932:28:expected restricted __be32 [addressable]
[assigned] [usertype] s_addr
net/9p/trans_fd.c:932:28:got unsigned long
Signed-off-by: Alexander
On Thu, Jun 18, 2020 at 10:09 PM Dominique Martinet
wrote:
>
> Alexander Kapshuk wrote on Thu, Jun 18, 2020:
> > Address sparse endian warning:
> > net/9p/trans_fd.c:932:28: warning: incorrect type in assignment (different
> > base types)
> > net/9p/trans_fd.c:
On Thu, Jun 18, 2020 at 10:08 PM Dominique Martinet
wrote:
>
> Alexander Kapshuk wrote on Thu, Jun 18, 2020:
> > Address sparse nonderef rcu warnings:
> > net/9p/client.c:790:17: warning: incorrect type in argument 1 (different
> > address spaces)
> > net/9p/clien
by setting edid to the value of the just acquired
nv_connector->edid and call nouveau_connector_set_edid in the out label
only if nv_connector->edid and edid point to different memory addresses
thus preventing nv_connector->edid from being turned into a dangling
pointer.
Fixes: f28e32d3906
NULL.
Fix this by setting edid to the value of the just acquired
nv_connector->edid and executing the body of nouveau_connector_set_edid
only if nv_connector->edid and edid point to different memory addresses
thus preventing nv_connector->edid from being turned into a dangling
pointer.
Fixes: f28e32d3906e (&qu
Since upgrading to linux-next based on 5.9.0-rc1 and 5.9.0-rc2 I have
had my mouse pointer disappear soon after logging in, and I have
observed the system freezing temporarily when clicking on objects and
when typing text.
I have also found records of push buffer errors in dmesg output:
[ 6625.4503
On Mon, Aug 31, 2020 at 7:30 AM Ben Skeggs wrote:
>
> On Tue, 25 Aug 2020 at 17:21, Alexander Kapshuk
> wrote:
> >
> > Since upgrading to linux-next based on 5.9.0-rc1 and 5.9.0-rc2 I have
> > had my mouse pointer disappear soon after logging in, and I have
>
On Tue, Oct 13, 2020 at 3:47 PM Alexander Kapshuk
wrote:
>
> This oops manifests itself on the following hardware:
> 01:00.0 VGA compatible controller: NVIDIA Corporation G98M [GeForce G 103M]
> (rev a1)
>
> Oct 09 14:17:46 lp-sasha kernel: BUG: kernel NULL pointer deref
On Fri, May 17, 2019 at 8:33 AM Masahiro Yamada
wrote:
>
> In the recent build test of linux-next, Stephen saw a build error
> caused by a broken .tmp_versions/*.mod file:
>
> https://lkml.org/lkml/2019/5/13/991
>
> drivers/net/phy/asix.ko and drivers/net/usb/asix.ko have the same
> basename, an
On Fri, May 17, 2019 at 11:58 AM Bernd Petrovitsch
wrote:
>
> On 17/05/2019 10:16, Alexander Kapshuk wrote:
> [...]
> > The 'xargs' '-r' flag is a GNU extension.
> > If POSIX compliance is important here, the use of 'cat', 'xargs'
Use (un)lock_task_sighand instead of spin_lock_irqsave and
spin_unlock_irqrestore to ensure current->sighand is a valid pointer as
suggested in the email referenced below.
Signed-off-by: Alexander Kapshuk
Link: https://lore.kernel.org/lkml/20200618190807.GA20699@nautica/
---
net/9p/clien
On Sun, Jun 21, 2020 at 11:45 AM Dominique Martinet
wrote:
>
> Alexander Kapshuk wrote on Sat, Jun 20, 2020:
> > Use (un)lock_task_sighand instead of spin_lock_irqsave and
> > spin_unlock_irqrestore to ensure current->sighand is a valid pointer as
> > suggested in
On Sun, Jun 21, 2020 at 1:57 PM Dominique Martinet
wrote:
>
> Alexander Kapshuk wrote on Sun, Jun 21, 2020:
> > Thanks for your feedback.
> > Shall I simply resend the v2 patch with the commit message reworded as
> > you suggested, or should I make it a v3 patch instead?
&
See
https://lore.kernel.org/lkml/20200620201456.14304-1-alexander.kaps...@gmail.com/.
Signed-off-by: Alexander Kapshuk
Reported-by: kernel test robot
Link:
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org/thread/TMTLPYU6A522JH2VCN3PNZVAP6EE5MDF/
---
kernel/signal.c | 1 +
1 file changed, 1 insertio
Fix rcu not being dereferenced cleanly by using the task
helpers (un)lock_task_sighand instead of spin_lock_irqsave and
spin_unlock_irqrestore to ensure current->sighand is a valid pointer as
suggested in the email referenced below.
Signed-off-by: Alexander Kapshuk
Link: https://lore.kernel.
On Sun, Jun 21, 2020 at 4:56 PM Dominique Martinet
wrote:
>
> Alexander Kapshuk wrote on Sun, Jun 21, 2020:
> > Fix rcu not being dereferenced cleanly by using the task
> > helpers (un)lock_task_sighand instead of spin_lock_irqsave and
> > spin_unlock_irqrestore to ensu
On Mon, Jun 22, 2020 at 11:40 AM Christian Brauner
wrote:
>
> On Sun, Jun 21, 2020 at 03:54:37PM +0200, Dominique Martinet wrote:
> > Alexander Kapshuk wrote on Sun, Jun 21, 2020:
> > > Export symbol __lock_task_sighand, so it is accessible from code compiled
> > >
On Tue, Feb 27, 2018 at 6:45 AM, Tobin C. Harding wrote:
> When the system is idle it is likely that most files under /proc/PID
> will be identical for various processes. Scanning _all_ the PIDs under
> /proc is unnecessary and implies that we are thoroughly scanning /proc.
> This is _not_ the ca
ment to vbva to fix the warning.
Signed-off-by: Alexander Kapshuk
---
drivers/staging/vboxvideo/vbox_fb.c | 2 +-
drivers/staging/vboxvideo/vbox_main.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/vboxvideo/vbox_fb.c
b/drivers/staging/vboxvideo/vbo
On Tue, Nov 28, 2017 at 8:32 AM, Tobin C. Harding wrote:
> Currently, leaking_addresses.pl only supports scanning 64 bit
> architectures. This is due to how the regular expressions are formed. We
> can do better than this. 32 architectures can be supported if we take
> into consideration the kerne
On Mon, Dec 4, 2017 at 12:20 PM, wrote:
> On Mon, 2017-12-04 at 19:21 +1100, Tobin C. Harding wrote:
>> On Mon, Dec 04, 2017 at 10:51:53AM +0530, Kaiwan N Billimoria wrote:
>> > > ---
>> > diff --git a/scripts/leaking_addresses.pl b/scripts/leaking_addresses.pl
>> > index 9906dcf8b807..260b52e456
On Tue, Nov 28, 2017 at 11:10 PM, Tobin C. Harding wrote:
> On Tue, Nov 28, 2017 at 03:16:24PM +0200, Alexander Kapshuk wrote:
>> On Tue, Nov 28, 2017 at 8:32 AM, Tobin C. Harding wrote:
>> > Currently, leaking_addresses.pl only supports scanning 64 bit
>> > architectu
On Wed, Nov 29, 2017 at 12:16 PM, Tobin C. Harding wrote:
> On Wed, Nov 29, 2017 at 09:59:59AM +0200, Alexander Kapshuk wrote:
>> On Tue, Nov 28, 2017 at 11:10 PM, Tobin C. Harding wrote:
>> > On Tue, Nov 28, 2017 at 03:16:24PM +0200, Alexander Kapshuk wrote:
>> >>
-- Forwarded message --
From: Alexander Kapshuk
Date: Sun, Aug 21, 2016 at 5:07 PM
Subject: Re: Fwd: [PATCH 01/32] ver_linux: complete awk implementation
To: Greg KH
On Sun, Aug 21, 2016 at 11:19 AM, Greg KH wrote:
>
> On Fri, Aug 19, 2016 at 09:12:28PM +0300, Ale
On Mon, Aug 22, 2016 at 1:00 PM, Greg KH wrote:
> On Mon, Aug 22, 2016 at 07:14:10AM +0300, Alexander Kapshuk wrote:
>> -- Forwarded message --
>> From: Alexander Kapshuk
>> Date: Sun, Aug 21, 2016 at 5:07 PM
>> Subject: Re: Fwd: [PATCH 01/
ver_linux.awk renamed to ver_linux.
Signed-off-by: Alexander Kapshuk
---
scripts/{ver_linux.awk => ver_linux} | 0
1 file changed, 0 insertions(+), 0 deletions(-)
rename scripts/{ver_linux.awk => ver_linux} (100%)
diff --git a/scripts/ver_linux.awk b/scripts/ver_linux
similarity ind
to a function, which makes the script easier to
read overall, as well as considerably reduces the number of lines of
code. Every attempt has been made to retain the look and the format
generated by the current implementation.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux.awk | 89
101 - 200 of 203 matches
Mail list logo