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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id BE370C433FE for ; Wed, 12 Oct 2022 22:15:50 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E7C8F84F13; Thu, 13 Oct 2022 00:15:17 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org 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=chromium.org header.i=@chromium.org header.b="m+OBU7HY"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AF5CC84EDE; Thu, 13 Oct 2022 00:15:09 +0200 (CEST) Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3CD0784EA9 for ; Thu, 13 Oct 2022 00:15:04 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@google.com Received: by mail-wr1-x431.google.com with SMTP id w18so125484wro.7 for ; Wed, 12 Oct 2022 15:15:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=P0uH1iPqRguPChSRahewqQQiwmeZEOJlVyKTBhe1Oqk=; b=m+OBU7HYko0c8Fh4dnDhJvFzp5uOLnGGvOBFNYPIh1fcO0SLG8OfMa/WDaZGCrT7Sq lGien4A3UEYtgV2MvV3TetPEKvuuQFAOdGjYcOuaG5QtzD3aQsDsSlnCVnEogZl/jQ73 YB3h6QPvoul3yuLdqz1BStYSW5SFr7E2gxA2Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=P0uH1iPqRguPChSRahewqQQiwmeZEOJlVyKTBhe1Oqk=; b=Ns9CW02ZHaQm3snZpTKBav+lexn0yrcQ3F5QEQtvzcxbj6Toz35p3IKUd7pcML6Vkg yKqA7th5XMG4XmqYWEPiKD/+oHkXls6UwEJvqTRNH1S2Kd7nwtbcMSXlM+wGW6l4dpsv KXIrfnU5giROc5HZD4ZLJXbMghCID7TdD4mLLE49OzHk2wQneF4Ss30hRsTwB9gPeSvv VLiTZP6JZqx0h8GCp0NsopV62qcTF/+Mm+OmW6SYzMfMe4gyE191Ejv2COKTHeZyn+Zy AkeL7NIFWLGnvSCVLAaa9hcIYKs3tR6MGjwmxRa3JP/oUcTb4ptkhkTL/K7UqPy94ctD 6tEw== X-Gm-Message-State: ACrzQf1bVDqSNTGJS/aMD1e/HrCMuNfo3ro/C7zF4amWT3f9NLVK0KPI tB8Jfw+hrSaWs2rCH7PiX7lSHusFDqB7FZpCBSa0HQ== X-Google-Smtp-Source: AMsMyM58a3r3MnXQ3NvprI21dsGYvJQV6QIG4f/Izde3xtjEz/zeXw6v8ehh/q72eSn2XUTiXBJAWfFkajlVwzjr/Xw= X-Received: by 2002:a05:6000:2a4:b0:22e:35ef:cc22 with SMTP id l4-20020a05600002a400b0022e35efcc22mr19566783wry.268.1665612903187; Wed, 12 Oct 2022 15:15:03 -0700 (PDT) MIME-Version: 1.0 References: <3e115ee1df480108cc5843074a0678562cccd194.1665604425.git.msuchanek@suse.de> In-Reply-To: <3e115ee1df480108cc5843074a0678562cccd194.1665604425.git.msuchanek@suse.de> From: Simon Glass Date: Wed, 12 Oct 2022 16:14:49 -0600 Message-ID: Subject: Re: [PATCH v6 15/20] mpc83xx: gazerbeam: Update sysinfo_get error handling To: Michal Suchanek Cc: u-boot@lists.denx.de, Mario Six Content-Type: text/plain; charset="UTF-8" X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.6 at phobos.denx.de X-Virus-Status: Clean On Wed, 12 Oct 2022 at 14:01, Michal Suchanek wrote: > > In a later patch sysinfo_get will be changed to return the device in cae > of an error. Set sysinfo to NULL on error to preserve previous behavior. > > Signed-off-by: Michal Suchanek > --- > board/gdsys/mpc8308/gazerbeam.c | 12 +++++++++--- > 1 file changed, 9 insertions(+), 3 deletions(-) Reviewed-by: Simon Glass