linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rosen Penev <rosenp@gmail.com>
To: linux-wireless@vger.kernel.org
Subject: [PATCH] iw: fix formats under MIPS64/PPC
Date: Fri, 28 Jun 2024 15:32:37 -0700	[thread overview]
Message-ID: <20240628223237.16222-1-rosenp@gmail.com> (raw)

__SANE_USERSPACE_TYPES__ needs to be defined to get consistent 64-bit
type defines and to fix -Wformat warnings.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
---
 iw.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/iw.h b/iw.h
index f416d6d..436723f 100644
--- a/iw.h
+++ b/iw.h
@@ -1,6 +1,8 @@
 #ifndef __IW_H
 #define __IW_H
 
+#define __SANE_USERSPACE_TYPES__
+
 #include <stdbool.h>
 #include <netlink/netlink.h>
 #include <netlink/genl/genl.h>
-- 
2.45.2


             reply	other threads:[~2024-06-28 22:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-28 22:32 Rosen Penev [this message]
2024-07-01 10:01 ` [PATCH] iw: fix formats under MIPS64/PPC Johannes Berg
2024-07-01 21:28   ` Rosen Penev
2024-07-01 21:58     ` Johannes Berg
2024-07-01 22:07       ` Rosen Penev
2024-07-01 22:10         ` Johannes Berg
2024-07-01 22:16           ` Rosen Penev
2024-07-01 22:19             ` Johannes Berg
2024-07-01 22:22               ` Rosen Penev
  -- strict thread matches above, loose matches on Subject: below --
2024-07-02 19:35 Rosen Penev

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=20240628223237.16222-1-rosenp@gmail.com \
    --to=rosenp@gmail.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).