2019-05-27 08:55:05 +02:00
|
|
|
|
2010-01-06 19:04:15 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-10-01 15:35:57 -04:00
|
|
|
|
2010-01-06 19:04:15 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-10-29 21:52:49 +04:00
|
|
|
|
2010-01-06 19:04:15 +05:30
|
|
|
|
2011-02-11 15:38:53 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-07-20 17:29:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-06 19:04:15 +05:30
|
|
|
|
2013-10-11 07:46:21 -07:00
|
|
|
|
2010-01-06 19:04:15 +05:30
|
|
|
|
|
|
|
|
|
2010-11-26 17:35:46 +05:30
|
|
|
|
|
|
|
|
|
2014-02-18 18:26:19 +02:00
|
|
|
|
|
|
|
|
|
2015-02-13 21:05:11 +02:00
|
|
|
|
2014-02-18 18:26:19 +02:00
|
|
|
|
2010-11-26 17:35:46 +05:30
|
|
|
|
2012-06-08 14:32:50 +02:00
|
|
|
|
2011-05-09 16:11:16 -07:00
|
|
|
|
2010-11-26 17:35:46 +05:30
|
|
|
|
2011-01-26 17:10:59 +08:00
|
|
|
|
|
|
|
|
|
2011-02-11 15:38:53 +05:30
|
|
|
|
|
|
|
|
|
2014-02-18 18:26:19 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-06-06 20:25:40 +03:00
|
|
|
|
2014-10-06 16:31:49 +05:30
|
|
|
|
2016-02-10 00:49:11 +03:00
|
|
|
|
2014-02-18 18:26:19 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-04-17 11:37:13 -07:00
|
|
|
|
2014-02-18 18:26:19 +02:00
|
|
|
|
|
|
|
|
|
2015-06-18 20:41:51 +03:00
|
|
|
|
2015-05-02 13:36:58 +03:00
|
|
|
|
2014-12-09 07:44:51 +02:00
|
|
|
|
2016-02-28 11:04:06 +03:00
|
|
|
|
2017-01-05 13:19:53 +03:00
|
|
|
|
2014-02-18 18:26:19 +02:00
|
|
|
|
2015-10-05 19:29:33 +03:00
|
|
|
|
2014-02-18 18:26:19 +02:00
|
|
|
|
2014-08-08 12:33:56 +01:00
|
|
|
|
2014-02-18 18:26:20 +02:00
|
|
|
|
2013-03-15 11:00:39 +08:00
|
|
|
|
2011-02-11 15:38:53 +05:30
|
|
|
|
2013-03-12 04:41:58 +09:00
|
|
|
|
2012-03-14 22:01:21 +02:00
|
|
|
|
2014-01-16 15:37:11 +01:00
|
|
|
|
2014-01-16 16:02:58 +01:00
|
|
|
|
2014-02-18 18:26:19 +02:00
|
|
|
|
2013-03-18 23:45:11 +08:00
|
|
|
|
2015-10-16 11:45:26 +03:00
|
|
|
|
2014-02-18 18:26:19 +02:00
|
|
|
|
2012-04-19 14:53:45 +08:00
|
|
|
|
2013-08-30 17:41:40 +08:00
|
|
|
|
2015-05-13 11:39:24 +08:00
|
|
|
|
2014-02-18 18:26:19 +02:00
|
|
|
|
|
|
|
|
|
2012-12-11 11:41:20 +08:00
|
|
|
|
2016-02-10 15:33:17 +03:00
|
|
|
|
2013-07-15 09:29:03 +05:30
|
|
|
|
2014-11-25 20:19:52 +03:00
|
|
|
|
2015-01-18 00:16:51 +03:00
|
|
|
|
2014-07-08 19:25:08 +05:30
|
|
|
|
2016-03-04 01:32:19 +03:00
|
|
|
|
2015-06-06 20:29:25 +03:00
|
|
|
|
2016-05-09 17:36:11 -03:00
|
|
|
|
2016-07-12 01:35:18 +03:00
|
|
|
|
2011-02-11 15:38:53 +05:30
|
|
|
|
2011-02-15 10:20:07 +08:00
|
|
|
|
|
|
|
|
|
2011-02-18 17:03:41 -05:00
|
|
|
|
2012-05-02 22:33:40 +02:00
|
|
|
|
2012-08-07 19:48:10 +05:30
|
|
|
|
2014-02-18 18:26:19 +02:00
|
|
|
|
2012-05-02 22:33:40 +02:00
|
|
|
|
2010-01-06 19:04:15 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-02-11 15:38:53 +05:30
|
|
|
|
|
|
|
|
|
2017-07-22 13:47:07 +12:00
|
|
|
|
|
|
|
|
|
2013-10-11 07:46:21 -07:00
|
|
|
|
2011-02-11 15:38:53 +05:30
|
|
|
|
2014-02-18 18:26:19 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-06-06 20:25:40 +03:00
|
|
|
|
2014-10-06 16:31:49 +05:30
|
|
|
|
2016-02-10 00:49:11 +03:00
|
|
|
|
2014-02-18 18:26:19 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-04-17 11:37:13 -07:00
|
|
|
|
2014-02-18 18:26:19 +02:00
|
|
|
|
|
|
|
|
|
2015-06-18 20:41:51 +03:00
|
|
|
|
2015-05-02 13:36:58 +03:00
|
|
|
|
2014-12-09 07:44:51 +02:00
|
|
|
|
2016-02-28 11:04:06 +03:00
|
|
|
|
2017-01-05 13:19:53 +03:00
|
|
|
|
2014-02-18 18:26:19 +02:00
|
|
|
|
2015-10-05 19:29:33 +03:00
|
|
|
|
2014-02-18 18:26:19 +02:00
|
|
|
|
2014-08-08 12:33:56 +01:00
|
|
|
|
2014-02-18 18:26:20 +02:00
|
|
|
|
2013-03-15 11:00:39 +08:00
|
|
|
|
2011-02-11 15:38:53 +05:30
|
|
|
|
2013-03-12 04:41:58 +09:00
|
|
|
|
2012-03-14 22:01:21 +02:00
|
|
|
|
2014-01-16 15:37:11 +01:00
|
|
|
|
2014-01-16 16:02:58 +01:00
|
|
|
|
2014-02-18 18:26:19 +02:00
|
|
|
|
2013-03-18 23:45:11 +08:00
|
|
|
|
2015-10-16 11:45:26 +03:00
|
|
|
|
2012-04-19 14:53:45 +08:00
|
|
|
|
2013-08-30 17:41:40 +08:00
|
|
|
|
2015-05-13 11:39:24 +08:00
|
|
|
|
2013-06-20 13:38:45 +08:00
|
|
|
|
2014-02-18 18:26:19 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-02-10 15:33:17 +03:00
|
|
|
|
2014-02-18 18:26:19 +02:00
|
|
|
|
2014-11-25 20:19:52 +03:00
|
|
|
|
2015-01-18 00:16:51 +03:00
|
|
|
|
2014-07-08 19:25:08 +05:30
|
|
|
|
2016-03-04 01:32:19 +03:00
|
|
|
|
2015-06-06 20:29:25 +03:00
|
|
|
|
2016-05-09 17:36:11 -03:00
|
|
|
|
2016-07-12 01:35:18 +03:00
|
|
|
|
2011-02-11 15:38:53 +05:30
|
|
|
|
2012-05-02 22:33:40 +02:00
|
|
|
|
2012-08-07 19:48:10 +05:30
|
|
|
|
2014-02-18 18:26:19 +02:00
|
|
|
|
2012-05-02 22:33:40 +02:00
|
|
|
|
2011-02-11 15:38:53 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-09-27 17:19:26 -03:00
|
|
|
|
|
|
|
|
|
2018-02-05 00:09:46 +03:00
|
|
|
|
2018-09-27 17:19:26 -03:00
|
|
|
|
|
|
|
|
|
2018-02-05 00:09:46 +03:00
|
|
|
|
|
|
|
|
|
2010-01-06 19:04:15 +05:30
|
|
|
|
|
|
|
|
|
2011-02-11 15:38:53 +05:30
|
|
|
|
2015-01-28 15:30:27 -05:00
|
|
|
|
|
|
|
|
|
2010-01-06 19:04:15 +05:30
|
|
|
|
2010-11-22 21:09:01 +01:00
|
|
|
|
Bluetooth: ath3k: Fix multiple issues reported by checkpatch.pl
This fixes some CHECKs reported by the checkpatch script.
Issues reported in ath3k.c:
-------
ath3k.c
-------
CHECK: Please don't use multiple blank lines
+
+
CHECK: Blank lines aren't necessary after an open brace '{'
+static const struct usb_device_id ath3k_blist_tbl[] = {
+
CHECK: Alignment should match open parenthesis
+static int ath3k_load_firmware(struct usb_device *udev,
+ const struct firmware *firmware)
CHECK: Alignment should match open parenthesis
+ err = usb_bulk_msg(udev, pipe, send_buf, size,
+ &len, 3000);
CHECK: Unnecessary parentheses around 'len != size'
+ if (err || (len != size)) {
CHECK: Alignment should match open parenthesis
+static int ath3k_get_version(struct usb_device *udev,
+ struct ath3k_version *version)
CHECK: Alignment should match open parenthesis
+static int ath3k_load_fwfile(struct usb_device *udev,
+ const struct firmware *firmware)
CHECK: Alignment should match open parenthesis
+ err = usb_bulk_msg(udev, pipe, send_buf, size,
+ &len, 3000);
CHECK: Unnecessary parentheses around 'len != size'
+ if (err || (len != size)) {
CHECK: Blank lines aren't necessary after an open brace '{'
+ switch (fw_version.ref_clock) {
+
CHECK: Alignment should match open parenthesis
+ snprintf(filename, ATH3K_NAME_LEN, "ar3k/ramps_0x%08x_%d%s",
+ le32_to_cpu(fw_version.rom_version), clk_value, ".dfu");
CHECK: Alignment should match open parenthesis
+static int ath3k_probe(struct usb_interface *intf,
+ const struct usb_device_id *id)
CHECK: Alignment should match open parenthesis
+ BT_ERR("Firmware file \"%s\" not found",
+ ATH3K_FIRMWARE);
CHECK: Alignment should match open parenthesis
+ BT_ERR("Firmware file \"%s\" request failed (err=%d)",
+ ATH3K_FIRMWARE, ret);
total: 0 errors, 0 warnings, 14 checks, 540 lines checked
Signed-off-by: Uri Arev <me@wantyapps.xyz>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2024-04-06 00:42:24 +03:00
|
|
|
|
2010-01-06 19:04:15 +05:30
|
|
|
|
|
|
|
|
|
2016-04-22 13:02:55 +03:00
|
|
|
|
|
|
|
|
|
2010-11-22 21:09:01 +01:00
|
|
|
|
2010-01-06 19:04:15 +05:30
|
|
|
|
2010-11-22 21:09:01 +01:00
|
|
|
|
2010-01-06 19:04:15 +05:30
|
|
|
|
2011-10-25 12:09:52 +02:00
|
|
|
|
2010-01-06 19:04:15 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-09-23 15:43:48 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-11-22 21:09:01 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-02-05 00:09:43 +03:00
|
|
|
|
|
|
|
|
|
2010-11-22 21:09:01 +01:00
|
|
|
|
2014-05-27 13:49:07 +08:00
|
|
|
|
|
|
|
|
|
2010-01-06 19:04:15 +05:30
|
|
|
|
2015-01-28 15:30:27 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-06 19:04:15 +05:30
|
|
|
|
2010-11-22 21:09:01 +01:00
|
|
|
|
2010-01-06 19:04:15 +05:30
|
|
|
|
2010-11-22 21:09:01 +01:00
|
|
|
|
Bluetooth: ath3k: Fix multiple issues reported by checkpatch.pl
This fixes some CHECKs reported by the checkpatch script.
Issues reported in ath3k.c:
-------
ath3k.c
-------
CHECK: Please don't use multiple blank lines
+
+
CHECK: Blank lines aren't necessary after an open brace '{'
+static const struct usb_device_id ath3k_blist_tbl[] = {
+
CHECK: Alignment should match open parenthesis
+static int ath3k_load_firmware(struct usb_device *udev,
+ const struct firmware *firmware)
CHECK: Alignment should match open parenthesis
+ err = usb_bulk_msg(udev, pipe, send_buf, size,
+ &len, 3000);
CHECK: Unnecessary parentheses around 'len != size'
+ if (err || (len != size)) {
CHECK: Alignment should match open parenthesis
+static int ath3k_get_version(struct usb_device *udev,
+ struct ath3k_version *version)
CHECK: Alignment should match open parenthesis
+static int ath3k_load_fwfile(struct usb_device *udev,
+ const struct firmware *firmware)
CHECK: Alignment should match open parenthesis
+ err = usb_bulk_msg(udev, pipe, send_buf, size,
+ &len, 3000);
CHECK: Unnecessary parentheses around 'len != size'
+ if (err || (len != size)) {
CHECK: Blank lines aren't necessary after an open brace '{'
+ switch (fw_version.ref_clock) {
+
CHECK: Alignment should match open parenthesis
+ snprintf(filename, ATH3K_NAME_LEN, "ar3k/ramps_0x%08x_%d%s",
+ le32_to_cpu(fw_version.rom_version), clk_value, ".dfu");
CHECK: Alignment should match open parenthesis
+static int ath3k_probe(struct usb_interface *intf,
+ const struct usb_device_id *id)
CHECK: Alignment should match open parenthesis
+ BT_ERR("Firmware file \"%s\" not found",
+ ATH3K_FIRMWARE);
CHECK: Alignment should match open parenthesis
+ BT_ERR("Firmware file \"%s\" request failed (err=%d)",
+ ATH3K_FIRMWARE, ret);
total: 0 errors, 0 warnings, 14 checks, 540 lines checked
Signed-off-by: Uri Arev <me@wantyapps.xyz>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2024-04-06 00:42:24 +03:00
|
|
|
|
2010-01-06 19:04:15 +05:30
|
|
|
|
Bluetooth: ath3k: Fix multiple issues reported by checkpatch.pl
This fixes some CHECKs reported by the checkpatch script.
Issues reported in ath3k.c:
-------
ath3k.c
-------
CHECK: Please don't use multiple blank lines
+
+
CHECK: Blank lines aren't necessary after an open brace '{'
+static const struct usb_device_id ath3k_blist_tbl[] = {
+
CHECK: Alignment should match open parenthesis
+static int ath3k_load_firmware(struct usb_device *udev,
+ const struct firmware *firmware)
CHECK: Alignment should match open parenthesis
+ err = usb_bulk_msg(udev, pipe, send_buf, size,
+ &len, 3000);
CHECK: Unnecessary parentheses around 'len != size'
+ if (err || (len != size)) {
CHECK: Alignment should match open parenthesis
+static int ath3k_get_version(struct usb_device *udev,
+ struct ath3k_version *version)
CHECK: Alignment should match open parenthesis
+static int ath3k_load_fwfile(struct usb_device *udev,
+ const struct firmware *firmware)
CHECK: Alignment should match open parenthesis
+ err = usb_bulk_msg(udev, pipe, send_buf, size,
+ &len, 3000);
CHECK: Unnecessary parentheses around 'len != size'
+ if (err || (len != size)) {
CHECK: Blank lines aren't necessary after an open brace '{'
+ switch (fw_version.ref_clock) {
+
CHECK: Alignment should match open parenthesis
+ snprintf(filename, ATH3K_NAME_LEN, "ar3k/ramps_0x%08x_%d%s",
+ le32_to_cpu(fw_version.rom_version), clk_value, ".dfu");
CHECK: Alignment should match open parenthesis
+static int ath3k_probe(struct usb_interface *intf,
+ const struct usb_device_id *id)
CHECK: Alignment should match open parenthesis
+ BT_ERR("Firmware file \"%s\" not found",
+ ATH3K_FIRMWARE);
CHECK: Alignment should match open parenthesis
+ BT_ERR("Firmware file \"%s\" request failed (err=%d)",
+ ATH3K_FIRMWARE, ret);
total: 0 errors, 0 warnings, 14 checks, 540 lines checked
Signed-off-by: Uri Arev <me@wantyapps.xyz>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2024-04-06 00:42:24 +03:00
|
|
|
|
2018-09-27 17:19:26 -03:00
|
|
|
|
2010-01-06 19:04:15 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-02-11 15:38:53 +05:30
|
|
|
|
|
|
|
|
|
2020-09-23 15:43:48 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-02-11 15:38:53 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Bluetooth: ath3k: Fix multiple issues reported by checkpatch.pl
This fixes some CHECKs reported by the checkpatch script.
Issues reported in ath3k.c:
-------
ath3k.c
-------
CHECK: Please don't use multiple blank lines
+
+
CHECK: Blank lines aren't necessary after an open brace '{'
+static const struct usb_device_id ath3k_blist_tbl[] = {
+
CHECK: Alignment should match open parenthesis
+static int ath3k_load_firmware(struct usb_device *udev,
+ const struct firmware *firmware)
CHECK: Alignment should match open parenthesis
+ err = usb_bulk_msg(udev, pipe, send_buf, size,
+ &len, 3000);
CHECK: Unnecessary parentheses around 'len != size'
+ if (err || (len != size)) {
CHECK: Alignment should match open parenthesis
+static int ath3k_get_version(struct usb_device *udev,
+ struct ath3k_version *version)
CHECK: Alignment should match open parenthesis
+static int ath3k_load_fwfile(struct usb_device *udev,
+ const struct firmware *firmware)
CHECK: Alignment should match open parenthesis
+ err = usb_bulk_msg(udev, pipe, send_buf, size,
+ &len, 3000);
CHECK: Unnecessary parentheses around 'len != size'
+ if (err || (len != size)) {
CHECK: Blank lines aren't necessary after an open brace '{'
+ switch (fw_version.ref_clock) {
+
CHECK: Alignment should match open parenthesis
+ snprintf(filename, ATH3K_NAME_LEN, "ar3k/ramps_0x%08x_%d%s",
+ le32_to_cpu(fw_version.rom_version), clk_value, ".dfu");
CHECK: Alignment should match open parenthesis
+static int ath3k_probe(struct usb_interface *intf,
+ const struct usb_device_id *id)
CHECK: Alignment should match open parenthesis
+ BT_ERR("Firmware file \"%s\" not found",
+ ATH3K_FIRMWARE);
CHECK: Alignment should match open parenthesis
+ BT_ERR("Firmware file \"%s\" request failed (err=%d)",
+ ATH3K_FIRMWARE, ret);
total: 0 errors, 0 warnings, 14 checks, 540 lines checked
Signed-off-by: Uri Arev <me@wantyapps.xyz>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2024-04-06 00:42:24 +03:00
|
|
|
|
2011-02-11 15:38:53 +05:30
|
|
|
|
2020-09-23 15:43:48 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-02-11 15:38:53 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Bluetooth: ath3k: Fix multiple issues reported by checkpatch.pl
This fixes some CHECKs reported by the checkpatch script.
Issues reported in ath3k.c:
-------
ath3k.c
-------
CHECK: Please don't use multiple blank lines
+
+
CHECK: Blank lines aren't necessary after an open brace '{'
+static const struct usb_device_id ath3k_blist_tbl[] = {
+
CHECK: Alignment should match open parenthesis
+static int ath3k_load_firmware(struct usb_device *udev,
+ const struct firmware *firmware)
CHECK: Alignment should match open parenthesis
+ err = usb_bulk_msg(udev, pipe, send_buf, size,
+ &len, 3000);
CHECK: Unnecessary parentheses around 'len != size'
+ if (err || (len != size)) {
CHECK: Alignment should match open parenthesis
+static int ath3k_get_version(struct usb_device *udev,
+ struct ath3k_version *version)
CHECK: Alignment should match open parenthesis
+static int ath3k_load_fwfile(struct usb_device *udev,
+ const struct firmware *firmware)
CHECK: Alignment should match open parenthesis
+ err = usb_bulk_msg(udev, pipe, send_buf, size,
+ &len, 3000);
CHECK: Unnecessary parentheses around 'len != size'
+ if (err || (len != size)) {
CHECK: Blank lines aren't necessary after an open brace '{'
+ switch (fw_version.ref_clock) {
+
CHECK: Alignment should match open parenthesis
+ snprintf(filename, ATH3K_NAME_LEN, "ar3k/ramps_0x%08x_%d%s",
+ le32_to_cpu(fw_version.rom_version), clk_value, ".dfu");
CHECK: Alignment should match open parenthesis
+static int ath3k_probe(struct usb_interface *intf,
+ const struct usb_device_id *id)
CHECK: Alignment should match open parenthesis
+ BT_ERR("Firmware file \"%s\" not found",
+ ATH3K_FIRMWARE);
CHECK: Alignment should match open parenthesis
+ BT_ERR("Firmware file \"%s\" request failed (err=%d)",
+ ATH3K_FIRMWARE, ret);
total: 0 errors, 0 warnings, 14 checks, 540 lines checked
Signed-off-by: Uri Arev <me@wantyapps.xyz>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2024-04-06 00:42:24 +03:00
|
|
|
|
2011-02-11 15:38:53 +05:30
|
|
|
|
|
|
|
|
|
2016-04-22 13:02:55 +03:00
|
|
|
|
|
|
|
|
|
2011-02-11 15:38:53 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-10-25 12:09:52 +02:00
|
|
|
|
2011-02-11 15:38:53 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-09-23 15:43:48 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-02-11 15:38:53 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-06-05 21:47:44 +08:00
|
|
|
|
|
|
|
|
|
2011-02-11 15:38:53 +05:30
|
|
|
|
2015-01-28 15:30:27 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-02-11 15:38:53 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Bluetooth: ath3k: Fix multiple issues reported by checkpatch.pl
This fixes some CHECKs reported by the checkpatch script.
Issues reported in ath3k.c:
-------
ath3k.c
-------
CHECK: Please don't use multiple blank lines
+
+
CHECK: Blank lines aren't necessary after an open brace '{'
+static const struct usb_device_id ath3k_blist_tbl[] = {
+
CHECK: Alignment should match open parenthesis
+static int ath3k_load_firmware(struct usb_device *udev,
+ const struct firmware *firmware)
CHECK: Alignment should match open parenthesis
+ err = usb_bulk_msg(udev, pipe, send_buf, size,
+ &len, 3000);
CHECK: Unnecessary parentheses around 'len != size'
+ if (err || (len != size)) {
CHECK: Alignment should match open parenthesis
+static int ath3k_get_version(struct usb_device *udev,
+ struct ath3k_version *version)
CHECK: Alignment should match open parenthesis
+static int ath3k_load_fwfile(struct usb_device *udev,
+ const struct firmware *firmware)
CHECK: Alignment should match open parenthesis
+ err = usb_bulk_msg(udev, pipe, send_buf, size,
+ &len, 3000);
CHECK: Unnecessary parentheses around 'len != size'
+ if (err || (len != size)) {
CHECK: Blank lines aren't necessary after an open brace '{'
+ switch (fw_version.ref_clock) {
+
CHECK: Alignment should match open parenthesis
+ snprintf(filename, ATH3K_NAME_LEN, "ar3k/ramps_0x%08x_%d%s",
+ le32_to_cpu(fw_version.rom_version), clk_value, ".dfu");
CHECK: Alignment should match open parenthesis
+static int ath3k_probe(struct usb_interface *intf,
+ const struct usb_device_id *id)
CHECK: Alignment should match open parenthesis
+ BT_ERR("Firmware file \"%s\" not found",
+ ATH3K_FIRMWARE);
CHECK: Alignment should match open parenthesis
+ BT_ERR("Firmware file \"%s\" request failed (err=%d)",
+ ATH3K_FIRMWARE, ret);
total: 0 errors, 0 warnings, 14 checks, 540 lines checked
Signed-off-by: Uri Arev <me@wantyapps.xyz>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2024-04-06 00:42:24 +03:00
|
|
|
|
|
|
|
|
|
2018-09-27 17:19:26 -03:00
|
|
|
|
2011-02-11 15:38:53 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-09-23 15:43:48 +02:00
|
|
|
|
2011-02-11 15:38:53 +05:30
|
|
|
|
2020-09-23 15:43:48 +02:00
|
|
|
|
|
|
|
|
|
2011-02-11 15:38:53 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-09-23 15:43:48 +02:00
|
|
|
|
2011-02-11 15:38:53 +05:30
|
|
|
|
|
|
|
|
|
2020-09-23 15:43:48 +02:00
|
|
|
|
2011-02-11 15:38:53 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-09-23 15:43:48 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-02-11 15:38:53 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-02-05 00:09:44 +03:00
|
|
|
|
2011-02-11 15:38:53 +05:30
|
|
|
|
2014-07-20 17:29:59 +02:00
|
|
|
|
|
|
|
|
|
2011-02-11 15:38:53 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-09-23 15:43:48 +02:00
|
|
|
|
2011-02-11 15:38:53 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-09-23 15:43:48 +02:00
|
|
|
|
2011-02-11 15:38:53 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-07-20 17:29:59 +02:00
|
|
|
|
2011-02-11 15:38:53 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-07-20 17:29:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-02-11 15:38:53 +05:30
|
|
|
|
2014-07-20 17:29:59 +02:00
|
|
|
|
|
|
|
|
|
2011-02-11 15:38:53 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-02-05 00:09:44 +03:00
|
|
|
|
2011-02-11 15:38:53 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-09-23 15:43:48 +02:00
|
|
|
|
2012-12-29 02:00:09 +09:00
|
|
|
|
2011-02-11 15:38:53 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-09-23 15:43:48 +02:00
|
|
|
|
2011-02-11 15:38:53 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Bluetooth: ath3k: Fix multiple issues reported by checkpatch.pl
This fixes some CHECKs reported by the checkpatch script.
Issues reported in ath3k.c:
-------
ath3k.c
-------
CHECK: Please don't use multiple blank lines
+
+
CHECK: Blank lines aren't necessary after an open brace '{'
+static const struct usb_device_id ath3k_blist_tbl[] = {
+
CHECK: Alignment should match open parenthesis
+static int ath3k_load_firmware(struct usb_device *udev,
+ const struct firmware *firmware)
CHECK: Alignment should match open parenthesis
+ err = usb_bulk_msg(udev, pipe, send_buf, size,
+ &len, 3000);
CHECK: Unnecessary parentheses around 'len != size'
+ if (err || (len != size)) {
CHECK: Alignment should match open parenthesis
+static int ath3k_get_version(struct usb_device *udev,
+ struct ath3k_version *version)
CHECK: Alignment should match open parenthesis
+static int ath3k_load_fwfile(struct usb_device *udev,
+ const struct firmware *firmware)
CHECK: Alignment should match open parenthesis
+ err = usb_bulk_msg(udev, pipe, send_buf, size,
+ &len, 3000);
CHECK: Unnecessary parentheses around 'len != size'
+ if (err || (len != size)) {
CHECK: Blank lines aren't necessary after an open brace '{'
+ switch (fw_version.ref_clock) {
+
CHECK: Alignment should match open parenthesis
+ snprintf(filename, ATH3K_NAME_LEN, "ar3k/ramps_0x%08x_%d%s",
+ le32_to_cpu(fw_version.rom_version), clk_value, ".dfu");
CHECK: Alignment should match open parenthesis
+static int ath3k_probe(struct usb_interface *intf,
+ const struct usb_device_id *id)
CHECK: Alignment should match open parenthesis
+ BT_ERR("Firmware file \"%s\" not found",
+ ATH3K_FIRMWARE);
CHECK: Alignment should match open parenthesis
+ BT_ERR("Firmware file \"%s\" request failed (err=%d)",
+ ATH3K_FIRMWARE, ret);
total: 0 errors, 0 warnings, 14 checks, 540 lines checked
Signed-off-by: Uri Arev <me@wantyapps.xyz>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2024-04-06 00:42:24 +03:00
|
|
|
|
2011-02-11 15:38:53 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-06 19:04:15 +05:30
|
|
|
|
Bluetooth: ath3k: Fix multiple issues reported by checkpatch.pl
This fixes some CHECKs reported by the checkpatch script.
Issues reported in ath3k.c:
-------
ath3k.c
-------
CHECK: Please don't use multiple blank lines
+
+
CHECK: Blank lines aren't necessary after an open brace '{'
+static const struct usb_device_id ath3k_blist_tbl[] = {
+
CHECK: Alignment should match open parenthesis
+static int ath3k_load_firmware(struct usb_device *udev,
+ const struct firmware *firmware)
CHECK: Alignment should match open parenthesis
+ err = usb_bulk_msg(udev, pipe, send_buf, size,
+ &len, 3000);
CHECK: Unnecessary parentheses around 'len != size'
+ if (err || (len != size)) {
CHECK: Alignment should match open parenthesis
+static int ath3k_get_version(struct usb_device *udev,
+ struct ath3k_version *version)
CHECK: Alignment should match open parenthesis
+static int ath3k_load_fwfile(struct usb_device *udev,
+ const struct firmware *firmware)
CHECK: Alignment should match open parenthesis
+ err = usb_bulk_msg(udev, pipe, send_buf, size,
+ &len, 3000);
CHECK: Unnecessary parentheses around 'len != size'
+ if (err || (len != size)) {
CHECK: Blank lines aren't necessary after an open brace '{'
+ switch (fw_version.ref_clock) {
+
CHECK: Alignment should match open parenthesis
+ snprintf(filename, ATH3K_NAME_LEN, "ar3k/ramps_0x%08x_%d%s",
+ le32_to_cpu(fw_version.rom_version), clk_value, ".dfu");
CHECK: Alignment should match open parenthesis
+static int ath3k_probe(struct usb_interface *intf,
+ const struct usb_device_id *id)
CHECK: Alignment should match open parenthesis
+ BT_ERR("Firmware file \"%s\" not found",
+ ATH3K_FIRMWARE);
CHECK: Alignment should match open parenthesis
+ BT_ERR("Firmware file \"%s\" request failed (err=%d)",
+ ATH3K_FIRMWARE, ret);
total: 0 errors, 0 warnings, 14 checks, 540 lines checked
Signed-off-by: Uri Arev <me@wantyapps.xyz>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2024-04-06 00:42:24 +03:00
|
|
|
|
2010-01-06 19:04:15 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-02-03 01:42:05 -02:00
|
|
|
|
2010-01-06 19:04:15 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-02-11 15:38:53 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-01-12 22:10:15 +05:30
|
|
|
|
2011-02-11 15:38:53 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-07-01 14:02:36 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-02-11 15:38:53 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-09-23 15:43:48 +02:00
|
|
|
|
2011-02-11 15:38:53 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-10-29 21:52:49 +04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Bluetooth: ath3k: Fix multiple issues reported by checkpatch.pl
This fixes some CHECKs reported by the checkpatch script.
Issues reported in ath3k.c:
-------
ath3k.c
-------
CHECK: Please don't use multiple blank lines
+
+
CHECK: Blank lines aren't necessary after an open brace '{'
+static const struct usb_device_id ath3k_blist_tbl[] = {
+
CHECK: Alignment should match open parenthesis
+static int ath3k_load_firmware(struct usb_device *udev,
+ const struct firmware *firmware)
CHECK: Alignment should match open parenthesis
+ err = usb_bulk_msg(udev, pipe, send_buf, size,
+ &len, 3000);
CHECK: Unnecessary parentheses around 'len != size'
+ if (err || (len != size)) {
CHECK: Alignment should match open parenthesis
+static int ath3k_get_version(struct usb_device *udev,
+ struct ath3k_version *version)
CHECK: Alignment should match open parenthesis
+static int ath3k_load_fwfile(struct usb_device *udev,
+ const struct firmware *firmware)
CHECK: Alignment should match open parenthesis
+ err = usb_bulk_msg(udev, pipe, send_buf, size,
+ &len, 3000);
CHECK: Unnecessary parentheses around 'len != size'
+ if (err || (len != size)) {
CHECK: Blank lines aren't necessary after an open brace '{'
+ switch (fw_version.ref_clock) {
+
CHECK: Alignment should match open parenthesis
+ snprintf(filename, ATH3K_NAME_LEN, "ar3k/ramps_0x%08x_%d%s",
+ le32_to_cpu(fw_version.rom_version), clk_value, ".dfu");
CHECK: Alignment should match open parenthesis
+static int ath3k_probe(struct usb_interface *intf,
+ const struct usb_device_id *id)
CHECK: Alignment should match open parenthesis
+ BT_ERR("Firmware file \"%s\" not found",
+ ATH3K_FIRMWARE);
CHECK: Alignment should match open parenthesis
+ BT_ERR("Firmware file \"%s\" request failed (err=%d)",
+ ATH3K_FIRMWARE, ret);
total: 0 errors, 0 warnings, 14 checks, 540 lines checked
Signed-off-by: Uri Arev <me@wantyapps.xyz>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2024-04-06 00:42:24 +03:00
|
|
|
|
2011-10-29 21:52:49 +04:00
|
|
|
|
|
|
|
|
|
Bluetooth: ath3k: Fix multiple issues reported by checkpatch.pl
This fixes some CHECKs reported by the checkpatch script.
Issues reported in ath3k.c:
-------
ath3k.c
-------
CHECK: Please don't use multiple blank lines
+
+
CHECK: Blank lines aren't necessary after an open brace '{'
+static const struct usb_device_id ath3k_blist_tbl[] = {
+
CHECK: Alignment should match open parenthesis
+static int ath3k_load_firmware(struct usb_device *udev,
+ const struct firmware *firmware)
CHECK: Alignment should match open parenthesis
+ err = usb_bulk_msg(udev, pipe, send_buf, size,
+ &len, 3000);
CHECK: Unnecessary parentheses around 'len != size'
+ if (err || (len != size)) {
CHECK: Alignment should match open parenthesis
+static int ath3k_get_version(struct usb_device *udev,
+ struct ath3k_version *version)
CHECK: Alignment should match open parenthesis
+static int ath3k_load_fwfile(struct usb_device *udev,
+ const struct firmware *firmware)
CHECK: Alignment should match open parenthesis
+ err = usb_bulk_msg(udev, pipe, send_buf, size,
+ &len, 3000);
CHECK: Unnecessary parentheses around 'len != size'
+ if (err || (len != size)) {
CHECK: Blank lines aren't necessary after an open brace '{'
+ switch (fw_version.ref_clock) {
+
CHECK: Alignment should match open parenthesis
+ snprintf(filename, ATH3K_NAME_LEN, "ar3k/ramps_0x%08x_%d%s",
+ le32_to_cpu(fw_version.rom_version), clk_value, ".dfu");
CHECK: Alignment should match open parenthesis
+static int ath3k_probe(struct usb_interface *intf,
+ const struct usb_device_id *id)
CHECK: Alignment should match open parenthesis
+ BT_ERR("Firmware file \"%s\" not found",
+ ATH3K_FIRMWARE);
CHECK: Alignment should match open parenthesis
+ BT_ERR("Firmware file \"%s\" request failed (err=%d)",
+ ATH3K_FIRMWARE, ret);
total: 0 errors, 0 warnings, 14 checks, 540 lines checked
Signed-off-by: Uri Arev <me@wantyapps.xyz>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2024-04-06 00:42:24 +03:00
|
|
|
|
2011-10-29 21:52:49 +04:00
|
|
|
|
2010-01-06 19:04:15 +05:30
|
|
|
|
|
|
|
|
|
2011-02-03 01:42:05 -02:00
|
|
|
|
2010-11-22 21:09:01 +01:00
|
|
|
|
2010-01-06 19:04:15 +05:30
|
|
|
|
2011-02-03 01:42:05 -02:00
|
|
|
|
2010-01-06 19:04:15 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-02-05 00:09:47 +03:00
|
|
|
|
2010-01-06 19:04:15 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-04-23 10:08:51 -07:00
|
|
|
|
2010-01-06 19:04:15 +05:30
|
|
|
|
|
|
|
|
|
2011-11-18 09:47:34 -08:00
|
|
|
|
2010-01-06 19:04:15 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-10-29 21:52:49 +04:00
|
|
|
|