Re: [PATCH] wifi: nl80211: drop impossible negative band check

From: Johannes Berg

Date: Wed Feb 04 2026 - 06:29:48 EST


On Wed, 2026-02-04 at 19:21 +0800, sun jian wrote:
> >
> > applies _only_ to signed short, not to signed char?
> Fair point, thanks. I'll drop this patch.

I've thought the better way to address that warning would be to simply
use 'int' instead of the enum there, but I forgot where the warning even
appears. I don't think it's generally with gcc/clang, is it?

johannes