[PATCH v8 3/4] drm: Suppress intentional warning backtraces in scaling unit tests
Maxime Ripard
mripard at kernel.org
Wed May 6 02:48:03 PDT 2026
On Wed, May 06, 2026 at 05:38:50PM +0800, David Gow wrote:
> Le 04/05/2026 à 3:41 PM, Albert Esteve a écrit :
> > From: Guenter Roeck <linux at roeck-us.net>
> >
> > The drm_test_rect_calc_hscale and drm_test_rect_calc_vscale unit tests
> > intentionally trigger warning backtraces by providing bad parameters to
> > the tested functions. What is tested is the return value, not the existence
> > of a warning backtrace. Suppress the backtraces to avoid clogging the
> > kernel log and distraction from real problems.
> >
> > Tested-by: Linux Kernel Functional Testing <lkft at linaro.org>
> > Acked-by: Dan Carpenter <dan.carpenter at linaro.org>
> > Acked-by: Maíra Canal <mcanal at igalia.com>
> > Cc: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
> > Cc: David Airlie <airlied at gmail.com>
> > Cc: Daniel Vetter <daniel at ffwll.ch>
> > Signed-off-by: Guenter Roeck <linux at roeck-us.net>
> > Signed-off-by: Alessandro Carminati <acarmina at redhat.com>
> > Acked-by: David Gow <david at davidgow.net>
> > Signed-off-by: Albert Esteve <aesteve at redhat.com>
> > ---
>
> I'm happy with this either with or without the extra check for the warning
> count.
>
> Acked-by: David Gow <david at davidgow.net>
>
> We'll take this patch in the kunit tree along with the rest of the series
> once everyone's happy.
If there's no need for a new version, feel free to merge these patches,
I'm totally fine with it being addressed as a follow-up.
Maxime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 273 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20260506/36aae1e5/attachment.sig>
More information about the linux-riscv
mailing list