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=-2.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no 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 3DF30C48BE5 for ; Sat, 12 Jun 2021 19:02:12 +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 7B53461186 for ; Sat, 12 Jun 2021 19:02:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7B53461186 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DAAB4803AB; Sat, 12 Jun 2021 21:02:08 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="GJoEuYbB"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 72CA580412; Sat, 12 Jun 2021 21:02:07 +0200 (CEST) Received: from mail-oi1-x236.google.com (mail-oi1-x236.google.com [IPv6:2607:f8b0:4864:20::236]) (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 B800780377 for ; Sat, 12 Jun 2021 21:02:04 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=rfried.dev@gmail.com Received: by mail-oi1-x236.google.com with SMTP id l12so1988737oig.2 for ; Sat, 12 Jun 2021 12:02:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=uNgZO/uP4OKouIcUcn9m4SC0b1LGIePunDi4tKkbdA4=; b=GJoEuYbBS8g5uXJfaFLtq+NhQoUYaO6LZa8lRiaapx7L/723HGID1ZYtOqUhfq4092 M020gChK8LDO1N7tu9z3Km89Op5zRQnS8xdERO5FDppSnmSyvNaBVtNz+GOSVRiamGES L04fL/BeqG8IrOao3keQ4W9o2gXuXLR/wCZTIxcWOasVXVtyW1g8sz5NDa/eTDZ+lXLQ nGuiqKk8ZV2aE5Ga8myPKWPuHpxUmKwGg8jrGoCZIicTgkaiuQ8bwXMeHfDgRU/GoYsN 7DWzb+O0IBMpo20M8F2AvMoA9IYMdq25VlExGDtE/Rput2cX/YAIemT+BxENFo2Fv//B PtpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=uNgZO/uP4OKouIcUcn9m4SC0b1LGIePunDi4tKkbdA4=; b=iE5YjWtmrRqdg26j077DndkAIL8/zuFzCOxeheBaseuZfLDWkNuMbbiwQvaFY7Nain 10xdhU7aGr7nwbmSgaY5BU3NLGatTqvH0rmFzHaAy6rdaAHLucrIBBfBlhFgKu6uhC/C ZJwXymRDq7ySbIkgyyRo7xY+ZJh2G4qaLlplOfO67jQuqtJ/v1GpHdhObg73JB8+Yyzk 6T1K4lZS2TT4xlrp0kEpFfVmrEx6srYD/+fsqs7scgES/CTM0uJ6SSD9G8jpGuKpU1hx 1oJzI6p40cqedVusaqf+zOuolAVf6ZvKlxFIHLYVgBQJtKCjSxXxp3eTTQydTL6SfqVZ KQnA== X-Gm-Message-State: AOAM532NloVP5pKo2ECUYPkjrNDtjwpc9xq7mwMBTaYt1Jrni+McTWOl 6m/t+HpnRKZGY2g9rFO8kvSNjnHRIOq9YvnDyK6FpmPWScfpiw== X-Google-Smtp-Source: ABdhPJxQ999aEHsKkj87qLNsNTY+cJx9gZCMcrxP/8A1O27548Dun9GNF7if7U+U4hfIMRJhcdvKaZjdHbo3dVmr6lY= X-Received: by 2002:aca:3b09:: with SMTP id i9mr6829438oia.92.1623524523614; Sat, 12 Jun 2021 12:02:03 -0700 (PDT) MIME-Version: 1.0 References: <20210611195259.6040-1-tharvey@gateworks.com> In-Reply-To: From: Ramon Fried Date: Sat, 12 Jun 2021 22:01:52 +0300 Message-ID: Subject: Re: [PATCH v2] cmd: net: add a 'net list' command to list network devs To: Tim Harvey , U-Boot Mailing List , Joe Hershberger Content-Type: text/plain; charset="UTF-8" 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 Hi Tim. The patch fails build in several boards (Malta variants): +cmd/net.c: In function 'do_net_list': 42+cmd/net.c:487:34: error: initialization of 'const struct udevice *' from incompatible pointer type 'struct eth_device *' [-Werror=incompatible-pointer-types] 43+ 487 | const struct udevice *current = eth_get_dev(); 44+ | ^~~~~~~~~~~ Thanks, Ramon.