Re: [PATCH 1/2] KVM: kvm_is_visible_gfn can be boolean

2015-11-14 Thread Amos Jianjun Kong
On Sat, Nov 14, 2015 at 11:21 AM, Yaowei Bai wrote: > This patch makes kvm_is_visible_gfn return bool due to this particular > function only using either one or zero as its return value. > > No functional change. > > Signed-off-by: Yaowei Bai Hi Yaowei, > --- > include/linux/kvm_host.h | 2 +-

Re: [PATCH] gpio / ACPI: Return -EPROBE_DEFER if the gpiochip was not found

2015-06-10 Thread Amos Jianjun Kong
On Wed, Jun 10, 2015 at 9:05 PM, Mika Westerberg wrote: > If a driver requests a GPIO described in its _CRS but the GPIO host > controller (gpiochip) driver providing the GPIO has not been loaded yet > acpi_get_gpiod() returns -ENODEV which causes the calling driver to fail. > > If the gpiochip dr