From patchwork Wed Oct 7 15:52:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Shtylyov X-Patchwork-Id: 11820879 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0EB8F618 for ; Wed, 7 Oct 2020 15:58:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EA44020789 for ; Wed, 7 Oct 2020 15:58:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728900AbgJGP6w (ORCPT ); Wed, 7 Oct 2020 11:58:52 -0400 Received: from mxout03.lancloud.ru ([89.108.73.187]:38716 "EHLO mxout03.lancloud.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728901AbgJGP6v (ORCPT ); Wed, 7 Oct 2020 11:58:51 -0400 X-Greylist: delayed 371 seconds by postgrey-1.27 at vger.kernel.org; Wed, 07 Oct 2020 11:58:49 EDT Received: from LanCloud DKIM-Filter: OpenDKIM Filter v2.11.0 mxout03.lancloud.ru 37C98206E809 Received: from LanCloud Received: from LanCloud Received: from LanCloud From: Sergey Shtylyov Subject: [PATCH 0/2] bluetooth: hci_event: make coding style more consistent To: Marcel Holtmann , Johan Hedberg , CC: "David S. Miller" , Jakub Kicinski , Organization: Open Mobile Platform, LLC Message-ID: Date: Wed, 7 Oct 2020 18:52:35 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 Content-Language: en-US X-Originating-IP: [213.87.153.155] X-ClientProxiedBy: LFEXT01.lancloud.ru (fd00:f066::141) To LFEX1908.lancloud.ru (fd00:f066::208) Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Here are 2 patches against the 'bluetooth-next,git' repo. Mainly, I'm reducing the indentation levels in the HCI driver, mostly by using *goto* in the error paths in the functions where this hasn't been done -- this makes the coding style more consistent across the HCI driver... [1/2] bluetooth: hci_event: consolidate error paths in hci_phy_link_complete_evt() [2/2] bluetooth: hci_event: reduce indentation levels