PCIe driver: show max modules as decimal
This commit is contained in:
@@ -85,7 +85,7 @@ static ssize_t max_modules_show(struct device *dev,
|
||||
char *buf) {
|
||||
struct miscdevice* miscdev = dev_get_drvdata(dev);
|
||||
struct jfjoch_drvdata* drvdata = container_of(miscdev, struct jfjoch_drvdata, miscdev);
|
||||
return scnprintf(buf, PAGE_SIZE, "%x", drvdata->max_modules);
|
||||
return scnprintf(buf, PAGE_SIZE, "%d", drvdata->max_modules);
|
||||
}
|
||||
|
||||
static ssize_t stalls_show(struct device *dev,
|
||||
|
||||
Reference in New Issue
Block a user