From patchwork Sat Feb 3 17:42:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SF Markus Elfring X-Patchwork-Id: 10198639 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1CB23603ED for ; Sat, 3 Feb 2018 17:43:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2BCFA28F7B for ; Sat, 3 Feb 2018 17:43:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1FE4E28FE3; Sat, 3 Feb 2018 17:43:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B105928F7B for ; Sat, 3 Feb 2018 17:43:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752726AbeBCRnB (ORCPT ); Sat, 3 Feb 2018 12:43:01 -0500 Received: from mout.web.de ([217.72.192.78]:60849 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752235AbeBCRm7 (ORCPT ); Sat, 3 Feb 2018 12:42:59 -0500 Received: from [192.168.1.2] ([77.181.226.140]) by smtp.web.de (mrweb103 [213.165.67.124]) with ESMTPSA (Nemesis) id 0MeSGJ-1eNKJn37YV-00QCWD; Sat, 03 Feb 2018 18:42:52 +0100 Subject: [PATCH 6/6] hid-prodikeys: Rename a jump label in pcmidi_send_note() From: SF Markus Elfring To: linux-input@vger.kernel.org, Benjamin Tissoires , Jiri Kosina Cc: LKML , kernel-janitors@vger.kernel.org References: Message-ID: <5f63f181-2b5a-911e-996c-6918e277a484@users.sourceforge.net> Date: Sat, 3 Feb 2018 18:42:51 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-Provags-ID: V03:K0:xqPugCZO7uztNew5uRXTUQ46GItwYLBAkinr5geUKa2xrFPKKz+ QierHVaag0hEJ8hg1mBzaHjDpNBoYM95QihnZZ53V0lGJzoG0toKJbzuVZwtKBxWU/5EGNI +FoGu+jQoSpGTL3N0D86jka1Sm5tIxXTJT+Psd19qzbZ94ZAACqaO26yPS7ZmC8kJFsi9bk LsriY+7yj35lBuNn5Q5cw== X-UI-Out-Filterresults: notjunk:1; V01:K0:FOmC49ZgBNk=:BVWKz5toQHowaWcPotVQ1S NGA0/qETPFqDTYKZE9nWSOeyDYtVsTVj+4nKmSNeg/ZmTzd6s5SGdf2UaaTvId0TeV3Ke//uv 71RzSOJOCOE3h91ZgdYwz1+w/zfNpBSWxhnelExIABanhIjZzB2khNAEFFq37HcTFSCPCc93L 6NyOf49iKypjvT80uU8bSyKFN8r+GWuMTpAgDTEgaIsZTOVUpWesiLJxvQUynP4dreWoh1o4e mmNsrFWAgHb/lBgkcRqtGdXy9XXZfhkQmkyxoLO6q7VYMFSdA9Eze+v7aIxTCu/fZUCH4PnsE SJtj4KP8M7YpBhrjJtN8QZK8G2DrMU8sIvX/fOYWnyzPyIxk0AvNUZ8tpNZoKYff3UK694nLE DUOA1DIFn4IxENM5O3cg3SKFSDD8rZSHxBOUh6CPKa6DEuF9BG1UUEfUsXJ4+CE1H2CaPXWmI XCGVM9ho3qeq9Zi5bQAH9T1UeO0FdAEOoGmEy8wLgUB+Hz/bM8opaguXZQvPs6Na+D6b/OBI/ l3yeMR4iUS6lyT62ZBI+seYMOJQyd2pwNz6BKlmZblmfW+RIGWNNvvpCMkHeZoWKFRXE/LLr3 eCbuoM6ERhTMBKHjIyxryrFpEW1w4JApF93YGigwr0eQ+mt/QS4DHnd2MZYcTLfpjaT9v5nzF qUHOKEeB/yliMAIevDa7WCvMp66VQx+5u5B5QY2crJGpcQpxwb+UYjPsWTJ3oN4odUdtg4X4q Y4YEB77ZJTqyomah/8qV/Qm+t3SE8olrjkjZn3uzs5k0JxjXX3txLB8aLqrrQrFprRDB6ka/I vRDmPQb1oVXnfL1IaqXnHRHRQOjkYvjeBX5wYUyltiSvA13lm0= Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Markus Elfring Date: Sat, 3 Feb 2018 18:10:00 +0100 An other label fits better to the jump target. Thus rename it. Signed-off-by: Markus Elfring --- drivers/hid/hid-prodikeys.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/hid/hid-prodikeys.c b/drivers/hid/hid-prodikeys.c index 1c62dddedd40..4596d97b61eb 100644 --- a/drivers/hid/hid-prodikeys.c +++ b/drivers/hid/hid-prodikeys.c @@ -228,11 +228,11 @@ static void pcmidi_send_note(struct pcmidi_snd *pm, if (!pm->in_substream || !test_bit(pm->in_substream->number, &pm->in_triggered)) - goto drop_note; + goto unlock; snd_rawmidi_receive(pm->in_substream, buffer, 3); -drop_note: +unlock: spin_unlock_irqrestore(&pm->rawmidi_in_lock, flags); }