From nobody Tue Feb 10 00:39:35 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of _spf.google.com designates 209.85.128.44 as permitted sender) client-ip=209.85.128.44; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wm1-f44.google.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.128.44 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1632120056; cv=none; d=zohomail.com; s=zohoarc; b=WdY18O2FtLOEtCVdBImYNd55K0cNK96sln/opbd0SdXPw+vleLyvV4X1Qf/3tNTrSkMFWVzvimBMbo8ZOTwCft1GwZpxsC2MedqWEsxUgXhyudCedzIHFutVp6SFVFq9nv+RZ/JLWPiN46UeiBCx+rciPXGKoZIDG8HdHdeL/0o= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1632120056; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Sender:Subject:To; bh=THd7jeuPtRUebml8cZHFdTMlOfIa5gz3RTHrt9j0Rw8=; b=Yqb2+RiaNO5FLzOCcThZRqfeQWCY9Go+G8XPMOlTr8dHoyKiydOFPstrW/jEThDS+vi24N7cdAGge6HwvX9KhP9ESkz0wAtu6Iyj2jr2wLnG2kr1v7cST1IOPJy1/oDATyXqGg21ywLaIgyWh9rctHQDH1bz3xiU2TZn58T57f8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.128.44 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) by mx.zohomail.com with SMTPS id 1632120056444182.203099162047; Sun, 19 Sep 2021 23:40:56 -0700 (PDT) Received: by mail-wm1-f44.google.com with SMTP id f62-20020a1c1f41000000b0030b42643f72so6274527wmf.3 for ; Sun, 19 Sep 2021 23:40:55 -0700 (PDT) Return-Path: Return-Path: Received: from x1w.. (14.red-83-35-25.dynamicip.rima-tde.net. [83.35.25.14]) by smtp.gmail.com with ESMTPSA id m18sm14695169wrn.85.2021.09.19.23.40.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Sep 2021 23:40:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=THd7jeuPtRUebml8cZHFdTMlOfIa5gz3RTHrt9j0Rw8=; b=cVUzwVwFkWTXu91F9FLMg/QX1A5dJQZ0nsojpOwsMynWpvvqBTNPupgzrl5gzSwamI oAA0xcIUXIWb0UNO2Bou3fY35E1+rgDnki/wXP7XJiLJs0L+JzWm+Ezti76CGxFIAO6y wEC43Mwop7ldvP7+AIueUg02y2K9/kzgEhJ1d5XCJ/NK5wPABX14IuLXDUfn8LrSW3ry Q5A/GhSZp+ilt2FScbG0v7XAGhrngIs3wb5iaRQpPrEQbVN5jfT7MsV7R7X8hkTZnKd5 xR93vRrwtt+x+ci2ucrBs1tE0dhCos8/No0lwBe+P7kJJFRG7Zmg0vJOgr/H1KxtLSJd JB5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=THd7jeuPtRUebml8cZHFdTMlOfIa5gz3RTHrt9j0Rw8=; b=My7tN7ZLcRw2qCCk85wmQ5i3HkO4+s9sAKR22oDHF9uMPb8JlfRZtQSu3twXsbcVJH Zhpxs7qVwR8DQGH+7oM7L9IE4I8sgLlwgtHDiiXXeJGTucjrNJxDMJzf7Sa1LWLsqChk J4A9T9f8eK12zfW7tKpenGxZmeWhSRz83nVhkAy6/KfzhckJZLPY+CSwflugTbLDEFX1 h5vo6Z/VgnGHuZwuotY64XLffLakvrVRDOBULv0NWZRJwSfHLEr2MyfPIfNnBFl3sTT8 nycg247gffRcNqhddKXqthGqfmSk3P3kobIt2Ltci62PydXYLayae88Vh9cAzMFL9xW4 DZlA== X-Gm-Message-State: AOAM530e9Dih/TSg4VIpAe9GuYegmYIyzf1M2r+2+Ja4B3YpZxQimhok vTCOURkegT8Qb/IRsmpDE/Y= X-Google-Smtp-Source: ABdhPJyZl1UOlGxwlWvuE4u+O7s8gBPyNn+ss5cy+XJ0UZaJiJPgv0lTv7sG1zlHduPdK9305+IGeg== X-Received: by 2002:a05:600c:5109:: with SMTP id o9mr18256587wms.90.1632120054550; Sun, 19 Sep 2021 23:40:54 -0700 (PDT) Sender: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Richard Henderson , Helge Deller , Sven Schnelle , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 1/3] hw/input/lasips2: Fix typos in function names Date: Mon, 20 Sep 2021 08:40:46 +0200 Message-Id: <20210920064048.2729397-2-f4bug@amsat.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210920064048.2729397-1-f4bug@amsat.org> References: <20210920064048.2729397-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1632120057539100001 Artist is another device, this one is the Lasi PS/2. Rename the functions accordingly. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Damien Hedde --- hw/input/lasips2.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/input/lasips2.c b/hw/input/lasips2.c index e7faf24058b..68d741d3421 100644 --- a/hw/input/lasips2.c +++ b/hw/input/lasips2.c @@ -96,7 +96,7 @@ typedef enum { LASIPS2_STATUS_CLKSHD =3D 0x80, } lasips2_status_reg_t; =20 -static const char *artist_read_reg_name(uint64_t addr) +static const char *lasips2_read_reg_name(uint64_t addr) { switch (addr & 0xc) { case REG_PS2_ID: @@ -116,7 +116,7 @@ static const char *artist_read_reg_name(uint64_t addr) } } =20 -static const char *artist_write_reg_name(uint64_t addr) +static const char *lasips2_write_reg_name(uint64_t addr) { switch (addr & 0x0c) { case REG_PS2_RESET: @@ -145,7 +145,7 @@ static void lasips2_reg_write(void *opaque, hwaddr addr= , uint64_t val, LASIPS2Port *port =3D opaque; =20 trace_lasips2_reg_write(size, port->id, addr, - artist_write_reg_name(addr), val); + lasips2_write_reg_name(addr), val); =20 switch (addr & 0xc) { case REG_PS2_CONTROL: @@ -239,7 +239,7 @@ static uint64_t lasips2_reg_read(void *opaque, hwaddr a= ddr, unsigned size) break; } trace_lasips2_reg_read(size, port->id, addr, - artist_read_reg_name(addr), ret); + lasips2_read_reg_name(addr), ret); =20 return ret; } --=20 2.31.1