On Thu, Aug 14, 2025 at 06:32:34PM +0200, Thorsten Blum wrote:
> strcpy() is deprecated; use strscpy() and memcpy() instead and remove
> several manual NUL-terminations.
>
> In parse_grep(), we can safely use memcpy() because we already know the
> length of the source string 'cp' and that it is gu
On Thu, Aug 14, 2025 at 02:35:56PM +0200, Greg Kroah-Hartman wrote:
> On Thu, Aug 14, 2025 at 02:03:37PM +0200, Thorsten Blum wrote:
> > strcpy() is deprecated; use strscpy() instead and remove several manual
> > NUL-terminations.
>
> Manual NULL terminations are good
On Thu, Aug 14, 2025 at 02:03:37PM +0200, Thorsten Blum wrote:
> strcpy() is deprecated; use strscpy() instead and remove several manual
> NUL-terminations.
Manual NULL terminations are good, why get rid of that?
> Since the destination buffers 'cmd_cur' and 'cmd_hist[cmd_head]' have
> the fixed
mpson
> Cc: Douglas Anderson
> Cc: linux-debugg...@vger.kernel.org
> Cc: kgdb-bugreport@lists.sourceforge.net
> Cc: Doug Anderson
> Cc: Alex Shi
> Cc: Yanteng Si
> Cc: Hu Haowen <2023002...@link.tyut.edu.cn>
> Cc: Andrew Morton
> Cc: Greg Kroah-Hartman
> C
On Wed, Aug 14, 2024 at 04:38:43PM +0100, Daniel Thompson wrote:
> On Mon, Aug 12, 2024 at 01:04:22PM -0700, Doug Anderson wrote:
> > Hi,
> >
> > On Mon, Aug 12, 2024 at 1:55 AM Florian Rommel wrote:
> > >
> > > The test for access watchpoints (hw_access_break_test) was broken
> > > (always failed
Thompson
> ---
> @Greg: I'm assuming this could/should go via your tree but feel free
>to share an ack if you want me to hoover it up instead.
Hoover away!
Acked-by: Greg Kroah-Hartman
___
Kgdb-bugreport mailing list
Kgdb-bugre
On Mon, Mar 13, 2023 at 01:53:02PM -0700, Doug Anderson wrote:
> Hi,
>
> On Tue, Mar 7, 2023 at 7:32 AM Douglas Anderson wrote:
> >
> > On Qualcomm devices which use the "geni" serial driver, kdb/kgdb won't
> > be very happy if you use it but the resources of the port haven't been
> > powered on.
.
>
> - When registering a non-boot console and boot consoles are
> registered, try to flush all the consoles to get the next @seq
> value before falling back to use the @seq of the enabled boot
> console that is furthest behind.
>
> - For console_force_preferred_lock
will
> be removed from the console_lock in a later change.
>
> Signed-off-by: John Ogness
> ---
> drivers/tty/serial/kgdboc.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Reviewed-by: Greg Kroah-Hartman
___
Kgdb-
not being
> + * called until the trap is setup. This also allows safe
> + * traversal of the console list.
> + */
> console_lock();
> for_each_console(con) {
> if (con->write && con->read &&
> --
> 2.30.2
>
R
lback is called. Add comments to clarify this.
>
> Signed-off-by: John Ogness
Reviewed-by: Greg Kroah-Hartman
___
Kgdb-bugreport mailing list
Kgdb-bugreport@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport
On Wed, Oct 19, 2022 at 05:01:34PM +0206, John Ogness wrote:
> Replace (console->flags & CON_ENABLED) usage with console_is_enabled().
>
> Signed-off-by: John Ogness
Reviewed-by: Greg Kroah-Hartman
___
Kgdb-bugreport mailing lis
.c | 2 ++
> 1 file changed, 2 insertions(+)
Reviewed-by: Greg Kroah-Hartman
___
Kgdb-bugreport mailing list
Kgdb-bugreport@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport
my serial/tty tree, or is there some
other tree to take them through (printk?)
If they are to go through someone else's tree, feel free to add:
Reviewed-by: Greg Kroah-Hartman
___
Kgdb-bugreport mailing list
Kgdb-bugreport@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport
Cc: Douglas Anderson
Cc: Arnd Bergmann
Cc: Greg Kroah-Hartman
Reported-by: Igor Zhbanov
Reviewed-by: Douglas Anderson
Signed-off-by: Randy Dunlap
Link: https://lore.kernel.org/r/20220308033255.22118-1-rdun...@infradead.org
Signed-off-by: Greg Kroah-Hartman
Signed-off-by: Sasha Levin
---
quot;consoles: polling support, kgdboc")
Cc: He Zhe
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Cc: kgdb-bugreport@lists.sourceforge.net
Cc: Jason Wessel
Cc: Daniel Thompson
Cc: Douglas Anderson
Cc: linux-ser...@vger.kernel.org
Reported-by: Igor Zhbanov
Reviewed-by: Douglas Anderson
Signe
Cc: Douglas Anderson
Cc: Arnd Bergmann
Cc: Greg Kroah-Hartman
Reported-by: Igor Zhbanov
Reviewed-by: Douglas Anderson
Signed-off-by: Randy Dunlap
Link: https://lore.kernel.org/r/20220308033255.22118-1-rdun...@infradead.org
Signed-off-by: Greg Kroah-Hartman
Signed-off-by: Sasha Levin
---
quot;consoles: polling support, kgdboc")
Cc: He Zhe
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Cc: kgdb-bugreport@lists.sourceforge.net
Cc: Jason Wessel
Cc: Daniel Thompson
Cc: Douglas Anderson
Cc: linux-ser...@vger.kernel.org
Reported-by: Igor Zhbanov
Reviewed-by: Douglas Anderson
Signe
Cc: Douglas Anderson
Cc: Arnd Bergmann
Cc: Greg Kroah-Hartman
Reported-by: Igor Zhbanov
Reviewed-by: Douglas Anderson
Signed-off-by: Randy Dunlap
Link: https://lore.kernel.org/r/20220308033255.22118-1-rdun...@infradead.org
Signed-off-by: Greg Kroah-Hartman
Signed-off-by: Sasha Levin
---
quot;consoles: polling support, kgdboc")
Cc: He Zhe
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Cc: kgdb-bugreport@lists.sourceforge.net
Cc: Jason Wessel
Cc: Daniel Thompson
Cc: Douglas Anderson
Cc: linux-ser...@vger.kernel.org
Reported-by: Igor Zhbanov
Reviewed-by: Douglas Anderson
Signe
quot;consoles: polling support, kgdboc")
Cc: He Zhe
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Cc: kgdb-bugreport@lists.sourceforge.net
Cc: Jason Wessel
Cc: Daniel Thompson
Cc: Douglas Anderson
Cc: linux-ser...@vger.kernel.org
Reported-by: Igor Zhbanov
Reviewed-by: Douglas Anderson
Signe
Cc: Douglas Anderson
Cc: Arnd Bergmann
Cc: Greg Kroah-Hartman
Reported-by: Igor Zhbanov
Reviewed-by: Douglas Anderson
Signed-off-by: Randy Dunlap
Link: https://lore.kernel.org/r/20220308033255.22118-1-rdun...@infradead.org
Signed-off-by: Greg Kroah-Hartman
Signed-off-by: Sasha Levin
---
quot;consoles: polling support, kgdboc")
Cc: He Zhe
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Cc: kgdb-bugreport@lists.sourceforge.net
Cc: Jason Wessel
Cc: Daniel Thompson
Cc: Douglas Anderson
Cc: linux-ser...@vger.kernel.org
Reported-by: Igor Zhbanov
Reviewed-by: Douglas Anderson
Signe
Cc: Douglas Anderson
Cc: Arnd Bergmann
Cc: Greg Kroah-Hartman
Reported-by: Igor Zhbanov
Reviewed-by: Douglas Anderson
Signed-off-by: Randy Dunlap
Link: https://lore.kernel.org/r/20220308033255.22118-1-rdun...@infradead.org
Signed-off-by: Greg Kroah-Hartman
Signed-off-by: Sasha Levin
---
Cc: Douglas Anderson
Cc: Arnd Bergmann
Cc: Greg Kroah-Hartman
Reported-by: Igor Zhbanov
Reviewed-by: Douglas Anderson
Signed-off-by: Randy Dunlap
Link: https://lore.kernel.org/r/20220308033255.22118-1-rdun...@infradead.org
Signed-off-by: Greg Kroah-Hartman
Signed-off-by: Sasha Levin
---
quot;consoles: polling support, kgdboc")
Cc: He Zhe
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Cc: kgdb-bugreport@lists.sourceforge.net
Cc: Jason Wessel
Cc: Daniel Thompson
Cc: Douglas Anderson
Cc: linux-ser...@vger.kernel.org
Reported-by: Igor Zhbanov
Reviewed-by: Douglas Anderson
Signe
Cc: Douglas Anderson
Cc: Arnd Bergmann
Cc: Greg Kroah-Hartman
Reported-by: Igor Zhbanov
Reviewed-by: Douglas Anderson
Signed-off-by: Randy Dunlap
Link: https://lore.kernel.org/r/20220308033255.22118-1-rdun...@infradead.org
Signed-off-by: Greg Kroah-Hartman
Signed-off-by: Sasha Levin
---
quot;consoles: polling support, kgdboc")
Cc: He Zhe
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Cc: kgdb-bugreport@lists.sourceforge.net
Cc: Jason Wessel
Cc: Daniel Thompson
Cc: Douglas Anderson
Cc: linux-ser...@vger.kernel.org
Reported-by: Igor Zhbanov
Reviewed-by: Douglas Anderson
Signe
quot;consoles: polling support, kgdboc")
Cc: He Zhe
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Cc: kgdb-bugreport@lists.sourceforge.net
Cc: Jason Wessel
Cc: Daniel Thompson
Cc: Douglas Anderson
Cc: linux-ser...@vger.kernel.org
Reported-by: Igor Zhbanov
Reviewed-by: Douglas Anderson
Signe
Cc: Douglas Anderson
Cc: Arnd Bergmann
Cc: Greg Kroah-Hartman
Reported-by: Igor Zhbanov
Reviewed-by: Douglas Anderson
Signed-off-by: Randy Dunlap
Link: https://lore.kernel.org/r/20220308033255.22118-1-rdun...@infradead.org
Signed-off-by: Greg Kroah-Hartman
Signed-off-by: Sasha Levin
---
3 +--
> kernel/softirq.c |2 +-
> 4 files changed, 9 insertions(+), 17 deletions(-)
For USB stuff:
Acked-by: Greg Kroah-Hartman
___
Kgdb-bugreport mailing list
Kgdb-bugreport@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport
dek
Acked-by: Greg Kroah-Hartman
___
Kgdb-bugreport mailing list
Kgdb-bugreport@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport
On Thu, Mar 25, 2021 at 09:48:07AM +, Daniel Thompson wrote:
> Currently kgdbts can get stuck waiting for do_sys_open() to be called
> in some of the current tests. This is because C compilers often
> automatically inline this function, which is a very thin wrapper around
> do_sys_openat2(), in
On Mon, Mar 22, 2021 at 07:03:45PM +0100, Arnd Bergmann wrote:
> On Mon, Mar 22, 2021 at 6:03 PM Daniel Thompson
> wrote:
> >
> >
> > Acked-by: Daniel Thompson
> >
> > Which tree do you want to merge this one though? I've got nothing else
> > pending for this file so I am very relaxed about the r
On Tue, Aug 11, 2020 at 07:59:24PM +0530, Sumit Garg wrote:
> Hi Greg,
>
> Thanks for your comments.
>
> On Tue, 11 Aug 2020 at 19:27, Greg Kroah-Hartman
> wrote:
> >
> > On Tue, Aug 11, 2020 at 07:20:26PM +0530, Sumit Garg wrote:
> > > On Tue,
On Tue, Aug 11, 2020 at 07:20:26PM +0530, Sumit Garg wrote:
> On Tue, 21 Jul 2020 at 17:40, Sumit Garg wrote:
> >
> > Make it possible for UARTs to trigger magic sysrq from an NMI. With the
> > advent of pseudo NMIs on arm64 it became quite generic to request serial
> > device interrupt as an NMI
+-
> sound/drivers/pcsp/pcsp_lib.c | 2 +-
> 16 files changed, 26 insertions(+), 21 deletions(-)
Reviewed-by: Greg Kroah-Hartman
___
Kgdb-bugreport mailing list
Kgdb-bugreport@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport
new member fills the hole after atomic_t,
> which is also "int" sized.)
>
> Signed-off-by: Romain Perier
> Co-developed-by: Allen Pais
> Signed-off-by: Allen Pais
> Co-developed-by: Kees Cook
> Signed-off-by: Kees Cook
> ---
> include/linux/interrupt.h |
gt;
> DBG(dev, "Tasklet disconnect\n");
Feel free to just take this in your tree, no need to wait for the USB
stuff to land.
Reviewed-by: Greg Kroah-Hartman
___
Kgdb-bugreport mailing list
Kgdb-bugreport@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport
On Thu, May 14, 2020 at 09:34:26AM -0700, Doug Anderson wrote:
> > (though we must keep
> > changes to drivers/tty/serial/kgdboc alongside the kgdb changes).
> >
> > I can hoover them up but I'd need a solid set of acks and
> > I don't think we've got that yet.
>
> It would be nice for it to be ex
On Fri, Jul 26, 2019 at 09:19:21AM -0700, Doug Anderson wrote:
> Hi,
>
> On Fri, Jul 26, 2019 at 2:16 AM Greg Kroah-Hartman
> wrote:
> >
> > On Thu, Jul 25, 2019 at 11:35:51AM -0700, Douglas Anderson wrote:
> > > After commit ddde3c18b700 ("vt: More lockin
kernel.org
Cc: Nicolas Pitre
Cc: Martin Hostettler
Cc: Adam Borowski
Cc: Mikulas Patocka
Cc: Daniel Vetter
Cc: Sam Ravnborg
Fixes: ddde3c18b700 ("vt: More locking checks")
Signed-off-by: Daniel Vetter
Tested-by: Jens Remus
Acked-by: Sam Ravnborg
Link: https://lore.kernel.org/r/20190
4.19-stable review patch. If anyone has any objections, please let me know.
--
[ Upstream commit c2b94c72d93d0929f48157eef128c4f9d2e603ce ]
gcc 8.1.0 warns with:
kernel/debug/kdb/kdb_support.c: In function ‘kallsyms_symbol_next’:
kernel/debug/kdb/kdb_support.c:239:4: warning: ‘
4.14-stable review patch. If anyone has any objections, please let me know.
--
[ Upstream commit c2b94c72d93d0929f48157eef128c4f9d2e603ce ]
gcc 8.1.0 warns with:
kernel/debug/kdb/kdb_support.c: In function ‘kallsyms_symbol_next’:
kernel/debug/kdb/kdb_support.c:239:4: warning: ‘
4.9-stable review patch. If anyone has any objections, please let me know.
--
[ Upstream commit c2b94c72d93d0929f48157eef128c4f9d2e603ce ]
gcc 8.1.0 warns with:
kernel/debug/kdb/kdb_support.c: In function ‘kallsyms_symbol_next’:
kernel/debug/kdb/kdb_support.c:239:4: warning: ‘s
4.4-stable review patch. If anyone has any objections, please let me know.
--
[ Upstream commit c2b94c72d93d0929f48157eef128c4f9d2e603ce ]
gcc 8.1.0 warns with:
kernel/debug/kdb/kdb_support.c: In function ‘kallsyms_symbol_next’:
kernel/debug/kdb/kdb_support.c:239:4: warning: ‘s
3.18-stable review patch. If anyone has any objections, please let me know.
--
[ Upstream commit c2b94c72d93d0929f48157eef128c4f9d2e603ce ]
gcc 8.1.0 warns with:
kernel/debug/kdb/kdb_support.c: In function ‘kallsyms_symbol_next’:
kernel/debug/kdb/kdb_support.c:239:4: warning: ‘
On Sun, Oct 14, 2018 at 06:18:29PM +0800, Macpaul Lin wrote:
> This patch is trying to fix KASAN issue reported by Syzkaller scan.
Which exact bug is that? Always try to include the proper reference so
that the tool can mark the issue resolved.
>
> Backtrace:
> die+0x15c/0x6a0
> bu
-by: Randy Dunlap
Cc: Daniel Thompson
Cc: Jason Wessel
Cc: kgdb-bugreport@lists.sourceforge.net
Signed-off-by: Jason Wessel
Signed-off-by: Sasha Levin
Signed-off-by: Greg Kroah-Hartman
---
kernel/debug/kdb/kdb_main.c | 27 +--
1 file changed, 21 insertions(+), 6
-by: Randy Dunlap
Cc: Daniel Thompson
Cc: Jason Wessel
Cc: kgdb-bugreport@lists.sourceforge.net
Signed-off-by: Jason Wessel
Signed-off-by: Sasha Levin
Signed-off-by: Greg Kroah-Hartman
---
kernel/debug/kdb/kdb_main.c | 27 +--
1 file changed, 21 insertions(+), 6
-by: Randy Dunlap
Cc: Daniel Thompson
Cc: Jason Wessel
Cc: kgdb-bugreport@lists.sourceforge.net
Signed-off-by: Jason Wessel
Signed-off-by: Sasha Levin
Signed-off-by: Greg Kroah-Hartman
---
kernel/debug/kdb/kdb_main.c | 27 +--
1 file changed, 21 insertions(+), 6
-by: Randy Dunlap
Cc: Daniel Thompson
Cc: Jason Wessel
Cc: kgdb-bugreport@lists.sourceforge.net
Signed-off-by: Jason Wessel
Signed-off-by: Sasha Levin
Signed-off-by: Greg Kroah-Hartman
---
kernel/debug/kdb/kdb_main.c | 27 +--
1 file changed, 21 insertions(+), 6
-by: Randy Dunlap
Cc: Daniel Thompson
Cc: Jason Wessel
Cc: kgdb-bugreport@lists.sourceforge.net
Signed-off-by: Jason Wessel
Signed-off-by: Sasha Levin
Signed-off-by: Greg Kroah-Hartman
---
kernel/debug/kdb/kdb_main.c | 27 +--
1 file changed, 21 insertions(+), 6
rd. Reading of data for KGDB will
> discard any data received on other channels, which clearly isn't ideal,
> but given that there is a single FIFO shared between channels we can't
> do much better.
>
> Signed-off-by: James Hogan
> Cc: Ralf Baechle
> Cc: Greg Kroah-Hartm
On Tue, Mar 12, 2013 at 03:03:17PM -0700, Mike Travis wrote:
> Let me see if I can understand the concept better. By denying
> an external hardware vendor the use of KDB to support a significant
> piece of proprietary hardware on Linux, I furthering the interests
> of Linux and the community how?
On Tue, Mar 12, 2013 at 02:38:28PM -0500, Mike Travis wrote:
> This patch adds some important KDB functions to be externally
> usable by loadable KDB modules.
What modules would that be? Are they in this patch series?
> Note that often drivers bring in KDB modules for debugging, and in the
> pas
On Mon, Sep 17, 2012 at 07:43:11AM -0500, Jason Wessel wrote:
> On 09/17/2012 06:37 AM, Greg Kroah-Hartman wrote:
> > On Thu, Sep 13, 2012 at 08:01:33AM -0700, Anton Vorontsov wrote:
> >> Hi all,
> >>
> >> Here comes the lucky v7:
> >>
> >&g
On Mon, Sep 17, 2012 at 08:39:43AM -0700, Anton Vorontsov wrote:
> On Mon, Sep 17, 2012 at 05:54:27AM -0700, Greg Kroah-Hartman wrote:
> [...]
> > > > To make it easier, can I just take the tty driver patches now? Will
> > > > that break anything?
> > >
&
On Thu, Sep 13, 2012 at 08:01:33AM -0700, Anton Vorontsov wrote:
> Hi all,
>
> Here comes the lucky v7:
>
> - Per Alan Cox's suggestion added hangup method and removed a small
> leftover;
> - Per Colin Cross' suggestion moved IRQ quiescing logic into
> poll_get_char routine. IIUC, Alan is les
59 matches
Mail list logo