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 6264DC433F5 for ; Thu, 29 Sep 2022 10:04:52 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C50F484D92; Thu, 29 Sep 2022 12:02:58 +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="YmecRI+f"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0B7B184CBC; Thu, 29 Sep 2022 12:01:57 +0200 (CEST) Received: from mail-ot1-x332.google.com (mail-ot1-x332.google.com [IPv6:2607:f8b0:4864:20::332]) (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 C3BB184CB1 for ; Thu, 29 Sep 2022 12:01:51 +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-ot1-x332.google.com with SMTP id r13-20020a056830418d00b0065601df69c0so565882otu.7 for ; Thu, 29 Sep 2022 03:01:51 -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; bh=HMvRXBrVrNd/EXZLL4661Xn9a8ISvqXqdgufSF/0ctU=; b=YmecRI+fXm87D42kZ1FWOXTTr9Rquk2lMn3r8hEUfi//74v7p0FE9H+eHR2Txi+A+4 d4gbZHxYR/umAaJIIyvkBQyezGn3Y8i9N4E443KSdBuNJlUB6WbWh/jjodKkGngLLNFE Kes+CWawX4j+WypjPRA3LRuROvjlStEeWur/o= 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; bh=HMvRXBrVrNd/EXZLL4661Xn9a8ISvqXqdgufSF/0ctU=; b=p8GzbcZGhHuKmk6ywBaHyXIhVbeUdPj583mqv+kmFcqqbzSejlmjBzCJD3ZFkwaGf3 jWcbYXe2SdVO7bvL8Jzrv66k03IXp3pp2F/BGWo6bE1jhT8zSIT5iH4Qn49/5+PkMRZF lSMfq+U+GHs3G+r6ERg2E8yi/skpDSSnMgRY5Y7Oxeopb7pBj4jx3cY3v2/TCtSMq0/m BSxlPHE+FeWLDp9VF3RUK63mgvAZtntZT4QIdicmXGfzAg32Y66QnURDIih3m1FZimbZ HmwDLn2l29ZBbULeZjChQPUI5m5jOmAny1wnKI9CAt3RFkgNt2seQ+TAbKbTX5MWRjb7 gZ2w== X-Gm-Message-State: ACrzQf01d4VETyJOLY37JfvnPBWSidrWXvcXZvlouh7NXTWh2fDEDJbo 0iToYqFqykY4Wb+o8T99RqRigt2FsDzajHbPHeU0xpUMbOw= X-Google-Smtp-Source: AMsMyM4DiZ1NK2ktYZ9VJ4axEeXBdDlKa++ZgGj4hz67xOBVt4iIWAL4m0OdkBCHOhu7v3T6Q1+tiL6t7kJ49nrC1GY= X-Received: by 2002:a05:6830:20d3:b0:655:cd22:b47c with SMTP id z19-20020a05683020d300b00655cd22b47cmr923924otq.351.1664445710133; Thu, 29 Sep 2022 03:01:50 -0700 (PDT) MIME-Version: 1.0 References: <2adaf2730dc7be56cd2ce27fa32d0e7294e02cbe.1664314043.git.msuchanek@suse.de> In-Reply-To: <2adaf2730dc7be56cd2ce27fa32d0e7294e02cbe.1664314043.git.msuchanek@suse.de> From: Simon Glass Date: Thu, 29 Sep 2022 04:00:45 -0600 Message-ID: Subject: Re: [PATCH v5 11/15] dm: treewide: Use uclass_next_device_err when accessing second device To: Michal Suchanek Cc: U-Boot Mailing List , Eugen Hristev 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 Tue, 27 Sept 2022 at 15:40, Michal Suchanek wrote: > > There are a couple users of uclass_next_device return value that get the > first device by other means and use uclass_next_device assuming the > following device in the uclass is related to the first one. > > Use uclass_next_device_err because the return value from > uclass_next_device will be removed in a later patch. > > Signed-off-by: Michal Suchanek > --- > arch/arm/mach-k3/j721s2_init.c | 2 +- > board/atmel/common/mac_eeprom.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Simon Glass