diff options
Diffstat (limited to 'drivers/bluetooth/bcm203x.c')
-rw-r--r-- | drivers/bluetooth/bcm203x.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/bluetooth/bcm203x.c b/drivers/bluetooth/bcm203x.c index ee40201c7278..eafd4af0746e 100644 --- a/drivers/bluetooth/bcm203x.c +++ b/drivers/bluetooth/bcm203x.c | |||
@@ -37,11 +37,6 @@ | |||
37 | 37 | ||
38 | #include <net/bluetooth/bluetooth.h> | 38 | #include <net/bluetooth/bluetooth.h> |
39 | 39 | ||
40 | #ifndef CONFIG_BT_HCIBCM203X_DEBUG | ||
41 | #undef BT_DBG | ||
42 | #define BT_DBG(D...) | ||
43 | #endif | ||
44 | |||
45 | #define VERSION "1.2" | 40 | #define VERSION "1.2" |
46 | 41 | ||
47 | static struct usb_device_id bcm203x_table[] = { | 42 | static struct usb_device_id bcm203x_table[] = { |
@@ -199,7 +194,7 @@ static int bcm203x_probe(struct usb_interface *intf, const struct usb_device_id | |||
199 | return -EIO; | 194 | return -EIO; |
200 | } | 195 | } |
201 | 196 | ||
202 | BT_DBG("minidrv data %p size %d", firmware->data, firmware->size); | 197 | BT_DBG("minidrv data %p size %zu", firmware->data, firmware->size); |
203 | 198 | ||
204 | size = max_t(uint, firmware->size, 4096); | 199 | size = max_t(uint, firmware->size, 4096); |
205 | 200 | ||
@@ -227,7 +222,7 @@ static int bcm203x_probe(struct usb_interface *intf, const struct usb_device_id | |||
227 | return -EIO; | 222 | return -EIO; |
228 | } | 223 | } |
229 | 224 | ||
230 | BT_DBG("firmware data %p size %d", firmware->data, firmware->size); | 225 | BT_DBG("firmware data %p size %zu", firmware->data, firmware->size); |
231 | 226 | ||
232 | data->fw_data = kmalloc(firmware->size, GFP_KERNEL); | 227 | data->fw_data = kmalloc(firmware->size, GFP_KERNEL); |
233 | if (!data->fw_data) { | 228 | if (!data->fw_data) { |