gpu: pvr: hwrec: fix hwrec_mem_pages type change warnings
authorLuc Verhaegen <libv@codethink.co.uk>
Fri, 1 Apr 2011 11:47:59 +0000 (13:47 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 20 May 2012 18:43:05 +0000 (21:43 +0300)
Last minute change of hwrec_mem_pages, from u32 to unsigned long, was not
build tested due to hwrec_mem dumping now only happening inside
CONFIG_PVR_DEBUG, which was not given a spin before submission.

Signed-off-by: Luc Verhaegen <libv@codethink.co.uk>
Signed-off-by: Imre Deak <imre.deak@nokia.com>
pvr/pvr_debugfs.c

index 78987c7..9636d02 100644 (file)
@@ -504,7 +504,7 @@ hwrec_registers_dump(struct PVRSRV_SGXDEV_INFO *psDevInfo)
 }
 
 static void
-hwrec_pages_free(size_t *size, u32 *pages)
+hwrec_pages_free(size_t *size, unsigned long *pages)
 {
        int i;
 
@@ -520,8 +520,8 @@ hwrec_pages_free(size_t *size, u32 *pages)
 }
 
 static int
-hwrec_pages_write(u8 *buffer, size_t size, size_t *current_size, u32 *pages,
-                 int array_size)
+hwrec_pages_write(u8 *buffer, size_t size, size_t *current_size,
+                 unsigned long *pages, int array_size)
 {
        size_t ret = 0;
 
@@ -591,7 +591,7 @@ hwrec_mem_print(char *format, ...)
  * Render status buffer dumping.
  */
 static size_t hwrec_status_size;
-static u32 hwrec_status_pages[1024];
+static unsigned long hwrec_status_pages[1024];
 
 static int
 hwrec_status_write(char *buffer, size_t size)