diff options
author | BlackNoxis <steven.darklight@gmail.com> | 2014-02-15 23:24:26 +0200 |
---|---|---|
committer | BlackNoxis <steven.darklight@gmail.com> | 2014-02-15 23:24:26 +0200 |
commit | 7224c1253228e5c29c78cb3f0f26ce34770f2356 (patch) | |
tree | 1684924656132935256e034f35f92abee6623265 /sys-kernel/compat-drivers/files/compat-drivers-3.7_rc1_p6-grsec-warnings.patch |
Added ebuilds for kogaion desktop
Diffstat (limited to 'sys-kernel/compat-drivers/files/compat-drivers-3.7_rc1_p6-grsec-warnings.patch')
-rw-r--r-- | sys-kernel/compat-drivers/files/compat-drivers-3.7_rc1_p6-grsec-warnings.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/sys-kernel/compat-drivers/files/compat-drivers-3.7_rc1_p6-grsec-warnings.patch b/sys-kernel/compat-drivers/files/compat-drivers-3.7_rc1_p6-grsec-warnings.patch new file mode 100644 index 00000000..4ff7a73b --- /dev/null +++ b/sys-kernel/compat-drivers/files/compat-drivers-3.7_rc1_p6-grsec-warnings.patch @@ -0,0 +1,34 @@ +Fixes for: +drivers/net/wireless/ath/ath6kl/sdio.c: In function ‘ath6kl_sdio_alloc_prep_scat_req’: +drivers/net/wireless/ath/ath6kl/sdio.c:1478:1: warning: find_arg_number: cannot find the buf_sz argument in ath6kl_sdio_alloc_prep_scat_req [enabled by default] +drivers/net/wireless/ath/ath6kl/sdio.c:1478:1: warning: find_arg_number: cannot find the sg_sz argument in ath6kl_sdio_alloc_prep_scat_req [enabled by default] +--- drivers/net/wireless/ath/ath6kl/sdio.c ++++ drivers/net/wireless/ath/ath6kl/sdio.c +@@ -341,11 +341,14 @@ + scat_list_sz = (n_scat_entry - 1) * sizeof(struct hif_scatter_item); + scat_req_sz = sizeof(*s_req) + scat_list_sz; + +- if (!virt_scat) ++ if (!virt_scat) { + sg_sz = sizeof(struct scatterlist) * n_scat_entry; +- else ++ buf_sz = 0; ++ } else { ++ sg_sz = 0; + buf_sz = 2 * L1_CACHE_BYTES + + ATH6KL_MAX_TRANSFER_SIZE_PER_SCATTER; ++ } + + for (i = 0; i < n_scat_req; i++) { + /* allocate the scatter request */ +--- drivers/gpu/drm/i915/intel_display.c ++++ drivers/gpu/drm/i915/intel_display.c +@@ -6216,7 +6216,7 @@ + obj = work->old_fb_obj; + + atomic_clear_mask(1 << intel_crtc->plane, +- &obj->pending_flip.counter); ++ &obj->pending_flip); + + wake_up(&dev_priv->pending_flip_queue); + schedule_work(&work->work); |