summaryrefslogtreecommitdiffstats
path: root/mm/mmap.c
diff options
context:
space:
mode:
authorJan Beulich <JBeulich@suse.com>2012-09-24 16:55:37 +0200
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-09-25 14:53:27 +0200
commite6aa70a0d5511296ea3d5fd1f5e2203ff6898107 (patch)
tree0bffc5bbd72c88d72e9e731be6d942e01ea9f044 /mm/mmap.c
parentxen/vga: add the xen EFI video mode support (diff)
downloadlinux-e6aa70a0d5511296ea3d5fd1f5e2203ff6898107.tar.xz
linux-e6aa70a0d5511296ea3d5fd1f5e2203ff6898107.zip
xen-pciback: properly clean up after calling pcistub_device_find()
As the function calls pcistub_device_get() before returning non-NULL, its callers need to take care of calling pcistub_device_put() on (mostly, but not exclusively) error paths. Otoh, the function already guarantees that the 'dev' member is non-NULL upon successful return, so callers do not need to check for this a second time. Signed-off-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'mm/mmap.c')
0 files changed, 0 insertions, 0 deletions