]> git.baikalelectronics.ru Git - kernel.git/commit
s390/cio: fix length calculation in idset.c
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Tue, 6 Nov 2012 14:10:05 +0000 (15:10 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 6 Nov 2012 21:39:54 +0000 (22:39 +0100)
commita4cc50a88d07abc38a43e0646953a2054b9b3c70
tree3f83b9970a965fc93e50c885fc44840b28402022
parentda4d4c42ca507bbd13648cc6072a2804f6ddf548
s390/cio: fix length calculation in idset.c

bitmap_or uses the number of bits as its length parameter and
not the number of words necessary to store those bits.

This fixes a regression introduced by:
720fe23 s390/cio: use generic bitmap functions

Reported-by: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
Acked-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/idset.c