From patchwork Wed Feb 10 22:10:38 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: 380240 Delivered-To: patch@linaro.org Received: by 2002:a02:b18a:0:0:0:0:0 with SMTP id t10csp1557126jah; Wed, 10 Feb 2021 14:16:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJzyLoycpLuXWURAs5xYUUObHhDOjlXFJlvUOPE3UU2bkZEtkeTnefCIwt6JZgxLGNxUgyAX X-Received: by 2002:a25:2747:: with SMTP id n68mr7216479ybn.190.1612995412497; Wed, 10 Feb 2021 14:16:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612995412; cv=none; d=google.com; s=arc-20160816; b=es6X5Xeua5hcrPeZi1DTWCDJQ1bm3lwVnL3+BhbejXPSBxxU5TrKnMvJzSk49Dsgnz Pcv95EHGtk+jN/Pv//sdW1lKLKt5pO7nzfo9rcOTEWMLQ+eevW07DZHU7g9Mup761VcP 2HxM0FEiDn9duL2u4Bpye5zckxJ08VJJVEzHvxE06W8TrzeY8PZuZKwBYdJjII7EGrkM 7FfXIzi31WSaK41xZJdtV4vnIfQUWo3ToQn6RpY3eU+pJnrqWX1B7z9suHnQP0rDuuVO dyUIaVoQshZjCUfosF1oVemnMJyKmvSzZrVE5gS9/tRUuAu3DWxsW+axRuXrWuZrHgsu cDqQ== 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=UHNi1hWLbrIySFeJtKPpCbGfvhbQp8V4grjS5oASwHk=; b=GIPZ6F7hjM5JHy0321MF/Jb0NmFBmaw4BP2R2z/1ZWSS/9URSif12mbyw0N6II17IU AY/KbuLm3oAaDmVor5fuee02vwqRN1yVdSjC/DlK2qPzNitgywIBCS51uZl31IsAqpyB 5uCl7Uj0fAc6qnC8ud3Ipr1cHmcfW0DkJd976Wb8f/Ukfrl/E3Rv2EEkixAKxvFuYshH dJVyL441XG1QnvAD97hqxTHOK2m8yJM2VY5o5ZPToTkWYkkIN7rHrbpVWfqZwVmbuWh3 vWXye9fmVi8B+8mOTA1v0JRxZyX7hftoYVYuBIJm3pENzuLfKb1yPDC1OCyWQqgm1EYx pGng== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="deFZY/34"; 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 e17si3668304ybp.405.2021.02.10.14.16.52 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 10 Feb 2021 14:16:52 -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="deFZY/34"; 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]:57082 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l9xn1-0001Ak-U1 for patch@linaro.org; Wed, 10 Feb 2021 17:16:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56826) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9xhc-0006E2-LX for qemu-devel@nongnu.org; Wed, 10 Feb 2021 17:11:17 -0500 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:53803) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l9xha-0003J0-Ms for qemu-devel@nongnu.org; Wed, 10 Feb 2021 17:11:16 -0500 Received: by mail-wm1-x32f.google.com with SMTP id j11so3188553wmi.3 for ; Wed, 10 Feb 2021 14:11:14 -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=UHNi1hWLbrIySFeJtKPpCbGfvhbQp8V4grjS5oASwHk=; b=deFZY/34/EwGU8nSwmvwxsSDeSKC6R+Yq60AoViWbNYHV/a2k6O7vicy1+NkW51Rr3 JntNnIbJDqAK5JeB+E/nxNQ1Ph7LULEyL7IFWEAx/te6sU9UY2VHJ712+306tZMjLGpu RRsOILPdnGmtFkX434qmgCw+65qaXxB8ETDRWIoev+ydIQodboShIfOIaQfDbTtYZkZH lEFmb2kJm0NSXZQ/IpakJcN1CfdzM12knkV5JEmfMq6sIKCgCBYqkqxso/bQYwXTa+jC qkTo9Gnl4HUtWMNuCJxbh7pFyDz6uAgfW5DyoeKWPb2kiwC7nsbGoIs1uoP6sX97xQJ7 BynA== 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=UHNi1hWLbrIySFeJtKPpCbGfvhbQp8V4grjS5oASwHk=; b=q7jEezoTbsXIXtVLh30BOKw99V2sYGXbTrwaeg5WGD84cOushWcONQWARbcR0XX+w8 G1PnGikuMdEScEIKjRihnkhd2NAJ0t5JJF1XOaXv1IXKwEkxkRtfuziNiZG5mwJPLlPf P2dibTWT9HSh/FprOlFNXX+1SKNC3sXvyddqGYQq4da6Xag+HI+hWpxEf6eYmPFNSwcp BqcvSJM5kvxEnHG4ClFSts6nQG83WgOGsWacrvTkWtQv5autVFOe3VLgKQuIKC4lWlMC dbepp4DxvMuM/ecHUz/d/9AwGAWQWEEZ/b2uxzPzn7tNa9ABMlM0upkg0DKBA4wM1q5c EJmg== X-Gm-Message-State: AOAM530R/80+RCXRpCsVXh6krd94Ep4Tv7cikGpAwLnCB5VHpwDdZHvO W7N+z+w8YcpPawBClHuA/VMRqA== X-Received: by 2002:a7b:c215:: with SMTP id x21mr1243016wmi.61.1612995073174; Wed, 10 Feb 2021 14:11:13 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id t126sm4989453wmf.3.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 1F4161FF92; 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 06/21] contrib: Add spaces around operator Date: Wed, 10 Feb 2021 22:10:38 +0000 Message-Id: <20210210221053.18050-7-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::32f; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32f.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: spaces required around that '*' Signed-off-by: zhouyang Signed-off-by: Alex Bennée Message-Id: <20210118031004.1662363-4-zhouyang789@huawei.com> --- contrib/ivshmem-server/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.1 diff --git a/contrib/ivshmem-server/main.c b/contrib/ivshmem-server/main.c index ee08c4ced0..224dbeb547 100644 --- a/contrib/ivshmem-server/main.c +++ b/contrib/ivshmem-server/main.c @@ -17,7 +17,7 @@ #define IVSHMEM_SERVER_DEFAULT_PID_FILE "/var/run/ivshmem-server.pid" #define IVSHMEM_SERVER_DEFAULT_UNIX_SOCK_PATH "/tmp/ivshmem_socket" #define IVSHMEM_SERVER_DEFAULT_SHM_PATH "ivshmem" -#define IVSHMEM_SERVER_DEFAULT_SHM_SIZE (4*1024*1024) +#define IVSHMEM_SERVER_DEFAULT_SHM_SIZE (4 * 1024 * 1024) #define IVSHMEM_SERVER_DEFAULT_N_VECTORS 1 /* used to quit on signal SIGTERM */