]> git.baikalelectronics.ru Git - kernel.git/commit
dm log userspace base: fix compile warning
authorNicholas Mc Guire <hofrat@osadl.org>
Wed, 18 Mar 2015 22:59:02 +0000 (18:59 -0400)
committerMike Snitzer <snitzer@redhat.com>
Wed, 15 Apr 2015 16:10:20 +0000 (12:10 -0400)
commit393b697ea1dabf74a9f957a77772d4a46f7f7c8b
tree82e8b0bf26e893fca24d249aeebffbc2521f8425
parentfa6f2d29fd97454216fda092dfac028198103d97
dm log userspace base: fix compile warning

This fixes up a compile warning [-Wunused-but-set-variable] - given the
comment in userspace_set_region_sync() the non-reporting of errors is
intentional so the return value can be dropped to make gcc happy.

Also, fix typo in comment.

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-log-userspace-base.c