]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
s390/eadm: fix CONFIG_BLOCK include dependency
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Tue, 23 Jan 2018 12:58:05 +0000 (13:58 +0100)
committerKhalid Elmously <khalid.elmously@canonical.com>
Wed, 6 Jun 2018 17:44:25 +0000 (13:44 -0400)
commit7381ab5389ad951c368d3bb65c6de7f8f91f0b51
treec9bce674d33e6dffa549cda3b1ff8376960c5ed9
parentf443817198b49095270e3cb7358809cdc6119545
s390/eadm: fix CONFIG_BLOCK include dependency

BugLink: http://bugs.launchpad.net/bugs/1774063
[ Upstream commit 366b77ae43c5a3bf1a367f15ec8bc16e05035f14 ]

Commit 2a842acab109 ("block: introduce new block status code type")
added blk_status_t usage to the eadm subchannel driver. However
blk_status_t is unknown when included via <linux/blkdev.h> for CONFIG_BLOCK=n.

Only include <linux/blk_types.h> since this is the only dependency eadm has.

This fixes build failures like below:
In file included from drivers/s390/cio/eadm_sch.c:24:0:
./arch/s390/include/asm/eadm.h:111:4: error: unknown type name 'blk_status_t'; did you mean 'si_status'?
    blk_status_t error);

Reported-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
arch/s390/include/asm/eadm.h