Skip to content
Commit e96b95c2 authored by Rickard x Andersson's avatar Rickard x Andersson Committed by Andrew Morton
Browse files

gcov: add support for checksum field

In GCC version 12.1 a checksum field was added.

This patch fixes a kernel crash occurring during boot when using
gcov-kernel with GCC version 12.2.  The crash occurred on a system running
on i.MX6SX.

Link: https://lkml.kernel.org/r/20221220102318.3418501-1-rickaran@axis.com


Fixes: 977ef30a ("gcov: support GCC 12.1 and newer compilers")
Signed-off-by: default avatarRickard x Andersson <rickaran@axis.com>
Reviewed-by: default avatarPeter Oberparleiter <oberpar@linux.ibm.com>
Tested-by: default avatarPeter Oberparleiter <oberpar@linux.ibm.com>
Reviewed-by: default avatarMartin Liska <mliska@suse.cz>
Cc: <stable@vger.kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent c5651b31
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment