summaryrefslogtreecommitdiff
path: root/drivers/nvmem/zynqmp_nvmem.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2019-02-28 15:49:04 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2019-04-24 11:27:54 +0200
commite40b7642884239346265cd7adc06dfbb8988f93d (patch)
treefeae91d33a016aacea47205a298a70a64cd3f352 /drivers/nvmem/zynqmp_nvmem.c
parentabbc0697d5fbf53f74ce0bcbe936670199764cfa (diff)
drm/leases: Drop object_id validation for negative ids
Not exactly sure what's the aim here, but the canonical nil object has id == 0, we don't use negative object ids for anything. Plus all object_id are valided by the object_idr, there's nothing we need to do on top of that ENOENT check a bit further down. Spotted while typing exhaustive igt coverage for all these corner-cases. Cc: Keith Packard <keithp@keithp.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190228144910.26488-2-daniel.vetter@ffwll.ch
Diffstat (limited to 'drivers/nvmem/zynqmp_nvmem.c')
0 files changed, 0 insertions, 0 deletions