diff options
| author | Stafford Horne <[email protected]> | 2017-03-12 22:41:55 +0000 |
|---|---|---|
| committer | Stafford Horne <[email protected]> | 2017-03-15 15:12:56 +0000 |
| commit | 8af42949d1681379c1a97d230de9242c1f4f326a (patch) | |
| tree | 9ff0383d923e30c90200e150641a06a19a3e86bb /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | Linux 4.11-rc2 (diff) | |
| download | kernel-8af42949d1681379c1a97d230de9242c1f4f326a.tar.gz kernel-8af42949d1681379c1a97d230de9242c1f4f326a.zip | |
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 <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
