summaryrefslogtreecommitdiff
path: root/net/irda/irda_device.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2016-11-30 17:04:52 +0100
committerLuca Coelho <luciano.coelho@intel.com>2017-02-03 16:26:42 +0200
commitcba84570a0eb8826bcd69627fd975935bdcf7eaf (patch)
treef58617a0dc8341ca4a933aeb5f6062cd0594459b /net/irda/irda_device.c
parent4b70f07686d75d1eb5d956812cc810944e0b29b2 (diff)
iwlwifi: mvm: fix D3 replay counter value
This fixes a long-standing bug that was introduced when this code was introduced: cfg80211 passes a pointer, but we treat it as if it was passing a value. The result is that we pass the pointer to the firmware, instead of the value. It's not clear how this could ever have worked, unless the firmware is ignoring this value. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'net/irda/irda_device.c')
0 files changed, 0 insertions, 0 deletions
ng a NULL pointer check and a WARN_ON_ONCE() to avoid the oops that would then generally make the machine unresponsive. Other callers of i915_gem_object_to_ggtt() seem to also check for the returned pointer being NULL and warn about it, so this clearly has happened before in other places. [ Reported it originally to the i915 developers on Jan 8, applying the ugly workaround on my own now after triggering the problem for the second time with no feedback. This is likely to be the same bug reported as https://bugs.freedesktop.org/show_bug.cgi?id=98829 https://bugs.freedesktop.org/show_bug.cgi?id=99134 which has a patch for the underlying problem, but it hasn't gotten to me, so I'm applying the workaround. ] Cc: Daniel Vetter <daniel.vetter@intel.com> Cc: Jani Nikula <jani.nikula@linux.intel.com> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Cc: Imre Deak <imre.deak@intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/xfs/libxfs/xfs_quota_defs.h')