summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-qcom-geni.c
diff options
context:
space:
mode:
authorBjorn Andersson2018-09-20 03:09:38 +0200
committerGreg Kroah-Hartman2018-09-30 17:49:55 +0200
commit7012040576c6ae25a47035659ee48673612c2c27 (patch)
tree8d41b67afe239bb628767af1e7f73770e72e114e /drivers/i2c/busses/i2c-qcom-geni.c
parentdocs: fpga: document fpga manager flags (diff)
downloadkernel-qcow2-linux-7012040576c6ae25a47035659ee48673612c2c27.tar.gz
kernel-qcow2-linux-7012040576c6ae25a47035659ee48673612c2c27.tar.xz
kernel-qcow2-linux-7012040576c6ae25a47035659ee48673612c2c27.zip
firmware: Always initialize the fw_priv list object
When freeing the fw_priv the item is taken off the list. This causes an oops in the FW_OPT_NOCACHE case as the list object is not initialized. Make sure to initialize the list object regardless of this flag. Fixes: 422b3db2a503 ("firmware: Fix security issue with request_firmware_into_buf()") Cc: stable@vger.kernel.org Cc: Rishabh Bhatnagar <rishabhb@codeaurora.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-qcom-geni.c')
0 files changed, 0 insertions, 0 deletions