summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2011-06-28 08:29:02 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-06-30 22:33:47 -0300
commit66072d4fa7cb644f1f064e290f8fddfbd8ccd478 (patch)
tree97ab6c16f04589118c720fdd314d114d4d9dae5d /tools/perf/scripts/python/call-graph-from-sql.py
parentafdea8bac5e80362459940e18e705d792e677a57 (diff)
downloadkernel-66072d4fa7cb644f1f064e290f8fddfbd8ccd478.tar.gz
[media] media: vb2: fix allocation failure check
__vb2_queue_alloc function returns the number of successfully allocated buffers. There is no point in checking if the returned value is negative. If this function returns 0, videobuf2 should just return -ENOMEM to userspace, because no driver can work without memory buffers. Reported-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> CC: Pawel Osciak <pawel@osciak.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions
DMAC in defconfigEugeniy Paltsev 2019-07-08ARC: [plat-hsdk]: enable DW SPI controllerEugeniy Paltsev 2019-07-08ARC: [haps] Add Virtio supportAlexey Brodkin 2019-06-15kbuild: add CONFIG_HEADERS_INSTALL and loosen the dependency of samplesMasahiro Yamada 2019-05-28ARC: [plat-hsdk]: Add support of Vivante GPUEugeniy Paltsev 2019-05-28ARC: [plat-hsdk]: enable creg-gpio controllerEugeniy Paltsev 2019-04-06block: remove CONFIG_LBDAFChristoph Hellwig 2019-03-20Merge tag 'arc-5.1-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/vgup...Linus Torvalds 2019-03-07configs: get rid of obsolete CONFIG_ENABLE_WARN_DEPRECATEDAlexey Brodkin 2019-02-25arc: hsdk_defconfig: Enable CONFIG_BLK_DEV_RAMCorentin Labbe 2019-02-21ARC: enable uboot support unconditionallyEugeniy Paltsev