From patchwork Mon Apr 8 21:33:35 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: 786963 Delivered-To: patch@linaro.org Received: by 2002:adf:fb4d:0:b0:346:15ad:a2a with SMTP id c13csp75656wrs; Mon, 8 Apr 2024 14:34:41 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVzKRkk2rMedHsA4MlauCERbRdKq1xfcLxBHlZfBqdmMVDy+9MER8GHv+5V1ItxdJ+dK17NSILmICgajyjdrU24 X-Google-Smtp-Source: AGHT+IEq59gck+7CjQYcq0+5B2x1ysIpJl3+Fk3mSBaa4MWCuvhqZzBxQqq+Ob+vUg4UZQiR8Ks8 X-Received: by 2002:a05:620a:a0f:b0:78d:6791:34d1 with SMTP id i15-20020a05620a0a0f00b0078d679134d1mr3454845qka.9.1712612080901; Mon, 08 Apr 2024 14:34:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1712612080; cv=none; d=google.com; s=arc-20160816; b=Eqg82wVhFU+7ZDuorz1DOBEXX+2AT6xmX9UzDRr4WsMXSXSQ/xYfxjyHgc7X8/K7uH 1nyFzxfBJF2ZVK25ohIKUuhMeDHm7zSiDm/Tq9r0DdTFAlgX1lbn7Uizx0+5TkmDblmX dOtiPcI7GcQ0nQovNt1UpogrTeefRKPT6jP7OEbPghZMIxEyfEZs+DTDKuCKcSk+IZX7 2ddJ86I6tVguHoWYeMBTNMdeAUxf1OUbsgzumCUkaSiV00jSq+HlcWA0ocbAm59Tc+bC eoBl2KG3R/Gz+ZfW/qJ3TMRC4LrbDblPQYu24abFcUfBAqt8yzz/fAE+j6HsVXqKhJ98 V9YA== 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=sbh7HSGLO8+R2jBe+1LXyRi6Vat4vyd7rRV0r/6KCH8=; b=XvOkLGSqiO3I+FSPFxaym+fW0nxbSCzyXORzJcegiKkH0gVDTIyoRc1MwpcLleUr3c nNZk513Yp0iGKkmNs3WaeM+3rUGaqNaKXxLwbKMvrDXh8Y1jlCu2JyccPD1I1Qa8QZmo louo9fGT+mCWzHQF+cFJq8uXqL068Ye3coPS32cZDFVvWTl01dQQFzAluurKuOWaR0uS ylU2TLpIQGb1XkU/f5T1AjMdg30tKoXn6IBKUvBw5sgFf0Dt33hd8AyEeiyclcmCXQUJ ZVC6CodOd7yjU7ScDC3iHYucfqxaBpW1G+RqokpydyRrX36oGy99BXA/is5FLSx00evP BK2A==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zZq8b+GM; 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 j8-20020a05620a146800b0078d6b98f03bsi807193qkl.607.2024.04.08.14.34.40 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 08 Apr 2024 14:34:40 -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=zZq8b+GM; 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 1rtwcj-00053J-S8; Mon, 08 Apr 2024 17:33:53 -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 1rtwcg-000539-TA for qemu-devel@nongnu.org; Mon, 08 Apr 2024 17:33:50 -0400 Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rtwcf-0007Qr-B3 for qemu-devel@nongnu.org; Mon, 08 Apr 2024 17:33:50 -0400 Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-516c403cc46so8891929e87.3 for ; Mon, 08 Apr 2024 14:33:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712612027; x=1713216827; 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=zZq8b+GM398xibWEvmyDRH2Lh4Q2D/1sbkbHOEGlv1EG1lvV8wZAxm3Eah9YM9SlnA zuO3zfitzjAwdfZvbo4cNBL20YXaGW3BhBvq+EtlVnNNL4xO75hKCqB6WKXy7H9Auk/v lnyNav/OUbXqor+AQUb6rDHDz4oa0PS3bC7htLAy/T/tuhzQ4dKyYpNJNL/44CRQYCxi Pn+3moG8fDYnF/hDCUva35UOLr2+szv2lkpavotC6h1jZkxupFexCGh7MQJPE4nKR9Un ZwyhEmQ0App/MHK6DkqVLi/l1Mg0qdk3Ek5L5TDaaEc+VM0yURbfwTHs32SJGAv/Zt5p 9dAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712612027; x=1713216827; 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=C9ZaopZIRCLzNY28pK5DQwiYVIBGFT9N/Cozx5uN0y/RCmvXz65UALcHt6dIhVhoOX 9jAL2WysZqeOmIDMAvrvTUiWCHUxeiD6Y4UD65LTWm+709sot+cOeqY25aYYxzo2MTqb reskyTIfxT9MDo1WWn2HCFpzPuirEWg4qp52WzNKbGgTiY/XOsW8HvADW89tTU5gSdAD Ajn8LeRDsFiKx+FPE6Ynf64Zf40xfeskPR1j/oX/VgFvGk6eiNW1WSKW2ebLgu9G5Wb0 qk1lCEWP+LPBvb9ZOip97kqbSnQllv7qRibZ1Xz3HThWSiIrsDdji5ob6rU8tbrARh+q 5alA== X-Gm-Message-State: AOJu0YxMNlJNtBafQW7OLe21VF1Qx9jH2dtSG7I50brOV+B0pscWo9yC FnY85lO8EtnnSKYtl7kRsOUTStKuFPXUmaM7cNgWBecsHeMQm3KVaGV2D35BhUeAN0Ai7pF5SR/ K X-Received: by 2002:a05:6512:3e17:b0:516:d250:91a7 with SMTP id i23-20020a0565123e1700b00516d25091a7mr11695998lfv.12.1712612027249; Mon, 08 Apr 2024 14:33:47 -0700 (PDT) Received: from m1x-phil.lan ([176.176.144.67]) by smtp.gmail.com with ESMTPSA id i18-20020a170906091200b00a4673706b4dsm4891513ejd.78.2024.04.08.14.33.46 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 08 Apr 2024 14:33:46 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Corey Minyard , =?utf-8?q?Daniel_P_=2E_Berrang=C3=A9?= , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [RFC PATCH-for-9.1 1/4] hw/i2c: Fix checkpatch block comment warnings Date: Mon, 8 Apr 2024 23:33:35 +0200 Message-ID: <20240408213339.83149-2-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240408213339.83149-1-philmd@linaro.org> References: <20240408213339.83149-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::136; envelope-from=philmd@linaro.org; helo=mail-lf1-x136.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.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,