summaryrefslogtreecommitdiff
path: root/arch/tile/kernel/process.c
diff options
context:
space:
mode:
authorPaul Bolle <pebolle@tiscali.nl>2016-03-03 15:01:40 +0300
committerThomas Gleixner <tglx@linutronix.de>2016-06-10 12:39:09 +0300
commit7faf90ef995ea470f32f43810266ece8ac8ba6c7 (patch)
tree06f5b451c84c9ad10bd6770ddd7e56ac2e736f2c /arch/tile/kernel/process.c
parent0145071b33142cbccffb51486b1ce921677b1d2d (diff)
downloadlinux-7faf90ef995ea470f32f43810266ece8ac8ba6c7.tar.xz
lguest: Read length of device_cap later
Read the length of the capability with type VIRTIO_PCI_CAP_DEVICE_CFG only when we're sure we're going to need it. Which is just before the check whether the virtio console actually has an emerg_wr field. Signed-off-by: Paul Bolle <pebolle@tiscali.nl> Cc: Rusty Russell <rusty@rustcorp.com.au> Cc: lguest@lists.ozlabs.org Link: http://lkml.kernel.org/r/1457006501-5377-2-git-send-email-pebolle@tiscali.nl Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/tile/kernel/process.c')
0 files changed, 0 insertions, 0 deletions