From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5113EC4338F for ; Mon, 16 Aug 2021 01:17:38 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 22BE0613A4 for ; Mon, 16 Aug 2021 01:17:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 22BE0613A4 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=skibo.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 226A282E4A; Mon, 16 Aug 2021 03:17:34 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=skibo.net Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=skibo.net header.i=@skibo.net header.b="MA6Ig2BR"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CD5B4829C3; Mon, 16 Aug 2021 01:04:22 +0200 (CEST) Received: from camel.birch.relay.mailchannels.net (camel.birch.relay.mailchannels.net [23.83.209.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id C089881FA5 for ; Mon, 16 Aug 2021 01:04:17 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=skibo.net Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=thomas-git@skibo.net X-Sender-Id: dreamhost|x-authsender|thomas-git@skibo.net Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id E2DC8781566; Sun, 15 Aug 2021 23:04:14 +0000 (UTC) Received: from pdx1-sub0-mail-a56.g.dreamhost.com (100-96-133-152.trex-nlb.outbound.svc.cluster.local [100.96.133.152]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 6C6FF7814E8; Sun, 15 Aug 2021 23:04:14 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|thomas-git@skibo.net Received: from pdx1-sub0-mail-a56.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.96.133.152 (trex/6.3.3); Sun, 15 Aug 2021 23:04:14 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|thomas-git@skibo.net X-MailChannels-Auth-Id: dreamhost X-Cooing-Tangy: 2724ba584bc76913_1629068654731_322257112 X-MC-Loop-Signature: 1629068654730:1868715346 X-MC-Ingress-Time: 1629068654730 Received: from pdx1-sub0-mail-a56.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a56.g.dreamhost.com (Postfix) with ESMTP id 1D8407ED42; Sun, 15 Aug 2021 16:04:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=skibo.net; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=skibo.net; bh=AXWAnUh6MyYFJXIuDs0UeCs2qUI=; b=MA6Ig2BRLFF2Ols +Lv1UIDsMye82KUPcn5X71QRDVbFnPqlPqF4u3lfRnpyYs1PYP+XB0J9kFTxoJhz nZrU8J2GpFqRv61G23zE+HGuFsuFZj8vj3QCm2TaaFMzINwbxf7zKtM5rX+20BwZ tQyIC7LLW2E5L73WIzPdMQ/vd80w= Received: from localhost.localdomain (unknown [98.207.154.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: thomas-git@skibo.net) by pdx1-sub0-mail-a56.g.dreamhost.com (Postfix) with ESMTPSA id C4FD77E46A; Sun, 15 Aug 2021 16:04:13 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a56 From: Thomas Skibo To: u-boot@lists.denx.de Cc: Thomas Skibo Subject: [PATCH] riscv: Add missing sentinel in ocores_i2c.c Date: Sun, 15 Aug 2021 16:04:03 -0700 Message-Id: <20210815230403.3561-1-thomas-git@skibo.net> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Mon, 16 Aug 2021 03:17:33 +0200 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean The ocores_i2c.c driver is missing a sentinel at the end of the compatible strings list. This causes the "dm compat" command to spew garbage. Signed-off-by: Thomas Skibo --- drivers/i2c/ocores_i2c.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/i2c/ocores_i2c.c b/drivers/i2c/ocores_i2c.c index 088ba9a6a3..f129ec3818 100644 --- a/drivers/i2c/ocores_i2c.c +++ b/drivers/i2c/ocores_i2c.c @@ -626,6 +626,7 @@ static const struct udevice_id ocores_i2c_ids[] =3D { { .compatible =3D "aeroflexgaisler,i2cmst", .data =3D TYPE_GRLIB }, { .compatible =3D "sifive,fu540-c000-i2c" }, { .compatible =3D "sifive,i2c0" }, +{ } }; =20 U_BOOT_DRIVER(i2c_ocores) =3D { --=20 2.25.1