diff options
author | 2020-02-19 10:24:08 -0700 | |
---|---|---|
committer | 2020-02-24 22:02:34 +0530 | |
commit | 88402c5b1ba7498217027c8a54e8df61d030500c (patch) | |
tree | 440b69a1e91cf0497b8b5a488b1310337c20ad19 /lib/test_overflow.c | |
parent | dmaengine: coh901318: Fix a double lock bug in dma_tc_handle() (diff) | |
download | wireguard-linux-88402c5b1ba7498217027c8a54e8df61d030500c.tar.xz wireguard-linux-88402c5b1ba7498217027c8a54e8df61d030500c.zip |
dmaengine: idxd: sysfs input of wq incorrect wq type should return error
Currently when inputing an unrecognized wq type, we set the wq type to
"none". It really should return error and not change the existing wq type
that's in the kernel.
Fixes: c52ca478233c ("dmaengine: idxd: add configuration component of driver")
Reported-by: Yixin Zhang <yixin.zhang@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/158213304803.2290.13336343633425868211.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions