commit | 8af42949d1681379c1a97d230de9242c1f4f326a | [log] [tgz] |
---|---|---|
author | Stafford Horne <shorne@gmail.com> | Mon Mar 13 07:41:55 2017 +0900 |
committer | Stafford Horne <shorne@gmail.com> | Thu Mar 16 00:12:56 2017 +0900 |
tree | 9ff0383d923e30c90200e150641a06a19a3e86bb | |
parent | 4495c08e84729385774601b5146d51d9e5849f81 [diff] |
openrisc: xchg: fix `computed is not used` warning When building allmodconfig this warning shows. fs/ocfs2/file.c: In function 'ocfs2_file_write_iter': ./arch/openrisc/include/asm/cmpxchg.h:81:3: warning: value computed is not used [-Wunused-value] ((typeof(*(ptr)))__xchg((unsigned long)(with), (ptr), sizeof(*(ptr)))) ^ Applying the same patch logic that was done to the cmpxchg macro. Signed-off-by: Stafford Horne <shorne@gmail.com>