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)
committerJens Axboe <axboe@kernel.dk>
Thu, 20 Dec 2018 16:51:30 +0000 (09:51 -0700)
commit2c38f035117331eb78d0504843c79ea7c7fabf37
tree0d2a7255239ae8f946449ee23cae0f779dd7768e
parentbe80ff88356ab6f5529daf24d3052a4e3cc727ec
drbd: fix print_st_err()'s prototype to match the definition

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>
drivers/block/drbd/drbd_state.h