aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2017-12-13 13:43:47 +0000
committerChris Wilson <[email protected]>2017-12-13 18:53:35 +0000
commit6ca9a2beb54a385c8cc5e39a9d2ef49945896c64 (patch)
treed50c2b914ece7713444ecdae37903b9c622ec8dc /net/unix/sysctl_net_unix.c
parent31c70f97bec3107805df0f491485e7eacbc3a3ae (diff)
drm/i915: Unwind i915_gem_init() failure
Since Michal introduced new user controllable errors other than -EIO during i915_gem_init(), we need to actually unwind on the error path as we have to abort the module load (and we expect to do so cleanly!). As we now teardown key state and then mark the driver as wedged (on EIO), we have to be careful to not allow ourselves to resume and unwedge, thus attempting to use the uninitialised driver. v2: Try not to free driver state for the suppressed EIO v3: Use load-fault-injection to test both error/recovery paths. References: 8620eb1dbbf2 ("drm/i915/uc: Don't use -EIO to report missing firmware") Signed-off-by: Chris Wilson <[email protected]> Cc: Michal Wajdeczko <[email protected]> Cc: Joonas Lahtinen <[email protected]> Cc: Sagar Arun Kamble <[email protected]> Reviewed-by: MichaƂ Winiarski <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions