All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Brian Norris <briannorris@chromium.org>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [PATCH iw] iw: fix enum warnings
Date: Tue, 09 Oct 2018 09:58:10 +0200	[thread overview]
Message-ID: <1539071890.3687.88.camel@sipsolutions.net> (raw)
In-Reply-To: <20181008175126.82965-1-briannorris@chromium.org> (sfid-20181008_195139_275178_FCC6BE18)

On Mon, 2018-10-08 at 10:51 -0700, Brian Norris wrote:
> clang warns about the misuse of enums:
> 
> reg.c:246:26: warning: implicit conversion from enumeration type 'enum command_identify_by' to different enumeration type 'enum id_input' [-Wenum-conversion]
>         err = handle_cmd(state, CIB_NONE, 2, dump_args);
>               ~~~~~~~~~~        ^~~~~~~~
> info.c:645:26: warning: implicit conversion from enumeration type 'enum command_identify_by' to different enumeration type 'enum id_input' [-Wenum-conversion]
>         err = handle_cmd(state, CIB_NONE, 2, feat_args);
>               ~~~~~~~~~~        ^~~~~~~~

Applied, thanks.

johannes

      reply	other threads:[~2018-10-09  7:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-08 17:51 [PATCH iw] iw: fix enum warnings Brian Norris
2018-10-09  7:58 ` Johannes Berg [this message]

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=1539071890.3687.88.camel@sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=briannorris@chromium.org \
    --cc=linux-wireless@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.