From mboxrd@z Thu Jan 1 00:00:00 1970 From: SF Markus Elfring Subject: Re: GPU-DRM-GMA500: Use kmalloc_array() in mid_get_vbt_data_r10() Date: Tue, 20 Sep 2016 12:30:26 +0200 Message-ID: <947cb23d-ee5a-b1cb-8699-f38a1478d58d@users.sourceforge.net> References: <566ABCD9.1060404@users.sourceforge.net> <3c9785ef-4553-2e3d-2cb2-5cf6d1f31ccd@users.sourceforge.net> <87vaxqlwb8.fsf@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <87vaxqlwb8.fsf@intel.com> Sender: linux-kernel-owner@vger.kernel.org To: Jani Nikula , dri-devel@lists.freedesktop.org, Daniel Vetter , David Airlie , Patrik Jakobsson Cc: Julia Lawall , kernel-janitors@vger.kernel.org, LKML List-Id: dri-devel@lists.freedesktop.org >> A multiplication for the size determination of a memory allocation >> indicated that an array data structure should be processed. >> Thus use the corresponding function "kmalloc_array". >> >> This issue was detected by using the Coccinelle software. > > Did you test this running on the hardware? No. - My "test computer" does not provide the corresponding hardware for the affected driver source files. Regards, Markus