mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Philipp Zabel <p.zabel@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 1/4] include linux/compiler.h in linux/unaligned/generic.h
Date: Thu,  1 Feb 2018 11:46:11 +0100	[thread overview]
Message-ID: <20180201104615.19524-1-p.zabel@pengutronix.de> (raw)

Without this include, the __force macro used in this header may be
undefined.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
 include/linux/unaligned/generic.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/linux/unaligned/generic.h b/include/linux/unaligned/generic.h
index 02d97ff3df..43d5f2af24 100644
--- a/include/linux/unaligned/generic.h
+++ b/include/linux/unaligned/generic.h
@@ -1,6 +1,8 @@
 #ifndef _LINUX_UNALIGNED_GENERIC_H
 #define _LINUX_UNALIGNED_GENERIC_H
 
+#include <linux/compiler.h>
+
 /*
  * Cause a link-time error if we try an unaligned access other than
  * 1,2,4 or 8 bytes long
-- 
2.15.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2018-02-01 10:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-01 10:46 Philipp Zabel [this message]
2018-02-01 10:46 ` [PATCH 2/4] lib: Add xxhash module Philipp Zabel
2018-02-01 10:46 ` [PATCH 3/4] lib: Add zstd decompression module Philipp Zabel
2018-02-01 10:46 ` [PATCH 3/4] lib: Add zstd modules Philipp Zabel
2018-02-01 10:50   ` Philipp Zabel
2018-02-01 10:46 ` [PATCH 4/4] squashfs: Add zstd support Philipp Zabel
2018-02-05  7:34 ` [PATCH 1/4] include linux/compiler.h in linux/unaligned/generic.h Sascha Hauer

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=20180201104615.19524-1-p.zabel@pengutronix.de \
    --to=p.zabel@pengutronix.de \
    --cc=barebox@lists.infradead.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