aboutsummaryrefslogtreecommitdiffstats
path: root/net/caif/caif_usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/caif/caif_usb.c')
-rw-r--r--net/caif/caif_usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/caif/caif_usb.c b/net/caif/caif_usb.c
index f5db57c58081..5fc9eca8cd41 100644
--- a/net/caif/caif_usb.c
+++ b/net/caif/caif_usb.c
@@ -179,7 +179,7 @@ static int cfusbl_device_notify(struct notifier_block *me, unsigned long what,
179 &layer, &caif_usb_type.func); 179 &layer, &caif_usb_type.func);
180 if (!pack_added) 180 if (!pack_added)
181 dev_add_pack(&caif_usb_type); 181 dev_add_pack(&caif_usb_type);
182 pack_added = 1; 182 pack_added = true;
183 183
184 strncpy(layer->name, dev->name, 184 strncpy(layer->name, dev->name,
185 sizeof(layer->name) - 1); 185 sizeof(layer->name) - 1);