[bluez/bluez] d8febc: client/player: Fix checkpatch warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  Branch: refs/heads/master
  Home:   https://github.com/bluez/bluez
  Commit: d8febc76a43fa104457d8167379787949fff8f89
      https://github.com/bluez/bluez/commit/d8febc76a43fa104457d8167379787949fff8f89
  Author: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
  Date:   2022-08-30 (Tue, 30 Aug 2022)

  Changed paths:
    M client/player.c

  Log Message:
  -----------
  client/player: Fix checkpatch warning

This fixes the following checkpatch warning:

WARNING:LINE_SPACING: Missing a blank line after declarations
216: FILE: client/player.c:625:
+               GDBusProxy *proxy = l->data;
+               print_player(proxy, NULL);


  Commit: f8c3a38e4fe943eaed677a295663426cb7241e0e
      https://github.com/bluez/bluez/commit/f8c3a38e4fe943eaed677a295663426cb7241e0e
  Author: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
  Date:   2022-08-30 (Tue, 30 Aug 2022)

  Changed paths:
    M src/shared/shell.c

  Log Message:
  -----------
  shared/shell: Fix scan-build error

This fixes the following error:

src/shared/shell.c:1135:19: warning: Null pointer passed to 1st
parameter expecting 'nonnull'
                        data.timeout = atoi(optarg);
                                       ^~~~~~~~~~~~


  Commit: a84aa0e6e5e7cd94804386eaf09d430d1cf8e692
      https://github.com/bluez/bluez/commit/a84aa0e6e5e7cd94804386eaf09d430d1cf8e692
  Author: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
  Date:   2022-08-30 (Tue, 30 Aug 2022)

  Changed paths:
    M profiles/audio/media.c

  Log Message:
  -----------
  media: Fix registering PAC endpoints if ISO socket are not supported

If adapter don't support ISO sockets the PAC UUIDs shall not be allowed
to be registered as they depend on ISO sockets to work properly.


  Commit: 49b8c5901584eab77af40f8ad19779747b4506d6
      https://github.com/bluez/bluez/commit/49b8c5901584eab77af40f8ad19779747b4506d6
  Author: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
  Date:   2022-08-31 (Wed, 31 Aug 2022)

  Changed paths:
    M profiles/audio/media.c

  Log Message:
  -----------
  media: Fix scan-build warnings

This fixes the following warnings:

profiles/audio/media.c:1465:6: warning: 8th function call argument
is an uninitialized value
        if (media_endpoint_create(adapter, sender, path, uuid, delay_reporting,
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
profiles/audio/media.c:3012:3: warning: Use of memory after it is freed
                release_endpoint(adapter->endpoints->data);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
profiles/audio/media.c:3015:3: warning: Use of memory after it is freed
                media_player_destroy(adapter->players->data);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Compare: https://github.com/bluez/bluez/compare/d04b64003d9d...49b8c5901584



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux