[Intel-gfx] [PATCH 2/2] drm/i915: Add Backlight Control using DPCD for eDP connectors (v5)

Jani Nikula jani.nikula at intel.com
Tue Jan 12 09:18:39 PST 2016


On Tue, 12 Jan 2016, Daniel Stone <daniel at fooishbar.org> wrote:
> On 12 January 2016 at 15:59, Yetunde Adebisi <yetundex.adebisi at intel.com> wrote:
>> +               memset(intel_dp->edp_dpcd, 0, sizeof(intel_dp->edp_dpcd));
>
> gcc should've warned you about this; you're memsetting too small a size.

Really? I think it's fine.

BR,
Jani.


-- 
Jani Nikula, Intel Open Source Technology Center


More information about the Intel-gfx mailing list