Message ID | 20200716175746.3338735-8-mathieu.poirier@linaro.org (mailing list archive) |
---|---|
State | Mainlined |
Commit | 870fdd851ca50ffa552c41fd127afafceb303eca |
Headers | show
Return-Path: <SRS0=jmAa=A3=lists.infradead.org=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@kernel.org> 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 8A4901392 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 16 Jul 2020 18:00:42 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5D642207BC for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 16 Jul 2020 18:00:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ZSJvK/Yc"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="jJWP65hl" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5D642207BC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: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:List-Owner; bh=m8NjQp+sEGqZLqniE0/05LzwWWgbzlgH93Pr3W0hY9M=; b=ZSJvK/YcMaEN/ygPQe4T5g2Ix U152E3cX/B9BWlh1rsmTq8XQazjV/iNEHPOycjoCNEINjHkpHTxUiinlfNr/lmX9vCYhOzQ+pCybh prlvS991IdLMP57t+/aYtNF7ZJ0oJCk5bK+OTfGIn/lxyqt4wrS1U4BYkdSFQAgEjxRyqYhFcF/lr 9Cp3XdTtux8BSRWhzpxGbUfALCg7eXyQFPvIqodVHRMc0UxIUkHMoMj5jrxR2iQp46+JuOeZ2wNhX pmsG1KKF4tfCEWhbng7hfIpQQcuqNsMg2WT8TLzpyrqkCl+BvkPm1dFbuTbKf9b5ZBudt6yN3GfI8 uULwPGBvw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw89X-0003TG-AI; Thu, 16 Jul 2020 17:58:39 +0000 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw88s-0003DK-Eq for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 17:58:02 +0000 Received: by mail-pl1-x644.google.com with SMTP id t6so4193103plo.3 for <linux-arm-kernel@lists.infradead.org>; Thu, 16 Jul 2020 10:57:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=L9CsMjiHr19XNd/X0TT3qrgDad5rrN0wvHdrCt2oHdA=; b=jJWP65hlFPfTs9rQWOqearAfdN1sNrBlpughSVbYqkHsj4vwzfvygygpr4pSqWB3CH lzTQDodDlWnfty9XhRg7Sp8j9rsiXayqSnPKY+mu8N7lmGzoIbgUywhl1i2ZIMHI+AG9 GBVtgwK5ZTlzWcr/H4mR5RHpQP+PFYaz9Xr/FGrja6i/6INykft8sz5PdGfGtaieSYsZ UMPy3Zq5x6pOmdtpcdsun12k2Jrs2QkpRSpoFFNgJErELnSl9M2ncMgNR1AAvPGsbPOa v5oNKMffEn2ap3kQ5s4dRgkbEfZJvUKe4tdu6vnRGXJGt03ZozCCVBltWiMwg+e7+/x1 qU3A== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=L9CsMjiHr19XNd/X0TT3qrgDad5rrN0wvHdrCt2oHdA=; b=GYgkJtNYPum2rqQ8I9uFytEDoRop7k1ni6McYPL6gD/m5K35Cl+P7BWxF4cOlKxj9M QiEqAmFDF60zmDGr33jpSfE2rCNIstMx/J3B/t5upLtVzIccxf6pgX4lORTKb7QDKl7C VmYgSmn+48oehVM1W4gHkiwj4Mc9dPElxaq2Gd9PtWr44zP99KBCqTR1pnfrN7tYQQf0 W2a8kXoiQue7eMiR80+4V0vCA6sE6ra02KYgu9KQamZI0UfstbDdOi9VvNX2Dwi0sqAC kOEd/krDITky9kFW17LE0A95LGrm8wm8rUceA0NuOKjQeH6RoTP7jzKirYmmxnWlFRqv uLCw== X-Gm-Message-State: AOAM530uL3JaMqizoE1VTtuXVwFofhOo8oyVzEfrYHZu3nrSXbrMZ14S XEWqYiSkqO94RJfqoExfV3wa/w== X-Google-Smtp-Source: ABdhPJz+HHmjxLLa6Xd3BQg/PX1xr51SKbv6NmefaV1ewMQ7gijpdNvM1k9e23R+sjNjLZq5eHJ1IA== X-Received: by 2002:a17:90b:4ace:: with SMTP id mh14mr6126241pjb.139.1594922276445; Thu, 16 Jul 2020 10:57:56 -0700 (PDT) Received: from xps15.cg.shawcable.net (S0106002369de4dac.cg.shawcable.net. [68.147.8.254]) by smtp.gmail.com with ESMTPSA id 83sm5473253pfu.60.2020.07.16.10.57.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 10:57:55 -0700 (PDT) From: Mathieu Poirier <mathieu.poirier@linaro.org> To: gregkh@linuxfoundation.org Subject: [PATCH 07/17] coresight: Use devm_kcalloc() in coresight_alloc_conns() Date: Thu, 16 Jul 2020 11:57:36 -0600 Message-Id: <20200716175746.3338735-8-mathieu.poirier@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200716175746.3338735-1-mathieu.poirier@linaro.org> References: <20200716175746.3338735-1-mathieu.poirier@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200716_135758_669793_B7EFB993 X-CRM114-Status: GOOD ( 10.71 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:644 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: saiprakash.ranjan@codeaurora.org, suzuki.poulose@arm.com, vulab@iscas.ac.cn, tingwei@codeaurora.org, andriy.shevchenko@linux.intel.com, linux-arm-kernel@lists.infradead.org, mike.leach@linaro.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org |
Series |
coresight: next v5.8-rc5
|
expand
|
diff --git a/drivers/hwtracing/coresight/coresight-platform.c b/drivers/hwtracing/coresight/coresight-platform.c index e4912abda3aa..bfd44231d7ad 100644 --- a/drivers/hwtracing/coresight/coresight-platform.c +++ b/drivers/hwtracing/coresight/coresight-platform.c @@ -27,9 +27,8 @@ static int coresight_alloc_conns(struct device *dev, struct coresight_platform_data *pdata) { if (pdata->nr_outport) { - pdata->conns = devm_kzalloc(dev, pdata->nr_outport * - sizeof(*pdata->conns), - GFP_KERNEL); + pdata->conns = devm_kcalloc(dev, pdata->nr_outport, + sizeof(*pdata->conns), GFP_KERNEL); if (!pdata->conns) return -ENOMEM; }