realign whitespace with kernel
authorDave Airlie <airlied@linux.ie>
Fri, 11 Nov 2005 09:09:03 +0000 (09:09 +0000)
committerDave Airlie <airlied@linux.ie>
Fri, 11 Nov 2005 09:09:03 +0000 (09:09 +0000)
linux-core/drm_proc.c
linux-core/drm_scatter.c

index 8e9c475..52241bd 100644 (file)
@@ -175,8 +175,8 @@ static int drm_name_info(char *buf, char **start, off_t offset, int request,
 
        if (dev->unique) {
                DRM_PROC_PRINT("%s %s %s\n",
-                              dev->driver->pci_driver.name, pci_name(dev->pdev),
-                              dev->unique);
+                              dev->driver->pci_driver.name,
+                              pci_name(dev->pdev), dev->unique);
        } else {
                DRM_PROC_PRINT("%s %s\n", dev->driver->pci_driver.name,
                               pci_name(dev->pdev));
@@ -241,9 +241,7 @@ static int drm__vm_info(char *buf, char **start, off_t offset, int request,
                DRM_PROC_PRINT("%4d 0x%08lx 0x%08lx %4.4s  0x%02x 0x%08x ",
                               i,
                               map->offset,
-                              map->size,
-                              type, map->flags,
-                              r_list->user_token);
+                              map->size, type, map->flags, r_list->user_token);
 
                if (map->mtrr < 0) {
                        DRM_PROC_PRINT("none\n");
index 1647303..a7144f1 100644 (file)
@@ -33,7 +33,6 @@
 
 #include <linux/config.h>
 #include <linux/vmalloc.h>
-
 #include "drmP.h"
 
 #define DEBUG_SCATTER 0
@@ -137,7 +136,7 @@ int drm_sg_alloc(struct inode *inode, struct file *filp,
        DRM_DEBUG("sg alloc virtual = %p\n", entry->virtual);
 
        for (i = (unsigned long)entry->virtual, j = 0; j < pages; 
-               i += PAGE_SIZE, j++) {
+            i += PAGE_SIZE, j++) {
                entry->pagelist[j] = vmalloc_to_page((void *)i);
                if (!entry->pagelist[j])
                        goto failed;