Commit 60308415 authored by Jens Korinth's avatar Jens Korinth
Browse files

tlkm: minor bugfixes for x86_64 PCIe

parent 3b49783c
#include <linux/slab.h>
#include <linux/gfp.h>
#include <linux/fs.h>
#include <linux/sched/signal.h>
#include "tlkm_logging.h"
#include "tlkm_control.h"
#include "tlkm_perfc.h"
......
#include <linux/uaccess.h>
#include <linux/sched/signal.h>
#include "tlkm_device_rw.h"
#include "tlkm_control.h"
#include "tlkm_perfc.h"
......
......@@ -42,7 +42,7 @@ int tlkm_bus_init(void)
LOG(TLKM_LF_BUS, "detecting TaPaSCo devices ...");
n = tlkm_bus_enumerate();
if (n < 0) {
ERR("could not detect devices, error: %d", n);
ERR("could not detect devices, error: %zd", n);
return n;
}
if (! n) {
......
......@@ -8,7 +8,7 @@ struct tlkm_bus;
int tlkm_bus_init(void);
void tlkm_bus_exit(void);
int tlkm_bus_enumerate(void);
ssize_t tlkm_bus_enumerate(void);
void tlkm_bus_add_device(struct tlkm_device *pdev);
void tlkm_bus_del_device(struct tlkm_device *pdev);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment