mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: sun jian <sun.jian.kdev@gmail.com>
Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] wifi: nl80211: drop impossible negative band check
Date: Wed, 04 Feb 2026 12:29:35 +0100	[thread overview]
Message-ID: <a1989402f65d0a9a696eb85925db98f6b722fc11.camel@sipsolutions.net> (raw)
In-Reply-To: <CABFUUZFxH1noKq-=zSTrqpirJtTQ2AA6anb7Pk=BDGC3aTs+Og@mail.gmail.com> (sfid-20260204_122137_132999_E605D441)

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

  reply	other threads:[~2026-02-04 11:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-04  8:18 Sun Jian
2026-02-04  8:36 ` Johannes Berg
2026-02-04  9:13   ` sun jian
2026-02-04 11:11     ` Johannes Berg
2026-02-04 11:21       ` sun jian
2026-02-04 11:29         ` Johannes Berg [this message]
2026-02-04 11:33           ` sun jian
2026-02-04 16:20             ` Jeff Johnson
2026-02-06  2:16               ` sun jian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a1989402f65d0a9a696eb85925db98f6b722fc11.camel@sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=sun.jian.kdev@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®