summaryrefslogtreecommitdiff
path: root/drivers/dma/imx-sdma.c
diff options
context:
space:
mode:
authorDave Jiang <dave.jiang@intel.com>2020-02-19 10:24:56 -0700
committerVinod Koul <vkoul@kernel.org>2020-02-24 22:02:34 +0530
commit50e7e7f6f2d040dd16a636f408eab9184abc63f8 (patch)
treed2ec9b5ab05ab731010bea4aa9151c1df1afc1b5 /drivers/dma/imx-sdma.c
parent88402c5b1ba7498217027c8a54e8df61d030500c (diff)
dmaengine: idxd: wq size configuration needs to check global max size
The current size_store() function for idxd sysfs does not check the total wq size. This allows configuration of all wqs with total wq size. Add check to make sure the wq sysfs attribute rejects storing of size over the total wq size. Fixes: c52ca478233c ("dmaengine: idxd: add configuration component of driver") Reported-by: Jerry Chen <jerry.t.chen@intel.com> Signed-off-by: Dave Jiang <dave.jiang@intel.com> Link: https://lore.kernel.org/r/158213309629.2509.3583411832507185041.stgit@djiang5-desk3.ch.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/imx-sdma.c')
0 files changed, 0 insertions, 0 deletions