All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Bluetooth: btintel: fix btintel_download_firmware stub signature
@ 2022-03-31 17:49 trix
  2022-03-31 19:11 ` bluez.test.bot
  2022-04-01 17:22 ` [PATCH] " Marcel Holtmann
  0 siblings, 2 replies; 4+ messages in thread
From: trix @ 2022-03-31 17:49 UTC (permalink / raw)
  To: marcel, johan.hedberg, luiz.dentz; +Cc: linux-bluetooth, linux-kernel, Tom Rix

From: Tom Rix <trix@redhat.com>

cppcheck returns this warning
btintel.c:1059]: (warning) Function 'btintel_download_firmware'
  argument order different: declaration
  'dev, fw, boot_param, ' definition 'hdev, ver, fw, boot_param'

By inspection, the stub version is missing
'struct intel_version *ver', so add it.

Fixes: ac0565462e33 ("Bluetooth: btintel: Check firmware version before download")
Signed-off-by: Tom Rix <trix@redhat.com>
---
 drivers/bluetooth/btintel.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/bluetooth/btintel.h b/drivers/bluetooth/btintel.h
index e0060e58573c..66902866a5c1 100644
--- a/drivers/bluetooth/btintel.h
+++ b/drivers/bluetooth/btintel.h
@@ -281,6 +281,7 @@ static inline int btintel_read_boot_params(struct hci_dev *hdev,
 }
 
 static inline int btintel_download_firmware(struct hci_dev *dev,
+					    struct intel_version *ver,
 					    const struct firmware *fw,
 					    u32 *boot_param)
 {
-- 
2.26.3


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* RE: Bluetooth: btintel: fix btintel_download_firmware stub signature
  2022-03-31 17:49 [PATCH] Bluetooth: btintel: fix btintel_download_firmware stub signature trix
@ 2022-03-31 19:11 ` bluez.test.bot
  2022-04-01 17:22 ` [PATCH] " Marcel Holtmann
  1 sibling, 0 replies; 4+ messages in thread
From: bluez.test.bot @ 2022-03-31 19:11 UTC (permalink / raw)
  To: linux-bluetooth, trix

[-- Attachment #1: Type: text/plain, Size: 1097 bytes --]

This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=627929

---Test result---

Test Summary:
CheckPatch                    PASS      1.67 seconds
GitLint                       PASS      1.05 seconds
SubjectPrefix                 PASS      0.85 seconds
BuildKernel                   PASS      37.40 seconds
BuildKernel32                 PASS      33.34 seconds
Incremental Build with patchesPASS      44.96 seconds
TestRunner: Setup             PASS      553.75 seconds
TestRunner: l2cap-tester      PASS      17.89 seconds
TestRunner: bnep-tester       PASS      7.27 seconds
TestRunner: mgmt-tester       PASS      116.35 seconds
TestRunner: rfcomm-tester     PASS      9.48 seconds
TestRunner: sco-tester        PASS      9.23 seconds
TestRunner: smp-tester        PASS      8.94 seconds
TestRunner: userchan-tester   PASS      7.59 seconds



---
Regards,
Linux Bluetooth


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Bluetooth: btintel: fix btintel_download_firmware stub signature
  2022-03-31 17:49 [PATCH] Bluetooth: btintel: fix btintel_download_firmware stub signature trix
  2022-03-31 19:11 ` bluez.test.bot
@ 2022-04-01 17:22 ` Marcel Holtmann
  2022-04-01 17:33   ` Tom Rix
  1 sibling, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2022-04-01 17:22 UTC (permalink / raw)
  To: trix; +Cc: Johan Hedberg, Luiz Augusto von Dentz, BlueZ, linux-kernel

Hi Tom,

> On Mar 31, 2022, at 19:49, trix@redhat.com wrote:
> 
> <Mail Attachment>

please fix your email client to send this properly inline. Or use git-send-email.

Regards

Marcel


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Bluetooth: btintel: fix btintel_download_firmware stub signature
  2022-04-01 17:22 ` [PATCH] " Marcel Holtmann
@ 2022-04-01 17:33   ` Tom Rix
  0 siblings, 0 replies; 4+ messages in thread
From: Tom Rix @ 2022-04-01 17:33 UTC (permalink / raw)
  To: Marcel Holtmann
  Cc: Johan Hedberg, Luiz Augusto von Dentz, BlueZ, linux-kernel


On 4/1/22 10:22 AM, Marcel Holtmann wrote:
> Hi Tom,
>
>> On Mar 31, 2022, at 19:49, trix@redhat.com wrote:
>>
>> <Mail Attachment>
> please fix your email client to send this properly inline. Or use git-send-email.

I did use git-send-email.

I am not sure what the problem is.

Tom

>
> Regards
>
> Marcel
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-04-01 17:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-31 17:49 [PATCH] Bluetooth: btintel: fix btintel_download_firmware stub signature trix
2022-03-31 19:11 ` bluez.test.bot
2022-04-01 17:22 ` [PATCH] " Marcel Holtmann
2022-04-01 17:33   ` Tom Rix

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.