realign whitespace with kernel
parent
cec83bf6d3
commit
a204d5acb2
|
@ -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");
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue