Linux-Next Archive on lore.kernel.org
 help / color / Atom feed
* linux-next: build warning after merge of the bluetooth tree
@ 2019-11-22  0:07 Stephen Rothwell
  0 siblings, 0 replies; 4+ messages in thread
From: Stephen Rothwell @ 2019-11-22  0:07 UTC (permalink / raw)
  To: Marcel Holtmann, Johan Hedberg
  Cc: Linux Next Mailing List, Linux Kernel Mailing List

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

Hi all,

After merging the bluetooth tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:

net/bluetooth/hci_core.c: In function 'hci_dev_do_open':
net/bluetooth/hci_core.c:1447:8: warning: 'invalid_bdaddr' may be used uninitialized in this function [-Wmaybe-uninitialized]
 1447 |   bool invalid_bdaddr;
      |        ^~~~~~~~~~~~~~

Introduced by commit

  cadbc2f459be ("Bluetooth: Move error check into the right if-clause")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* linux-next: build warning after merge of the bluetooth tree
@ 2019-03-17 23:30 Stephen Rothwell
  0 siblings, 0 replies; 4+ messages in thread
From: Stephen Rothwell @ 2019-03-17 23:30 UTC (permalink / raw)
  To: Marcel Holtmann, Johan Hedberg
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Sean Wang

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

Hi all,

After merging the bluetooth tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

drivers/bluetooth/btmtksdio.c: In function 'btmtksdio_interrupt':
drivers/bluetooth/btmtksdio.c:470:2: warning: 'old_len' may be used uninitialized in this function [-Wmaybe-uninitialized]
  print_hex_dump(KERN_ERR, "err sdio rx: ", DUMP_PREFIX_NONE, 4, 1,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          old_data, old_len, true);
          ~~~~~~~~~~~~~~~~~~~~~~~~
drivers/bluetooth/btmtksdio.c:376:15: note: 'old_len' was declared here
  unsigned int old_len;
               ^~~~~~~
drivers/bluetooth/btmtksdio.c:470:2: warning: 'old_data' may be used uninitialized in this function [-Wmaybe-uninitialized]
  print_hex_dump(KERN_ERR, "err sdio rx: ", DUMP_PREFIX_NONE, 4, 1,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          old_data, old_len, true);
          ~~~~~~~~~~~~~~~~~~~~~~~~
drivers/bluetooth/btmtksdio.c:375:17: note: 'old_data' was declared here
  unsigned char *old_data;
                 ^~~~~~~~

Introduced by commit

  d74eef2834b5 ("Bluetooth: mediatek: add support for MediaTek MT7663S and MT7668S SDIO")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build warning after merge of the bluetooth tree
  2017-11-14  0:56 Stephen Rothwell
@ 2017-11-14  9:00 ` Hans de Goede
  0 siblings, 0 replies; 4+ messages in thread
From: Hans de Goede @ 2017-11-14  9:00 UTC (permalink / raw)
  To: Stephen Rothwell, Marcel Holtmann, Johan Hedberg
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List

Hi,

On 14-11-17 01:56, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the bluetooth tree, today's linux-next build (arm
> multi_v7_defconfig) produced this warning:
> 
> drivers/bluetooth/Kconfig:35:warning: multi-line strings not supported
> 
> Introduced by commit
> 
>    86be3c232877 ("Bluetooth: btusb: Add a Kconfig option to enable USB autosuspend by default")
> 
> There is a missing close double quote ...

Ugh, sorry about that, a patch (on top of the original) fixing this
is coming up right away.

Regards,

Hans

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

* linux-next: build warning after merge of the bluetooth tree
@ 2017-11-14  0:56 Stephen Rothwell
  2017-11-14  9:00 ` Hans de Goede
  0 siblings, 1 reply; 4+ messages in thread
From: Stephen Rothwell @ 2017-11-14  0:56 UTC (permalink / raw)
  To: Marcel Holtmann, Johan Hedberg
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Hans de Goede

Hi all,

After merging the bluetooth tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:

drivers/bluetooth/Kconfig:35:warning: multi-line strings not supported

Introduced by commit

  86be3c232877 ("Bluetooth: btusb: Add a Kconfig option to enable USB autosuspend by default")

There is a missing close double quote ...

-- 
Cheers,
Stephen Rothwell

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

end of thread, back to index

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-22  0:07 linux-next: build warning after merge of the bluetooth tree Stephen Rothwell
  -- strict thread matches above, loose matches on Subject: below --
2019-03-17 23:30 Stephen Rothwell
2017-11-14  0:56 Stephen Rothwell
2017-11-14  9:00 ` Hans de Goede

Linux-Next Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-next/0 linux-next/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-next linux-next/ https://lore.kernel.org/linux-next \
		linux-next@vger.kernel.org
	public-inbox-index linux-next

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-next


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git