From patchwork Wed Feb 10 22:10:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 380242 Delivered-To: patch@linaro.org Received: by 2002:a02:b18a:0:0:0:0:0 with SMTP id t10csp1558793jah; Wed, 10 Feb 2021 14:19:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJx2iNajbh/DS8apGLPnyK0v09J1zZQ1DVlb2RgxhTUUnARAzH5czX/e/SHJE5PaNEkRkSxM X-Received: by 2002:a25:d803:: with SMTP id p3mr7516170ybg.98.1612995594296; Wed, 10 Feb 2021 14:19:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612995594; cv=none; d=google.com; s=arc-20160816; b=qISYnQ6amQvI2uwrQ+H9jV5W2PARkcByYFkELJoAxOxh9O0qfirHdvyTNNL4zZQ/ka A5lg4gfA51TZDdJlq9P/m+ZloKt+Kgdc+G5GYJrfHfr7gdelFxJZLox0z7zYbGCkBwZt bG6yMrFT2fhb8uyhcaMa50znt444FUdczdmFdz7hPxBkfJgC5Wn0lwmRgg6ZvySGUwD4 p3d7o/gUOv7NiPrW9R4krwW0gIiDDMW7HGXEI6K4kHPzNfNrQ3TUXbcM4A4ELtA4pRmU AxySH8q3W8MCbkHHp84MVI8frAuBq1XlNdQNmgHUG0wqWCYmw4dBJub/R91/ZlqlBL4k CFgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=qsAlB8eC1+WOxOlJ6bcLRTNHUdtdlZsz5JZgZPTBx5w=; b=041bY/zXcn8FAjUotWWmCHOWfWUsrgAMSV8S3D6AK3sr1rKHvNL2RmUGwWt8EYFFmH Unh5WSf8iAtpXgUbBOjyISQT5Rg3D0eRQpNt7/AKz6jqJqGVIttpHI4rijaSsiN17gCw cMqoeyp2AxgshLcKNvgtvVgWk1cp41dHj4LCphT5ZjWcLnR+8lVvx6SOxdZ1deA4Sx+7 Fjl51DRJUgT5BRarXqgPD5nfStd9Yy/aS4OQ98rY+fqw0NKQlrDQtP+NFmfegUZxe36V xj7yxPNOUGoBUC7qViZS/lFvjGgwYmZ2tQp2AbdpvEUaedOU/8khfgB8Ke497qV+pJJf YOTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=m2lyRN5R; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id c2si3241109ybe.400.2021.02.10.14.19.54 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 10 Feb 2021 14:19:54 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=m2lyRN5R; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:36870 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l9xpx-0004ia-OE for patch@linaro.org; Wed, 10 Feb 2021 17:19:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56776) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9xhZ-00067X-HY for qemu-devel@nongnu.org; Wed, 10 Feb 2021 17:11:13 -0500 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]:37464) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l9xhW-0003HN-9Y for qemu-devel@nongnu.org; Wed, 10 Feb 2021 17:11:12 -0500 Received: by mail-wm1-x32a.google.com with SMTP id m1so3299133wml.2 for ; Wed, 10 Feb 2021 14:11:09 -0800 (PST) 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=qsAlB8eC1+WOxOlJ6bcLRTNHUdtdlZsz5JZgZPTBx5w=; b=m2lyRN5Reh9Dj22oLqBx3id4+wVDwzL4KB5tbf/Ly6ahdITvQxJU8Eii45iufhj1rB ocTYIRH+QJV8s6qZEm7w+zNtZSPCJKI1XYiWdR0VUwuvLdaR1f68IUiOmhoTaZ7n3QEa mM7/XjOUbmL7/anZg7aUyrPangkRfJljYIJdS1qSbtUZw++WD/9avwiZQ+eseDHzufoB fhGsIbCDO5e/urBMQ3d2huyZjMxo1EnVtfS3FSwkVnCanJc7wu1T3EO5+Wu/Bk3wLVHj AZxwta/slRfo5259d+jmhylsOiCisFB6At3AXeOmNYXMyU/H4kiMadP4Dqon5Y3FeARm 3PHg== 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=qsAlB8eC1+WOxOlJ6bcLRTNHUdtdlZsz5JZgZPTBx5w=; b=eUanQ+aWOZ426N23wkR+Cm8bR0y5xC8WEJhQe64gxVdoL/mrR0PVwWtO7kRdXWmr0M 6qzVGwrdbaSOMw76CUPrSxWzzXeManIfu/moXAlDGyK47NFbBYGjosCNH0XFbhIGUNdp h4dm3AeVv/8wkGdzNP9rMIa3BDxRcyyWEdc5ePiYXVlqWUh/EXVzr20WkQTvW8TCQvQA yqEsxlBsPxHBXTkgA2F+H6ZKzq5IU4/Bn6kK+3dG1wFVRKEFbRtuTtP39wb9py2vvA7r 9Pe5x7crC4ABMc0aRzxWMRPfFvNgyx3oYhIg7ygOlJIhqtCdfTS8bJzYZpbxvTMA48LW Mkyw== X-Gm-Message-State: AOAM533CM+ry3Z30nT2YCryiHxMzPRzywNElodOQjWMSfZOa9XS6LsJu BQBiIUpSHFrisJaMyMBNfrM9D8saG0+AOYxW X-Received: by 2002:a1c:f415:: with SMTP id z21mr1194592wma.114.1612995068912; Wed, 10 Feb 2021 14:11:08 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id z185sm5427790wmb.0.2021.02.10.14.10.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Feb 2021 14:10:58 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 093551FF91; Wed, 10 Feb 2021 22:10:54 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v2 05/21] contrib: Fix some code style problems, ERROR: "foo * bar" should be "foo *bar" Date: Wed, 10 Feb 2021 22:10:37 +0000 Message-Id: <20210210221053.18050-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210210221053.18050-1-alex.bennee@linaro.org> References: <20210210221053.18050-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: zhouyang , robhenry@microsoft.com, mahmoudabdalghany@outlook.com, aaron@os.amperecomputing.com, cota@braap.org, kuhn.chenqun@huawei.com, =?utf-8?q?Alex_Benn=C3=A9e?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: zhouyang I am reading contrib related code and found some style problems while check the code using checkpatch.pl. This commit fixs the issue below: ERROR: "foo * bar" should be "foo *bar" Signed-off-by: zhouyang Signed-off-by: Alex Bennée Message-Id: <20210118031004.1662363-3-zhouyang789@huawei.com> --- contrib/plugins/howvec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.1 diff --git a/contrib/plugins/howvec.c b/contrib/plugins/howvec.c index 6e602aaccf..2f892da17d 100644 --- a/contrib/plugins/howvec.c +++ b/contrib/plugins/howvec.c @@ -235,7 +235,7 @@ static void vcpu_insn_exec_before(unsigned int cpu_index, void *udata) (*count)++; } -static uint64_t * find_counter(struct qemu_plugin_insn *insn) +static uint64_t *find_counter(struct qemu_plugin_insn *insn) { int i; uint64_t *cnt = NULL;