Re: [PATCH v2 4/6] EDAC/ghes: Extract error report initialization

From: Breno Leitao

Date: Tue Nov 03 2026 - 08:38:00 EST


On Mon, Oct 19, 2026 at 10:38:43PM +0200, Pierre Gondois wrote:
> -static int ghes_edac_report_mem_error(struct notifier_block *nb,
> - unsigned long val, void *data)
> +/* Caller must hold ghes_lock. */

Is it worth adding lockdep_assert_held(ghes_lock) instead of the
comment?