aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pnp/resource.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pnp/resource.c')
-rw-r--r--drivers/pnp/resource.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/drivers/pnp/resource.c b/drivers/pnp/resource.c
index 55a57cded24a..391828c7f207 100644
--- a/drivers/pnp/resource.c
+++ b/drivers/pnp/resource.c
@@ -143,8 +143,11 @@ int pnp_register_port_resource(struct pnp_dev *dev, struct pnp_option *option,
143 option->port = data; 143 option->port = data;
144 144
145 dev_dbg(&dev->dev, " io " 145 dev_dbg(&dev->dev, " io "
146 "min %#x max %#x align %d size %d flags %#x\n", 146 "min %#llx max %#llx align %lld size %lld flags %#x\n",
147 data->min, data->max, data->align, data->size, data->flags); 147 (unsigned long long) data->min,
148 (unsigned long long) data->max,
149 (unsigned long long) data->align,
150 (unsigned long long) data->size, data->flags);
148 return 0; 151 return 0;
149} 152}
150 153
@@ -162,8 +165,11 @@ int pnp_register_mem_resource(struct pnp_dev *dev, struct pnp_option *option,
162 option->mem = data; 165 option->mem = data;
163 166
164 dev_dbg(&dev->dev, " mem " 167 dev_dbg(&dev->dev, " mem "
165 "min %#x max %#x align %d size %d flags %#x\n", 168 "min %#llx max %#llx align %lld size %lld flags %#x\n",
166 data->min, data->max, data->align, data->size, data->flags); 169 (unsigned long long) data->min,
170 (unsigned long long) data->max,
171 (unsigned long long) data->align,
172 (unsigned long long) data->size, data->flags);
167 return 0; 173 return 0;
168} 174}
169 175