From patchwork Thu Jun 20 19:29:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Saiyam Doshi X-Patchwork-Id: 11007827 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 66D8013AF for ; Thu, 20 Jun 2019 19:29:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5728F28841 for ; Thu, 20 Jun 2019 19:29:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4B5E728856; Thu, 20 Jun 2019 19:29:54 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,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 3FD8E28841 for ; Thu, 20 Jun 2019 19:29:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726245AbfFTT3w (ORCPT ); Thu, 20 Jun 2019 15:29:52 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:46092 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726169AbfFTT3w (ORCPT ); Thu, 20 Jun 2019 15:29:52 -0400 Received: by mail-pg1-f193.google.com with SMTP id v9so2066575pgr.13 for ; Thu, 20 Jun 2019 12:29:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=j7d2QvcT/8eBbi8nBlEvZHaNIzBtkV4pzC2LXBZdiaw=; b=KQbdA+N4tUMikejyDIercfMIwNrKpgJVfbcS+M3DhvwX0pVh3Gp3vwlajSzs3Txixj 1WEZwzBfG9CEB0yl2XIJKjuO6LI99wCjpi/cBg4rvAuPnpoNIARDAcGCp8/Nax1IpDcS hR/kB11olXk1HJhu8cwrMRh1H/z2rrOERQJJ+osy9pZbCi0ge7Oq9LoS7ctasbVH//kL MhJDba+yaRPowKzfKsrGfgzTxUglvCI6kwtgNG6k+crQFEHVzZomr6RVY4PqBJrmKk+W fZPRezrMQcdL5BitDAe972AsIuSQKBKVOsgNbF41qMpAjc0Xgggk7mzesKHe9ZSehjXc RZ+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=j7d2QvcT/8eBbi8nBlEvZHaNIzBtkV4pzC2LXBZdiaw=; b=e0248gEnB8xRDqbLu6i36tTA7Dbae3REIde/hTZP1p12Eqv3u3Uhf1+IrZCV95mCXu xb2X/66jiqL0LmDt8ZegNk16RboPN1RWaxjhVe9NSrdXpz29dtvIwb5mxbDIvGOhJhmL NqnnENbEt2rKPTjNigIfm5W5eIURat/Tkt7CmaNNsQscsR1vIfKJfXcyO3peQ530zrKS obSk77KTCZ7AY30oVEJLvlQhMWUyUAUp9t1I883jm+lVsApoweWqa87gOuqwH4K05hks a3QxAP6htzEtBDbJrhUpUzKuAVrA+fYgMOeuD3MnTrl1WTQwhqOdcf3lXsQs3OQiuTtB 2D6A== X-Gm-Message-State: APjAAAU+/fVg4LNnXvLavG6caBUg0s4ftqDAMLRfs981/RetuCXnMk4C LLaGMrJ5taXmTqkXWmke5Sw= X-Google-Smtp-Source: APXvYqxPxPdYwWjEbgiqsp60jXuqvuBjRk9K9JM2KR005s2UYFu5rMbkZ4xi0vud3DX7A7m2GJsTeg== X-Received: by 2002:a17:90a:aa0d:: with SMTP id k13mr1214674pjq.53.1561058991983; Thu, 20 Jun 2019 12:29:51 -0700 (PDT) Received: from ahmlpt0706 ([2405:204:848a:2221:8df3:86b:64f5:962f]) by smtp.gmail.com with ESMTPSA id q1sm261021pfn.178.2019.06.20.12.29.50 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 20 Jun 2019 12:29:51 -0700 (PDT) Date: Fri, 21 Jun 2019 00:59:40 +0530 From: Saiyam Doshi To: agross@kernel.org Cc: linux-arm-msm@vger.kernel.org Subject: [PATCH 1/2] drivers: firmware: qcom: fix line over 80 characters Message-ID: <20190620192940.GA16646@ahmlpt0706> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch fixes below checkpatch warning. "WARNING: line over 80 characters" Signed-off-by: Saiyam Doshi --- drivers/firmware/qcom_scm-64.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/firmware/qcom_scm-64.c b/drivers/firmware/qcom_scm-64.c index 91d5ad7cf58b..986aa3184fd9 100644 --- a/drivers/firmware/qcom_scm-64.c +++ b/drivers/firmware/qcom_scm-64.c @@ -39,7 +39,8 @@ enum qcom_scm_arg_types { (((j) & 0x3) << 22) | \ ((num) & 0xf)) -#define QCOM_SCM_ARGS(...) QCOM_SCM_ARGS_IMPL(__VA_ARGS__, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) +#define QCOM_SCM_ARGS(...) QCOM_SCM_ARGS_IMPL(__VA_ARGS__, 0, 0, 0, 0, 0, \ + 0, 0, 0, 0, 0) /** * struct qcom_scm_desc @@ -352,8 +353,8 @@ int __qcom_scm_pas_mss_reset(struct device *dev, bool reset) desc.args[1] = 0; desc.arginfo = QCOM_SCM_ARGS(2); - ret = qcom_scm_call(dev, QCOM_SCM_SVC_PIL, QCOM_SCM_PAS_MSS_RESET, &desc, - &res); + ret = qcom_scm_call(dev, QCOM_SCM_SVC_PIL, QCOM_SCM_PAS_MSS_RESET, + &desc, &res); return ret ? : res.a1; } From patchwork Thu Jun 20 19:35:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Saiyam Doshi X-Patchwork-Id: 11007829 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9C3F776 for ; Thu, 20 Jun 2019 19:35:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 89C4728682 for ; Thu, 20 Jun 2019 19:35:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7A933286A0; Thu, 20 Jun 2019 19:35:40 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,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 1EFD928682 for ; Thu, 20 Jun 2019 19:35:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726290AbfFTTfj (ORCPT ); Thu, 20 Jun 2019 15:35:39 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:39253 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726231AbfFTTfj (ORCPT ); Thu, 20 Jun 2019 15:35:39 -0400 Received: by mail-pg1-f194.google.com with SMTP id 196so2095730pgc.6 for ; Thu, 20 Jun 2019 12:35:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=TmvH/uHwXYBXc2lnG1r8dsP3FGwS5Da/mZ27gikZaVQ=; b=sz/jWKVSJx3ZD2t0rdeVKJhTnpEyl+MRZYtM32E9Yy4/P2ZTxYPTRAaE0EJwaTqKmP ef6YMdoORd22tEv9F9PGCB/9uJpq7fn3ELH8ADwqrMSoUS5fcFw+Bzr5WG08lUkuQY5i H9FvF99uLr+oozWAbX1NC8FEHsPCRAvS8d/SLkuABYwblki2QgfNIIzwzhYqBh4ORz19 S7QQ8XPrDQ6CFBf8uAC5Ms/OKjOeQgISswkgeV9iZdrngUUTRywkgcvTh9jlJB7kyhHP xcxt7q2qSBJIVDBYRQs0tVJsK26UKhgMlsL/EAd4qCJ/0nG+CROIOZAUzzXQIzje6RXV +Jbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=TmvH/uHwXYBXc2lnG1r8dsP3FGwS5Da/mZ27gikZaVQ=; b=YjTJpAfEE9jqKE1SJYvGcfFWfJ7NQpSs3BjcIumMviAEI8ohR2aZ/N8nXG9hJr6qUN H6OEz4cYxp8YhSX8s8FflJs9Hw89EEY+m8arpVonBnBcJ0ZgO7vLwqIXpl8ONbfp/4/y a2W+S6R0ucl5b+MzuhlsPqDqYeExh/UWrSp8Fx8xZgS0nDB++MdlVxQWM1+5qdYqeT1z XADAUiKbNkZW5JtgZeT9jNuS1ejxv6ELOTMqHH9vopwecGECK9cGYQPhkRNke5c2dUWX 3hclfo2S0q1PQaUmxLlL8ijyqlObhiaY7YfTjGMxTWjndVyvaR7Bm8Umfx4DhmMSzOPu HzOQ== X-Gm-Message-State: APjAAAUOPriD0VxKQ72h94vIfrI9tt9avVxczNzGIWR1GLxhllXASYF+ odLgpjMk23pCUWYQ7hx+9cZBg/e/ X-Google-Smtp-Source: APXvYqzSd/saJ+ERORCcpLcVjYjMeX3ldrJ6FCi8sRNSMc1v6dgKxzj6ppOByp6KuRoNBxxU27PqVA== X-Received: by 2002:a17:90a:19d:: with SMTP id 29mr1345169pjc.71.1561059338643; Thu, 20 Jun 2019 12:35:38 -0700 (PDT) Received: from ahmlpt0706 ([106.222.8.151]) by smtp.gmail.com with ESMTPSA id t8sm291635pfq.31.2019.06.20.12.35.36 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 20 Jun 2019 12:35:38 -0700 (PDT) Date: Fri, 21 Jun 2019 01:05:23 +0530 From: Saiyam Doshi To: agross@kernel.org Cc: linux-arm-msm@vger.kernel.org Subject: [PATCH 2/2] drivers: firmware: qcom: fix block comment style issue Message-ID: <20190620193523.GA17374@ahmlpt0706> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch fixes below checkpatch warning. "WARNING: Block comments should align the * on each line" Signed-off-by: Saiyam Doshi --- drivers/firmware/qcom_scm-64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware/qcom_scm-64.c b/drivers/firmware/qcom_scm-64.c index 986aa3184fd9..27cab1f26197 100644 --- a/drivers/firmware/qcom_scm-64.c +++ b/drivers/firmware/qcom_scm-64.c @@ -72,7 +72,7 @@ static DEFINE_MUTEX(qcom_scm_lock); * * Sends a command to the SCM and waits for the command to finish processing. * This should *only* be called in pre-emptible context. -*/ + */ static int qcom_scm_call(struct device *dev, u32 svc_id, u32 cmd_id, const struct qcom_scm_desc *desc, struct arm_smccc_res *res)