From patchwork Thu Feb 18 09:46:49 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: 384366 Delivered-To: patch@linaro.org Received: by 2002:a02:c80e:0:0:0:0:0 with SMTP id p14csp3528385jao; Thu, 18 Feb 2021 01:53:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJxndCzMx5AeefdEoyiyvNFDy3u2Et0j8sZ52XeBoGN93sNVXXpWN83P43sqEDGzkJ03Wayc X-Received: by 2002:a25:cb8a:: with SMTP id b132mr5993269ybg.58.1613641998380; Thu, 18 Feb 2021 01:53:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613641998; cv=none; d=google.com; s=arc-20160816; b=HUq4zQ87KeiXe/cd+3//Wcq4XEsZL5Qyn4Sqiycp5cW3tVxWMAaLVMaJr0wxv7Qtki yrb67t2DRSh5MMrucgppBlN9w/Jl33FMqmqwDuXlcRx4hEbtTf/BWeZC+1Dwt+GGE0Jz H7DUur4DxGwzxhd2MypIAvHbC+QsRMfPPVb2iZTYnBhURcPyMFqRJW/isH5GXWxKqARz SW16+QqSYEQGPenxuUp37ONSjn0e28os2/sK4CX8WNTMftV2RXyuxgvzo+IT6Tl7cbHr DRijbWppUmxVcOBU4rMcH8dfRgo1+KfOiLXayR41hDavSecyyUVe2V64IokiKc4fPq6/ DiXw== 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=BOuZLIcS4uaxLwRAzY9t0EkJ3Dn2/0awYiFNeWK3R2w=; b=AAkl2uqLAiyHBRMH9OEEPH5LcBfBFkRltIfsBPNybje8ARbuSjv8hUuxT0jvgZ744u g1qp+/KOrPqrbiyMB/jJzNj5diwD2mK/GhuzNBt4Tb5N7DJRThLamjvADN/oPKvXn66c JunsfbaD4wdhttrcnO4AsbQwjC7185DkdEh2XereIuy/aFdbGHM7A0ZRvP78UIVCEknr +LX7NV0bUkSI+A9Bx2FHlVjhwNzLoKQteX61Zj4Q8X9OUBE1gnPJK9+XkX6hEyjdhxKc zOca6+SqUcA0JZPzNn9LQcvweNIfgsIrIXCHQW33kcGhOrGAFJdJaDKZJSfVTCFR72o3 U5Jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=bXovATF4; 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 m64si201716ybm.121.2021.02.18.01.53.18 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 18 Feb 2021 01:53:18 -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=bXovATF4; 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]:41360 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lCfzp-0003BN-T5 for patch@linaro.org; Thu, 18 Feb 2021 04:53:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53352) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCfuA-0006re-JK for qemu-devel@nongnu.org; Thu, 18 Feb 2021 04:47:26 -0500 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:33787) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lCfu8-0007Fm-OB for qemu-devel@nongnu.org; Thu, 18 Feb 2021 04:47:26 -0500 Received: by mail-wr1-x42a.google.com with SMTP id 7so2223036wrz.0 for ; Thu, 18 Feb 2021 01:47:24 -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=BOuZLIcS4uaxLwRAzY9t0EkJ3Dn2/0awYiFNeWK3R2w=; b=bXovATF4y2Xza73C97gAn+bYW018ZEfh6+AnKO1r0WwJ7dLst+sDK+z8WePLCkpCFY Vf7pVNkvzLUZn3UFu/Ix0w+9wF2jPvMsZbfpkL4WQYAUc2mF50eZGKquzXXdpS3cbUsg GXuV/ABN0DrSSy/hylIr5tUN50nrrPy0j+iemPCpwPx5yWVELHJOKX1+68ieO+71w7Wa 5fQVa8znGBEIqXKEwMgbIJr+T8PNFveRbDlOuhNNxUH/fnTq0Het89DkOp5NIqnrfgWp DDWiAGiJap3vQAwOd6y2njLQztIZgIQdXjFB44iKZkZc3Tmhwen54l5/64bJToldNEcV MxOA== 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=BOuZLIcS4uaxLwRAzY9t0EkJ3Dn2/0awYiFNeWK3R2w=; b=AyE1mAGjx+D+DiYasU5Fkej91VA89wwdFbjGCd418EqfeBIWzjqNbJDaU3STLR1d4r yKszoqbjTrXngVgJvsOqFaMI7EIMvgeqYMR5kxgBlwsTl7MtsIR9WlV4/JoQHctT07UE Kmmm0V5kwsh/udfttQ65qMorV96yoCp/US2GpGxLWQj67nDaxZGCeu+17azAyzHsyQ1B j15HmsyfGio5HW0A9s0C1mEnwFWFIzaD+SXuRJGXzC4SPtxh7US+2J2OEpkdoNb+JnlM UYA/IrFncdkKRh91RdPaQmG1cJ73LrFv1utEHelOgOQpl70O0O4H1xZ/LsSQASgelgwT oGBg== X-Gm-Message-State: AOAM531KSVLDdcXiFsbJQU/8V0OVvLVfHxpaivBUuYNQw0ajcLta/shV YkXEFLSUPP2m2A3BQl9zTvL9VQ== X-Received: by 2002:a05:6000:1092:: with SMTP id y18mr3614520wrw.248.1613641643267; Thu, 18 Feb 2021 01:47:23 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id f8sm7813238wrp.65.2021.02.18.01.47.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Feb 2021 01:47:15 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 7D0ED1FF92; Thu, 18 Feb 2021 09:47:07 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 06/23] contrib: Add spaces around operator Date: Thu, 18 Feb 2021 09:46:49 +0000 Message-Id: <20210218094706.23038-7-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210218094706.23038-1-alex.bennee@linaro.org> References: <20210218094706.23038-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42a.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: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org, zhouyang 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> Message-Id: <20210213130325.14781-7-alex.bennee@linaro.org> -- 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 */