[Crash-utility] [PATCH] Fix gcc-12 compiler warnings on lkcd_*.c