[dm-devel] [PATCH 01/10] dm snapshot: Use kmalloc_array() in init_origin_hash()

Joe Perches joe at perches.com
Thu Sep 29 15:01:10 UTC 2016


On Thu, 2016-09-29 at 13:45 +0200, Paul Bolle wrote:
> On Thu, 2016-09-29 at 13:12 +0200, Paul Bolle wrote:
> > Or did I misread that test?
> I finally did some digging: commit e367455a9f25 ("checkpatch: emit
> fewer kmalloc_array/kcalloc conversion warnings") shows I didn't.

You still misread it a little.
I think it's fine as-is.

$Constant there is any number and the match regex is
any upper case variable.




More information about the dm-devel mailing list