From nobody Wed Nov 19 00:13:59 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1613385622739324.3348187155474; Mon, 15 Feb 2021 02:40:22 -0800 (PST) Received: from localhost ([::1]:52112 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lBbIj-00066Z-OV for importer@patchew.org; Mon, 15 Feb 2021 05:40:21 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50190) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBbB9-0004RE-42 for qemu-devel@nongnu.org; Mon, 15 Feb 2021 05:32:31 -0500 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:39393) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lBbB2-0001if-SI for qemu-devel@nongnu.org; Mon, 15 Feb 2021 05:32:30 -0500 Received: by mail-wr1-x42d.google.com with SMTP id v1so8243639wrd.6 for ; Mon, 15 Feb 2021 02:32:23 -0800 (PST) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [81.2.115.148]) by smtp.gmail.com with ESMTPSA id 36sm25196300wrj.97.2021.02.15.02.32.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Feb 2021 02:32:22 -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=kTAUyENAZSmntGrsJs6kE2c/p5aLv9Krgur9nleNNPg=; b=Bzavho7h2B5sLcd9jZsmIHvxTsNEDzcTMs5HrOC4QSSqri9931kvmKQG2ci85jie8L /xeYtF6HfVqQo/YqtwDfgyTx+83bijFR9DpxAmzy8pQ1GJ0JLR42iPg4OEopgjkakCwy 43BECxpHJqww2kCCcqb6bSthJ+D6tYqivF++HKwSeUE/HULyJVSle/w2ZpurxZ9n3fbc zBOXLbiZMoVQL2F7C4KtMkDzWUh5HkjpdCov/GfH5MYdnBM+MyEV/wUwtLm7Gbk4p75p o7UeHQgjiwf5DuIy+4wBIoF7eeepDXTrokjnO1+MHL/MUKfzpHt1Ab7OWgbT4DZdG9jA wLcg== 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=kTAUyENAZSmntGrsJs6kE2c/p5aLv9Krgur9nleNNPg=; b=qNNrAVhxeDOi0qoCNOlKoESQoTArfVjQaQO7J2/sMI8nzX50Rwmw1X5vmu05ciKNPX KhyPkcuqGDzLaxx2ubxepbarUGBoG/iBsdUsiQhZ0xPfXLDxEMfuiANshdcqARjfU7Nm JRK0oGedPCkhXfImynsot3UmcMWwahphAcCv7+Za79x5N6UuocCi77krTgqZvjcCefYw MSdmS3KIAg5/VFz5yiJVy8ZQtRUtmSrNs/xhwJc/cx5tihhWbPRJgr1VPPpffQzvdUUM We0151g5elQdhIZpuoa7nYUVJusfgC91yCa5nPBa4+2aNGleIFF3CGL6OpT+edgUibID D6rQ== X-Gm-Message-State: AOAM532CFoekN1LcLNG2FWfj3C2nTK1GvbPakJuco1hjtI5aAO4IznG9 kHTQLoJdGx6cWOUwF7JCisjfeY5KEQ+pTA== X-Google-Smtp-Source: ABdhPJyy6J7FkQnUICCFr/NvKINz36muZmcVguekD7oqaq49DGxAbmy+KPmblD+1Ds4sLbe6uHx24g== X-Received: by 2002:adf:ce91:: with SMTP id r17mr17791324wrn.219.1613385142954; Mon, 15 Feb 2021 02:32:22 -0800 (PST) From: Peter Maydell To: qemu-arm@nongnu.org, qemu-devel@nongnu.org Subject: [PATCH 7/9] hw/display/omap_lcdc: Fix coding style issues in template header Date: Mon, 15 Feb 2021 10:32:13 +0000 Message-Id: <20210215103215.4944-8-peter.maydell@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210215103215.4944-1-peter.maydell@linaro.org> References: <20210215103215.4944-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::42d; envelope-from=peter.maydell@linaro.org; helo=mail-wr1-x42d.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: Gerd Hoffmann Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @linaro.org) Content-Type: text/plain; charset="utf-8" Fix some minor coding style issues in the template header, so checkpatch doesn't complain when we move the code. Signed-off-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- hw/display/omap_lcd_template.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/display/omap_lcd_template.h b/hw/display/omap_lcd_template.h index 22e51d9bffb..a2f86eee3c8 100644 --- a/hw/display/omap_lcd_template.h +++ b/hw/display/omap_lcd_template.h @@ -61,7 +61,7 @@ static void draw_line2_32(void *opaque, uint8_t *d, const= uint8_t *s, b =3D (pal[v & 3] << 4) & 0xf0; ((uint32_t *) d)[0] =3D rgb_to_pixel32(r, g, b); d +=3D 4; - s ++; + s++; width -=3D 4; } while (width > 0); } @@ -88,7 +88,7 @@ static void draw_line4_32(void *opaque, uint8_t *d, const= uint8_t *s, b =3D (pal[v & 0xf] << 4) & 0xf0; ((uint32_t *) d)[0] =3D rgb_to_pixel32(r, g, b); d +=3D 4; - s ++; + s++; width -=3D 2; } while (width > 0); } @@ -108,7 +108,7 @@ static void draw_line8_32(void *opaque, uint8_t *d, con= st uint8_t *s, g =3D pal[v] & 0xf0; b =3D (pal[v] << 4) & 0xf0; ((uint32_t *) d)[0] =3D rgb_to_pixel32(r, g, b); - s ++; + s++; d +=3D 4; } while (-- width !=3D 0); } --=20 2.20.1