From: Jayachandran C Date: Wed, 7 Jan 2015 11:28:33 +0000 (+0530) Subject: MIPS: Netlogic: Update function to read DRAM BARs X-Git-Tag: omap-for-v4.2/o2_dc~101^2~126 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3b73ae62ca82744c92c1c2d49381add26d0a8bd;p=pandora-kernel.git MIPS: Netlogic: Update function to read DRAM BARs Change name of xlp_get_dram_map to nlm_get_dram_map to be consistent with the rest of the functions in the file. Pass the the size of the array 'dram_map' to the function, and ensure that it does not write past the end of the array. Signed-off-by: Jayachandran C Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/8892/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed