From patchwork Tue Apr 16 18:47:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 789240 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:dcf:b0:346:15ad:a2a with SMTP id dw15csp433922wrb; Tue, 16 Apr 2024 11:49:29 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVl3rH2Vy7ucoqzK/1YRQ1J08PVjp7zbFHyIvxAtxaNuxgnzT+pABZ4GsN62Nrrqn7FfqaN7it+7ylnQxRUeaf9 X-Google-Smtp-Source: AGHT+IHVxt1n/pV1M+SHDNBtxmziXhd9MrTCda8Ez3iqDhmLyHv6tElXO+hNiZRhBMcpxMFPat/P X-Received: by 2002:a05:622a:149:b0:434:4011:3cdb with SMTP id v9-20020a05622a014900b0043440113cdbmr15599233qtw.54.1713293369135; Tue, 16 Apr 2024 11:49:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1713293369; cv=none; d=google.com; s=arc-20160816; b=qiCQVlXB1JvNk0hqtf0YPf+Dl1OSoc/fGBPX6yAyni470ChsZhNUzQulV8TiqlgRdr X9s9kFZk28hOG5pbZAWAhZ3qhEhlP8o+eQWbDmZB2v0/HqmVbTHgur6Mz+/DVxGifmpy FSqVguXqI9s/P4nOqMglxGd0Yhlegdgx2ShYpbFozu0Ce36j3VNTZ0B4BPaYGq7BGJrf 7EEQ+pNmdcYuPDYXfHdexULmwz9R4rrYD7NeliQY16doV61l3X0MEzVgX/DQ2eBQbsA1 O2cnAY8+8SUmVpAgKv14qEw8zFsCw18LYbZ44Wyi/W4H031qTeNvxcmdkz7v5aLLp5v8 Qemw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to: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:cc:to :from:dkim-signature; bh=Spf4Zi1bBqXxf2Gm6GK4HE1fTrLcNzSmKtfAQewlYLg=; fh=QDZ5YkBW6RYC7h8fy6JfwMSdERpjG16RTV1iRIy6iZQ=; b=Y6GrLfSM4vnT5A+Zj/gVjVj98R7odEa7W2zU6Aoz43AKuX3n5eEOJ2YcEGkKpkch1Q 8P+DA3NB44OoiWf3hoMx9h6vrXoH0iT3m2JZi/qWGJcpqjh3zyvO9btCpe8CKwxqtaKv /ZqvCFzBQReHH1y9p5Cyos0F+woie7l8CDEPbwevpQRl9Dqdsdke6LgCxnRQ57yu2Zds aiK8G6vzxOEkAow3Q5qPupI3M67L6yc7K9SJ4jQO7aRJv+HjyBs2MUrB47tftnUyfgd1 AkCUtoM8l0bEhYhjqIXldyVPQ5n+Vz/6Mp/d3DU11TOTnqX6ao3ialQasUUDiSRVwDSK xR2Q==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dd7N3ZE3; 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=pass (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 5-20020ac85705000000b00434ee91f709si13567204qtw.537.2024.04.16.11.49.28 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 16 Apr 2024 11:49:29 -0700 (PDT) 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=pass header.i=@linaro.org header.s=google header.b=dd7N3ZE3; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rwnqI-0003bY-Aa; Tue, 16 Apr 2024 14:47:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rwnqC-0003ZW-Ul for qemu-devel@nongnu.org; Tue, 16 Apr 2024 14:47:37 -0400 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rwnqA-00031T-OK for qemu-devel@nongnu.org; Tue, 16 Apr 2024 14:47:36 -0400 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-4185e80adfbso13796815e9.1 for ; Tue, 16 Apr 2024 11:47:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713293251; x=1713898051; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Spf4Zi1bBqXxf2Gm6GK4HE1fTrLcNzSmKtfAQewlYLg=; b=dd7N3ZE3hFx58vqNiJMX/fOLvm2IfdKY1DRm/XekDtR9wYR17mHLetsYE5fY8fbvgH 4z3WayQ5xC7tYYVuZkzQGA+H2x4S4UvROCxQgSjNIGBxECTeLmQrJXGpI7yFy/Th9Cyx uL4lRau6fR9K4N5Ry0JGc9IGvdkIHn9i9olEnkZ1i4TchNx0mlqWb4z9Fux/Ri+zm0Bh 8NV1AmSdZuSTjr2K6j/ZlreoLEiFdiDHb4mv2YtmwdSFx0AYB35xffBQNkL5uixyWxfc LZ2DdeIgznowhAKSCxqBa2fZHsOUezLl8hU2STOnyUcF3tXOvhxIirlaQwnsWfaOtDUp 1i9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713293251; x=1713898051; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Spf4Zi1bBqXxf2Gm6GK4HE1fTrLcNzSmKtfAQewlYLg=; b=N+XcZYD7KvXYD+Smdo4o/Z06SvayNcqK6iH/eIXKBy6miI46eVP9zD10idaWsrJ4bQ OXtiebDEYhpOzj1ZYmSwzzOBKwOGi4Oi8gi3AKgVICTvBlHA2PR7ZaJZgNapAY4YOrgr O3k8esVxH99jcwzkzYvY/Qy6R1E0i20wltR3EWQeWPCE3u/YR54i/IMtTWbVVdFoJUgi H1W6NazOsdEfiBJj9HKNA1TZbXUaZCuT3d1iXh24g/fE5g4Ubpu9L7cPVoLvy8SgCQif GCP1wHetQzox9MlvbsM59N2FcVxqpggwLtX9us+nElRxQRg5xJsFf+4lUMoLZ48jGEOC c92w== X-Gm-Message-State: AOJu0Yy5JQcbFpU4phyxd7E/xkO92AXdvXZOnml07lCQ3IU7VHLX3w8W IKdgtCGNP+uWyA2FhPb2Bn+K5ZDDuOAz+T620+AF9PEwYbtK4giVGD697AKaYpLLHsjzX5Kx5jz Y X-Received: by 2002:a05:600c:3491:b0:418:2323:e87 with SMTP id a17-20020a05600c349100b0041823230e87mr7283079wmq.25.1713293250787; Tue, 16 Apr 2024 11:47:30 -0700 (PDT) Received: from m1x-phil.lan ([176.176.155.61]) by smtp.gmail.com with ESMTPSA id e29-20020adfa45d000000b00348b46a134bsm2810947wra.1.2024.04.16.11.47.29 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 16 Apr 2024 11:47:30 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, qemu-ppc@nongnu.org, Corey Minyard , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH v2 1/4] hw/i2c: Fix checkpatch block comment warnings Date: Tue, 16 Apr 2024 20:47:18 +0200 Message-ID: <20240416184722.28334-2-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240416184722.28334-1-philmd@linaro.org> References: <20240416184722.28334-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32b; envelope-from=philmd@linaro.org; helo=mail-wm1-x32b.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=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org We are going to modify these lines, fix their style in order to avoid checkpatch.pl warnings: WARNING: Block comments use a leading /* on a separate line WARNING: Block comments use * on subsequent lines WARNING: Block comments use a trailing */ on a separate line Signed-off-by: Philippe Mathieu-Daudé --- include/hw/i2c/i2c.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/include/hw/i2c/i2c.h b/include/hw/i2c/i2c.h index 2a3abacd1b..c18a69e4b6 100644 --- a/include/hw/i2c/i2c.h +++ b/include/hw/i2c/i2c.h @@ -4,10 +4,12 @@ #include "hw/qdev-core.h" #include "qom/object.h" -/* The QEMU I2C implementation only supports simple transfers that complete - immediately. It does not support slave devices that need to be able to - defer their response (eg. CPU slave interfaces where the data is supplied - by the device driver in response to an interrupt). */ +/* + * The QEMU I2C implementation only supports simple transfers that complete + * immediately. It does not support slave devices that need to be able to + * defer their response (eg. CPU slave interfaces where the data is supplied + * by the device driver in response to an interrupt). + */ enum i2c_event { I2C_START_RECV,