Re: [PATCH] Fix BREAK handling in sunsab serial driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Christopher Alexander Tobias Schulze <cat.schulze@xxxxxxxxxxxxx>
Date: Sun, 3 Aug 2014 14:25:35 +0200

> IIRC it was a null pointer dereference in perf_event_print_debug(),
> but I am not quite sure, as we quickly disabled this call to continue
> working (getting BREAK on the serial console to work was top priority
> then). We will have to wait for Norman to retrieve this information -
> he is currently on vacation, however, so it will take another week.

If it's in perf_event_print_debug() there isn't much to check.

sparc_pmu is derefernced in the loops, but the first thing this
function does is check it against NULL and return immediately
if it is NULL.

pcr_ops is dereferenced also, but pcr_ops should never be NULL
if sparc_pmu is not NULL.

Hmmm... that's setup by pcr_arch_init() which I only see being
invoked by smp_cpus_done().

Is this a uniprocessor build?
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux