[PATCH v9 6/7] kgdb: Provide a stub kgdb_nmicallback() if !CONFIG_KGDB
Mark Rutland
mark.rutland at arm.com
Mon Aug 7 03:29:56 PDT 2023
On Mon, Aug 07, 2023 at 11:27:00AM +0100, Mark Rutland wrote:
> On Thu, Jun 01, 2023 at 02:31:50PM -0700, Douglas Anderson wrote:
> > +static inline int kgdb_nmicallback(int cpu, void *regs) { return 1; }
>
> Is '1' an error?
>
> Can we return an actual error code if so? It makes it *much* clearer to anyone
> looking at the code.
Never mind; I see this was already queued. Sorry for the noise.
Thanks,
Mark.
More information about the linux-arm-kernel
mailing list