Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp2137197iob; Fri, 20 May 2022 02:55:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqaH+uuwCdATUoXWSGkbuNElQzootEr2mlSNjBlYBzJC9ZqbisHlkGOmSXc4BOcadIl0hN X-Received: by 2002:aa7:d488:0:b0:42a:b7be:893b with SMTP id b8-20020aa7d488000000b0042ab7be893bmr9789582edr.399.1653040553666; Fri, 20 May 2022 02:55:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653040553; cv=none; d=google.com; s=arc-20160816; b=TntuZGJHYCaCh6Pa1Mekp7hsFQOx/aFpwUCJYlBKz9qGm3WQOpl38J/8DVKlCwqiSq 1JMpvyUkzW7WOIfGH0Y58AIwPeHiZeiDP+A1oDaBi6wRo+8oPZV9G+gCZPWWg7xIBCV+ KZHb0y2+WPFKjwPo4qxTPponyWesUwIua/jHbXhYxVNNAPeS/20BxP4AamCtJe6psTZq Dns+uPQzxHj2vb54/gGSOO2LcURuIlf/QyZ8dk8Zjni/cBn/pizjW2jsg4oJZRjO+tcn Q9pohNrVmnhjYlXcjQ0b0q47B8lwmrdyKiuNb5AOFj17/dNDuvQK2cf/FrAUvaYinm3C CrDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=kwne7J7S4Ey6HqLQS+bfi7ZCyqzy4/o4xahjal+KNrA=; b=TSVkNlLU10olTZaNgWHjdlFYsC1LKbp0obdal9/JMHxKKGLh2IbmagV/lR8mJIvKBU LIehBU+txaZZF7W3PFbivqppN2LRJNdBaQWEBR3wuo3iu7PtAHA+mPfV6h53o39UTTQ+ z0JG/xScVabqW4jA9yIdvKTR+kiGoI/PfYSiQvQUjl1TF3hC+nmUR8TOy9Vt1yfjJ3Iz zmjxdxYj5p3l/2AOhbxx0oh31HffhdrC7Xkav/MbjLTHiehiNvY47jUm0TYf4a/eM3vT Hg7TpticjXT9NyhniDgnl2JvXlWVM/GJSngyBTnyJ89tainuZGu8F+0pdUAajX+k/MMD oOuA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hp29-20020a1709073e1d00b006e87b7b8461si9662957ejc.60.2022.05.20.02.55.27; Fri, 20 May 2022 02:55:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231372AbiETEHC (ORCPT + 99 others); Fri, 20 May 2022 00:07:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229537AbiETEHA (ORCPT ); Fri, 20 May 2022 00:07:00 -0400 Received: from out30-132.freemail.mail.aliyun.com (out30-132.freemail.mail.aliyun.com [115.124.30.132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 067E962A0A; Thu, 19 May 2022 21:06:56 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R181e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=alimailimapcm10staff010182156082;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_---0VDowqRk_1653019609; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VDowqRk_1653019609) by smtp.aliyun-inc.com(127.0.0.1); Fri, 20 May 2022 12:06:54 +0800 From: Jiapeng Chong To: davem@davemloft.net Cc: yoshfuji@linux-ipv6.org, dsahern@kernel.org, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH] usb: gadget: u_audio: clean up some inconsistent indenting Date: Fri, 20 May 2022 12:06:48 +0800 Message-Id: <20220520040648.75468-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Eliminate the follow smatch warning: drivers/usb/gadget/function/u_audio.c:1005 g_audio_setup() warn: inconsistent indenting. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/usb/gadget/function/u_audio.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/usb/gadget/function/u_audio.c b/drivers/usb/gadget/function/u_audio.c index 4561d7a183ff..a84f051cfbf5 100644 --- a/drivers/usb/gadget/function/u_audio.c +++ b/drivers/usb/gadget/function/u_audio.c @@ -1001,9 +1001,8 @@ int g_audio_setup(struct g_audio *g_audio, const char *pcm_name, if (c_chmask) { struct uac_rtd_params *prm = &uac->c_prm; - - spin_lock_init(&prm->lock); - uac->c_prm.uac = uac; + spin_lock_init(&prm->lock); + uac->c_prm.uac = uac; prm->max_psize = g_audio->out_ep_maxpsize; prm->reqs = kcalloc(params->req_number, -- 2.20.1.7.g153144c