Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2e792995 authored by Marcel Holtmann's avatar Marcel Holtmann
Browse files

Bluetooth: Fix format arguments warning



Newer GCC versions are a little bit picky about how to deal with format
arguments:

net/bluetooth/hci_sysfs.c: In function ‘hci_register_sysfs’:
net/bluetooth/hci_sysfs.c:418: warning: format not a string literal and no format arguments

It is simple enough to fix and makes the compiler happy.

Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent a418b893
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -415,7 +415,7 @@ int hci_register_sysfs(struct hci_dev *hdev)
	dev->class = bt_class;
	dev->parent = hdev->parent;

	dev_set_name(dev, hdev->name);
	dev_set_name(dev, "%s", hdev->name);

	dev_set_drvdata(dev, hdev);