From patchwork Mon Feb 13 19:12:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abhijit Naik X-Patchwork-Id: 9570701 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 4BFAD60572 for ; Mon, 13 Feb 2017 19:15:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3D7AA27EED for ; Mon, 13 Feb 2017 19:15:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3174127F4B; Mon, 13 Feb 2017 19:15:59 +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=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C80C827EED for ; Mon, 13 Feb 2017 19:15:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=0lF9nCCTfxvbbeYhYcWJUhcHEHvagSxfJ/8SHP7RfxE=; b=lw3 bg53kq5Bbsf2l2IT4xdtCwirGKbbY9DtAn8UvKZe7W5h3ixaS67VPXOaLc8KU+a74k6DyEl+ayStM 3RDpZpVG3wth0CUlkI5hIEsf+V+/NEXN/0WmL+FmnYTuzGc1LMIqjsxwlPjoXG7JcOGkELGh4dytI gxgPhaiAVZxlPBPRRNK5vSHEoUubBRfSJpdc7Kp6UYs+0oTLF/syQiISYtLG7GkJ9sVxZjXKZetCO xdURzkbcdqbrfK1sYCUXNOps9DHfV4BXxQRpNRPn0Tv+aQX8F4ecJo4HZZkPMk0uiuahdifLY8U5n PFdyxUeMfGanWlbqTl6gm6Yu4kl33Ag==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cdM6L-0006GG-R8; Mon, 13 Feb 2017 19:15:53 +0000 Received: from mail-oi0-x241.google.com ([2607:f8b0:4003:c06::241]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cdM6G-0006Ea-V2 for linux-arm-kernel@lists.infradead.org; Mon, 13 Feb 2017 19:15:51 +0000 Received: by mail-oi0-x241.google.com with SMTP id x84so396328oix.2 for ; Mon, 13 Feb 2017 11:15:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=ccUafyypRL8AlaTLij7xnxMM1S3hQ1syF+DZVeB5cII=; b=u9A/rRE3dKyP8vu++noFAfsXZAgsJahrhgOGdidVn+0c765uyMzpVfAF8VnIz9qptW F62oZ09lRRY//+n+LQGmnX45SQnaNdxNczcsj+6X4UI3s0i3yFQBFsXFtpu3nX0qkS7M LelrRZaFe4RCdA60SyotEI7p672aOIzyvTEXUdNtb2w6iJ40fqeFWqCBUCBhLT8Ghagm 1+9FAIQrwiLycU8Ea2AlprNMrOo4rXu6PxDlUAULG9OPCUh5eXBFtXuSZFtayOFdESGg 3pxwo1WZi1PKxbpQBjRv9bnDyqqrASERTZtE501UaP2evuFln5qjFq9lN4+vad5IiqPW hYpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ccUafyypRL8AlaTLij7xnxMM1S3hQ1syF+DZVeB5cII=; b=IVaHu01Jhso5PyJ1bqZEDqI5BROc0J4DJH7INyAVCJzr2ps6zjYUfzrdAutLLy1zb6 Ic+iql1drgIE/x6j+1cET8VJxdc0H2nzIhhLsBjgcdU5pvP5qGdvGUZhNp03EbU/Ag5F ZC5nd0DKTSAsY/qrOk0Fpcu4Vx1ludQ5QiBiuqzT3rTq05x7bzwmUrSDy99aEVhq0oNF DK0DFJAszyNGIdhqH+LnhLjBACUQhMKwzk51cD7ArkQJMp3XChcoMoJUddNHrWk0ZQ2X Q5LDXZX1QIa0z21ccJbAY65sCNKERB7Tztvx5USqEPyfSSpa9dk1NE0Q+kpitQNTt47P E0Jw== X-Gm-Message-State: AMke39lBrgW0U+aLTgoljthJX1Djm2CDaMugGAGFjCOqPXwXE73/GgwIR66eJ04mo4b4qQ== X-Received: by 10.84.241.66 with SMTP id u2mr31913819plm.107.1487013324701; Mon, 13 Feb 2017 11:15:24 -0800 (PST) Received: from localhost.localdomain ([116.202.102.123]) by smtp.googlemail.com with ESMTPSA id m15sm16094858pfk.104.2017.02.13.11.15.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 13 Feb 2017 11:15:24 -0800 (PST) From: Abhijit Naik To: gregkh@linuxfoundation.org Subject: [PATCH 1/2] staging: bcm2835-audio: Removed error due to trailing statement Date: Tue, 14 Feb 2017 00:42:16 +0530 Message-Id: <20170213191217.5201-1-abhijitnaik27@gmail.com> X-Mailer: git-send-email 2.11.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170213_111549_054948_CBBC8C49 X-CRM114-Status: UNSURE ( 9.34 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: rjui@broadcom.com, Abhijit Naik , bcm-kernel-feedback-list@broadcom.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP bcm2835-vchiq.c: fixing ERROR: trailing statements should be on next line Print statement that was on the same line as else statement has been enclosed within braces and moved to the next line. Signed-off-by: Abhijit Naik --- drivers/staging/bcm2835-audio/bcm2835-vchiq.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.11.0 diff --git a/drivers/staging/bcm2835-audio/bcm2835-vchiq.c b/drivers/staging/bcm2835-audio/bcm2835-vchiq.c index c52ac2753898..d11f2cdd1014 100644 --- a/drivers/staging/bcm2835-audio/bcm2835-vchiq.c +++ b/drivers/staging/bcm2835-audio/bcm2835-vchiq.c @@ -563,7 +563,9 @@ int bcm2835_audio_set_ctls(struct bcm2835_chip *chip) } else if (bcm2835_audio_set_ctls_chan(chip->alsa_stream[i], chip) != 0) { LOG_ERR("Couldn't set the controls for stream %d\n", i); ret = -1; - } else LOG_DBG(" Controls set for stream %d\n", i); + } else { + LOG_DBG(" Controls set for stream %d\n", i); + } } } LOG_DBG(" .. OUT ret=%d\n", ret);