Re: [PATCH] wifi: cfg80211: replace BOOL_TO_STR macro with str_true_false()

From: serhat

Date: Thu Jun 25 2026 - 10:23:22 EST


Hi Johannes,

You are right. Replacing the macro breaks libtraceevent parsing in
trace-cmd, since it cannot evaluate the kernel function.

Please drop this patch. Thanks for catching this.

Best regards,
Serhat

Johannes Berg <johannes@xxxxxxxxxxxxxxxx>, 25 Haz 2026 Per, 14:22
tarihinde şunu yazdı:
>
> On Wed, 2026-06-24 at 23:49 +0300, Serhat Kumral wrote:
> > Remove the local BOOL_TO_STR macro and replace all its usages with
> > the kernel's str_true_false() helper from <linux/string_choices.h>.
> >
> > No functional change intended.
> >
>
> I believe this breaks trace-cmd reporting. Please check and resend
> indicating that you have.
>
> johannes