summaryrefslogtreecommitdiff
path: root/include/xen/platform_pci.h
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2017-01-30 16:09:51 +0100
committerKalle Valo <kvalo@codeaurora.org>2017-02-02 08:14:25 +0200
commitf4737a62033d7f3e0db740c449fc62119da7ab8a (patch)
tree70ec1b8120d4d2941d814589ec038db26b272560 /include/xen/platform_pci.h
parent62e13097c46c69dbd7544ab2cd585ccf48f360a4 (diff)
brcmfmac: check brcmf_bus_get_memdump result for error
This method may be unsupported (see: USB bus) or may just fail (see: SDIO bus). While at it rework logic in brcmf_sdio_bus_get_memdump function to avoid too many conditional code nesting levels. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'include/xen/platform_pci.h')
0 files changed, 0 insertions, 0 deletions
es the new cgroup_subsys_state visible, which they're allowed to after onlining, it can lead to NULL dereference. The current code performs cgroup creation and subsystem onlining in cgroup_create() and cgroup_mkdir() makes the cgroup and subsystems visible afterwards. There's no reason to online the subsystems early and we can simply drop cgroup_apply_control_enable() call from cgroup_create() so that the subsystems are onlined and made visible at the same time. Signed-off-by: Tejun Heo <tj@kernel.org> Reported-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru> Fixes: a5bca2152036 ("cgroup: factor out cgroup_create() out of cgroup_mkdir()") Cc: stable@vger.kernel.org # v4.6+
Diffstat (limited to 'net/bluetooth/rfcomm/sock.c')