[dm-devel] [PATCH 0/8] Various cleanups

Damien Le Moal Damien.LeMoal at wdc.com
Wed Jul 15 23:03:45 UTC 2020


On 2020/07/15 22:43, Mike Snitzer wrote:
> On Wed, Jul 15 2020 at  5:52am -0400,
> Damien Le Moal <damien.lemoal at wdc.com> wrote:
> 
>> Mike,
>>
>> These patches fix various compilation warnings showing up when compiling
>> with W=1. The last patch addresses a static checker warning (C=1
>> compilation). There are a lot more of these code checker warnings
>> remaining that probably could be addressed, some seem to be false
>> positive though.
>>
>> Damien Le Moal (8):
>>   dm raid5: Remove set but unused variable
>>   dm raid5: Fix compilation warning
>>   md: Fix compilation warning
>>   dm raid10: Fix compilation warning
>>   dm verity: Fix compilation warning
>>   dm raid: Remove empty if statement
>>   dm ioctl: Fix compilation warning
>>   dm init: Set file local variable static
>>
>>  drivers/md/dm-init.c              |  2 +-
>>  drivers/md/dm-ioctl.c             |  2 +-
>>  drivers/md/dm-raid.c              |  2 --
>>  drivers/md/dm-verity-verify-sig.h | 14 +++++++-------
> 
> OK, thanks.
> 
>>  drivers/md/md.c                   | 12 ++++++------
>>  drivers/md/raid10.c               |  4 ++--
>>  drivers/md/raid5-cache.c          |  4 +---
>>  drivers/md/raid5.c                | 12 ++++++------
> 
> But these need to be routed through the MD.

Oops. Yes ! Will do. Thanks !

> 
> Mike
> 
> 


-- 
Damien Le Moal
Western Digital Research






More information about the dm-devel mailing list