From patchwork Wed Feb 10 22:10:40 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: 380237 Delivered-To: patch@linaro.org Received: by 2002:a02:b18a:0:0:0:0:0 with SMTP id t10csp1554639jah; Wed, 10 Feb 2021 14:12:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJz0U5DuuJ/G/xJqnPAPZB6gXCNrf0bDy0jz+DCyaNiktP9y8/1w225S8LkYG9ClNL7KRx1s X-Received: by 2002:a25:7693:: with SMTP id r141mr2484427ybc.49.1612995161056; Wed, 10 Feb 2021 14:12:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612995161; cv=none; d=google.com; s=arc-20160816; b=cgIv3CPAPGlZuTRhtKb+Y4azuJn19udrTUP6lAQj+Pcpokrfn1YiDHQyWhgj4HAzQ9 t3ELQchwLM9iZbV9TYIuasOcssyf6N3QTdCj0eT5vlUq/nXTeyYlexU9QxLppKGmQnpd w8qaMF3nb7R3NvGs7G4mc6o21nlXcMo07CSXY0x8D51Wt9/+Tt5m3XjHprV/OehR5cjq PX5SZFrFtMhxwn2cwZCNN1hBjHgYJXeZkhVq65kmB+BzNuPF/QBUoZx4wsaCTUSxjrYP 8f95qh3Bl3SQ7bvdoL7gNQVAS96rGhw/tQwFuIz6oFIZbMrH+x0tglN/+oiGtGAqOf7p xPIg== 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=PU9rNaQh7vkDttDYTlGc5gKeO+PSzP4WvxcncEhBalo=; b=T9ThOoyn7Qeq2eHexFVNZ2plqpJkaVEG0gA4tiiwJY+CmcJoTz6dG4fn08RlI6vI+W IJ428la7ez8HV0U0MZUDhuVEVgj2EwtS/AEcLD4wd5CJV8AhcOYCUnNTSxl+xXdGrZZe 21sJzOEZE9e18DOeD5Czspp17krAy8ZM2xpwThhNIEvldUWaqzyfvBE5RV2WQV8S6hUs MB4LTz4x0PblS248c1zg6cv0jSdZg5jQMKqv7Xv3AnPANLW0F92CObztHUlN3D92YwcY KgzgwKuJKBgTa+OTs2SJn+jlnAxRSPQ69uoq0NOQfW4w9H0AzSxmMWQ8KmuiV08gsLYq IZEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=hdILOJgg; 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 d11si3105208ybq.114.2021.02.10.14.12.41 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 10 Feb 2021 14:12:41 -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=hdILOJgg; 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]:48644 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l9xiy-00061J-FM for patch@linaro.org; Wed, 10 Feb 2021 17:12:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56712) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9xhU-0005xu-IM for qemu-devel@nongnu.org; Wed, 10 Feb 2021 17:11:08 -0500 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]:34834) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l9xhR-0003Eo-HC for qemu-devel@nongnu.org; Wed, 10 Feb 2021 17:11:07 -0500 Received: by mail-wm1-x32e.google.com with SMTP id n10so1432691wmq.0 for ; Wed, 10 Feb 2021 14:11:05 -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=PU9rNaQh7vkDttDYTlGc5gKeO+PSzP4WvxcncEhBalo=; b=hdILOJggMXoxOdu1cEeZQFhgPBdDg5z3LpQBYe0/UGKYdjIwj7l+7AMZzFmTSypXD0 saaczdSIf8dApg6nIMvQCqjU3k6rEGhNHOw9hg0t2yKZmejVnJKtF+Zi02ObqDNOeJeO 2b5vBlo1QuxrMyQenEKqEY1hesaZAP95cnelm36tfW6+QUeUZ5dlEYKEazuAd+jkbrmz luwL6n/xXpz7ghRwYi2kcb8UpTYKfl1FNo0+rjDXixbAs8nqgu1nJ6NRR1sfjrNfEoHW TiaLOWdcFAkI8ymuMSMhCvq6otVAN1YvUAmvSWaPosH95AEMURvJKALDLig0/NqRzyNO P0Sw== 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=PU9rNaQh7vkDttDYTlGc5gKeO+PSzP4WvxcncEhBalo=; b=KfT1gOhzhtpN/okFboGzmjE3qUQsFcZ4X79/M23GS1DNDh43/izw0ib2M/pfgUWPgv W67Xibww2X0YhDoMvyLEE1APOPyZyluZdRLAWF6FfaU2DCK3uZDY9x7klOR7/cZ6pe57 mSamGNNoSd4uvJREm7jb6TAZOa4Xyh6iYqJDxxWVCZ08siIxsDTa7O9JuG80zOd0l9I8 cAWEQ9++l1RFWO5WIdPbpA/U4a5kR2RcjF8P45kYvN920kFnC8hlgVXOnTDCQZ4GvQdo Shfl/t+1PWv8oPh/wIkvqS/3AFGCNzTwCkOkTZuLl40Wv+s0H5Wu0uJelKVLrjJlG/90 d0tw== X-Gm-Message-State: AOAM531JlT5uboQVJR09kGEZF3GJR/1jtoEVx+7mtSFKTqoFsDeLo9Rc xju7TJh5FilQefAH2wdTbhrUcw== X-Received: by 2002:a1c:6402:: with SMTP id y2mr1164558wmb.43.1612995064189; Wed, 10 Feb 2021 14:11:04 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id 16sm4443605wmi.43.2021.02.10.14.10.56 (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 4B2751FF96; 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 08/21] contrib: Open brace '{' following struct go on the same line Date: Wed, 10 Feb 2021 22:10:40 +0000 Message-Id: <20210210221053.18050-9-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::32e; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32e.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 found some style problems whil check the code using checkpatch.pl. This commit fixs the issue below: ERROR: that open brace { should be on the previous line Signed-off-by: zhouyang Signed-off-by: Alex Bennée Message-Id: <20210118031004.1662363-6-zhouyang789@huawei.com> --- contrib/plugins/howvec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.20.1 diff --git a/contrib/plugins/howvec.c b/contrib/plugins/howvec.c index 9d6fa33297..600f7facc1 100644 --- a/contrib/plugins/howvec.c +++ b/contrib/plugins/howvec.c @@ -145,8 +145,7 @@ typedef struct { int table_sz; } ClassSelector; -static ClassSelector class_tables[] = -{ +static ClassSelector class_tables[] = { { "aarch64", aarch64_insn_classes, ARRAY_SIZE(aarch64_insn_classes) }, { "sparc", sparc32_insn_classes, ARRAY_SIZE(sparc32_insn_classes) }, { "sparc64", sparc64_insn_classes, ARRAY_SIZE(sparc64_insn_classes) },