/* * sound/soc/samsung/idma.h * * Copyright (c) 2011 Samsung Electronics Co., Ltd * http://www.samsung.com * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. * */ #ifndef __SND_SOC_SAMSUNG_IDMA_H_ #define __SND_SOC_SAMSUNG_IDMA_H_ extern void idma_reg_addr_init(void __iomem *regs, dma_addr_t addr); /* dma_state */ #define LPAM_DMA_STOP 0 #define LPAM_DMA_START 1 #define MAX_IDMA_PERIOD (128 * 1024) #define MAX_IDMA_BUFFER (160 * 1024) #endif /* __SND_SOC_SAMSUNG_IDMA_H_ */ /> index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/security/integrity/ima/ima_api.c
ass='ctrl'>
AgeCommit message (Expand)AuthorFilesLines
mode:
authorEric Anholt <eric@anholt.net>2017-01-17 21:58:06 +1100
committerEric Anholt <eric@anholt.net>2017-01-17 22:06:01 +1100
commit6b8ac63847bc2f958dd93c09edc941a0118992d9 (patch)
treed31e0103c67cb68ac11065598808627c1c76ea5c
parent0f2ff82e11c86c05d051cae32b58226392d33bbf (diff)
drm/vc4: Return -EINVAL on the overflow checks failing.
By failing to set the errno, we'd continue on to trying to set up the RCL, and then oops on trying to dereference the tile_bo that binning validation should have set up. Reported-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Eric Anholt <eric@anholt.net> Fixes: d5b1a78a772f ("drm/vc4: Add support for drawing 3D frames.")
Diffstat