[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0c808001-7643-fdcf-66ba-738654ec0c21@kernel.org>
Date: Fri, 13 Aug 2021 07:53:51 +0200
From: Jiri Slaby <jirislaby@...nel.org>
To: kernel test robot <lkp@...el.com>,
Xianting Tian <xianting.tian@...ux.alibaba.com>,
gregkh@...uxfoundation.org, amit@...nel.org, arnd@...db.de,
osandov@...com
Cc: clang-built-linux@...glegroups.com, kbuild-all@...ts.01.org,
linuxppc-dev@...ts.ozlabs.org,
virtualization@...ts.linux-foundation.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v6 1/2] tty: hvc: pass DMA capable memory to put_chars()
Hi,
On 12. 08. 21, 14:26, kernel test robot wrote:
>>> drivers/tty/hvc/hvc_console.c:190:26: warning: variable 'hp' is uninitialized when used here [-Wuninitialized]
> spin_unlock_irqrestore(&hp->c_lock, flags);
> ^~
> drivers/tty/hvc/hvc_console.c:149:23: note: initialize the variable 'hp' to silence this warning
> struct hvc_struct *hp;
> ^
> = NULL
So you clearly didn't test your change as it would crash quite
instantly. I wonder, where do you intend to get hp from in the
console::print() hook?
thanks,
--
js
suse labs
Powered by blists - more mailing lists