staging: dst: fix coding style
[safe/jmp/linux-2.6] / drivers / staging / sep / sep_driver.c
index 87f8a11..67c7d2c 100644 (file)
@@ -38,6 +38,7 @@
 #include <linux/mm.h>
 #include <linux/poll.h>
 #include <linux/wait.h>
+#include <linux/sched.h>
 #include <linux/pci.h>
 #include <linux/firmware.h>
 #include <asm/ioctl.h>
@@ -272,7 +273,8 @@ static dma_addr_t sep_shared_virt_to_bus(struct sep_device *sep,
                                                void *virt_address)
 {
        dma_addr_t pa = sep->shared_bus + (virt_address - sep->shared_addr);
-       edbg("sep: virt to bus b %08llx v %p\n", pa, virt_address);
+       edbg("sep: virt to bus b %08llx v %p\n",
+               (unsigned long long)pa, virt_address);
        return pa;
 }
 
@@ -1787,6 +1789,7 @@ static int sep_create_flow_dma_tables_handler(struct sep_device *sep,
        first_table_data.physical_address = 0xffffffff;
 
        /* find the free structure for flow data */
+       error = -EINVAL;
        flow_context_ptr = sep_find_flow_context(sep, SEP_FREE_FLOW_ID);
        if (flow_context_ptr == NULL)
                goto end_function;