summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2023-09-13 11:17:41 +0300
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-09-20 10:55:30 -0400
commitf17cc0f11fa18c06b4938c20f0244620199af0b0 (patch)
treed4a647c9ff6702b686e9aa556df10b0c1b64ff09 /scripts/objdiff
parentce9ecca0238b140b88f43859b211c9fdfd8e5b70 (diff)
downloadkernel-f17cc0f11fa18c06b4938c20f0244620199af0b0.tar.gz
drm/i915/gt: Prevent error pointer dereference
Move the check for "if (IS_ERR(obj))" in front of the call to i915_gem_object_set_cache_coherency() which dereferences "obj". Otherwise it will lead to a crash. Fixes: 43aa755eae2c ("drm/i915/mtl: Update cache coherency setting for context structure") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com> Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/455b2279-2e08-4d00-9784-be56d8ee42e3@moroto.mountain (cherry picked from commit c92ec50822fb84306d951520d81919328421acbd) Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
href='/distro/kernel/commit/include/net/netdev_queues.h?id=92f8b1f5ca0f157f564e75cef4c63641c172e0f1'>netdev: add queue stat for alloc failuresJakub Kicinski 2024-03-07netdev: add per-queue statisticsJakub Kicinski 2024-01-13net: netdev_queue: netdev_txq_completed_mb(): fix wake conditionMarc Kleine-Budde 2023-04-18net: add macro netif_subqueue_completed_wakeHeiner Kallweit 2023-04-10net: piggy back on the memory barrier in bql when waking queuesJakub Kicinski 2023-04-10net: provide macros for commonly copied lockless queue stop/wake codeJakub Kicinski