drbd: fix print_st_err()'s prototype to match the definition
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Thu, 20 Dec 2018 16:23:39 +0000 (17:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Dec 2019 14:34:50 +0000 (15:34 +0100)
commit542bb9b734918334d9448272a52aa2766711b732
tree23f83087eec1a5b4ff3c930a5d29e8e3c54604e9
parent26b3a730a56d598077ced857f1ef1d4271a9f37e
drbd: fix print_st_err()'s prototype to match the definition

[ Upstream commit 2c38f035117331eb78d0504843c79ea7c7fabf37 ]

print_st_err() is defined with its 4th argument taking an
'enum drbd_state_rv' but its prototype use an int for it.

Fix this by using 'enum drbd_state_rv' in the prototype too.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Signed-off-by: Roland Kammerer <roland.kammerer@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/block/drbd/drbd_state.h