[PATCH] md: dm-writeback: add __noreturn to BUG-ging function

2020-11-13 Thread Randy Dunlap
Building on arch/s390/ flags this as an error, so add the __noreturn attribute modifier to prevent the build error. cc1: some warnings being treated as errors ../drivers/md/dm-writecache.c: In function 'persistent_memory_claim': ../drivers/md/dm-writecache.c:323:1: error: no return statement in fu

Re: [PATCH] md: dm-writeback: add __noreturn to BUG-ging function

2020-11-15 Thread Christian Borntraeger
On 13.11.20 23:52, Randy Dunlap wrote: > Building on arch/s390/ flags this as an error, so add the > __noreturn attribute modifier to prevent the build error. > > cc1: some warnings being treated as errors > ../drivers/md/dm-writecache.c: In function 'persistent_memory_claim': > ../drivers/md/d

Re: [PATCH] md: dm-writeback: add __noreturn to BUG-ging function

2020-11-16 Thread Randy Dunlap
On 11/15/20 11:30 PM, Christian Borntraeger wrote: > > > On 13.11.20 23:52, Randy Dunlap wrote: >> Building on arch/s390/ flags this as an error, so add the >> __noreturn attribute modifier to prevent the build error. >> >> cc1: some warnings being treated as errors >> ../drivers/md/dm-writecache