Commit MetaInfo

Revision7d5aa8ea62c7353036b2e9ed2c16a9b274ece0c4 (tree)
Time2018-07-22 22:39:26
AuthorYoshinori Sato <ysato@user...>
CommiterYoshinori Sato

Log Message

h8300: Add volatile modifier

Since gcc 8.1 gives warning of type mismatch, it is added.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>

Change Summary

Incremental Difference

--- a/arch/h8300/include/asm/bitops.h
+++ b/arch/h8300/include/asm/bitops.h
@@ -66,7 +66,7 @@ H8300_GEN_BITOP(change_bit, "bnot")
6666
6767 #undef H8300_GEN_BITOP
6868
69-static inline int test_bit(int nr, const unsigned long *addr)
69+static inline int test_bit(int nr, const volatile unsigned long *addr)
7070 {
7171 int ret = 0;
7272 unsigned char *b_addr;
Show on old repository browser