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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DCF19C433F5 for ; Wed, 29 Sep 2021 05:51:13 +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 1F9D560F4F for ; Wed, 29 Sep 2021 05:51:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 1F9D560F4F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com 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 B6FD783223; Wed, 29 Sep 2021 07:51:09 +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="WwcIwbql"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 51BB580C58; Wed, 29 Sep 2021 07:50:58 +0200 (CEST) Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) (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 8FD4B831D3 for ; Wed, 29 Sep 2021 07:50:54 +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=bmeng.cn@gmail.com Received: by mail-pf1-x436.google.com with SMTP id u7so982072pfg.13 for ; Tue, 28 Sep 2021 22:50:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=PhKqc5bmViVFYN7s7ibCpVgKJrOOhyW7E0wkjQj64Nc=; b=WwcIwbqln/9Hrwq28o7Sde3TpezuZgLBb6wkqOAF2kkbu+rCat3L9rVFlu6r7GnYZC lmSyixFoLvLWywbZH1pu7WE730t/JrWlKlPA34hs0ijLvGxGyWMvrk8kqhxMeN9kv58H qOWwkQ7q6sNo19XZVPF+HISdzdlXCN3KVBnnrthiBv3oHl1OG9/hSK117+JIYsVxUk9N D8A+pivWMM4+YV7DhKU+k59V1h8nPqjYkQ+NsnpbdTk1nWmoi8SS+3wxEx/QMjVGlj55 fSEFTbVVKePsUKfglmWmWkholZoE0a4nJelVWQwzaA5VKff5agckL9rjvysHvBrDJOsL CMZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=PhKqc5bmViVFYN7s7ibCpVgKJrOOhyW7E0wkjQj64Nc=; b=2YlNJxuaGS/yfS0E52N/RbximfHUXTp9ja087weUHk0RrdgL/o7Or8od8XduPv3IuA x5tLjP8Uc8GTSriLN1SQW0s3Oka9LoxZTtdYBn07xcKIFCuujId4ZptWXadutRHl/hpr 1DQS6Z97MK9b7Yczy1K9FKRUXyg0+76Zq+hE0xweGiUx/kUTppPNIQhHFdcBG6kOiNTX HfyN4CIRQlxniMWsyO9fg/wLLql58IORFojCKh0BPEJgXacwggdyayuHrdxlbtujbv5p /vJz0lwbmvtu1725+NBocoYEfGbN7MyVE3ainVipuAfsj3kfFEb1l89/Kh6zRy3nf/wx j24Q== X-Gm-Message-State: AOAM532PD4tRbfThQUL99fzTE4rpav4magnpg7CTHwQlwyf+ubv7Hb3J 2k2uBvjF4JCKGsUX9nJrkLc= X-Google-Smtp-Source: ABdhPJymphwwWYt4g5dVEOKRf43jchSzYg6JckZnjU+PZGEZoZaPHcyFkkOPyEaAxJpzmOh5Fy+WSA== X-Received: by 2002:aa7:9f06:0:b0:44b:9f33:24c2 with SMTP id g6-20020aa79f06000000b0044b9f3324c2mr6998245pfr.80.1632894653039; Tue, 28 Sep 2021 22:50:53 -0700 (PDT) Received: from i9-aorus-gtx1080.localdomain (144.168.56.201.16clouds.com. [144.168.56.201]) by smtp.gmail.com with ESMTPSA id r76sm981466pfc.2.2021.09.28.22.50.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Sep 2021 22:50:52 -0700 (PDT) From: Bin Meng To: Ramon Fried , u-boot@lists.denx.de Cc: Vladimir Oltean Subject: [PATCH 2/3] net: fec_mxc: Declare 'promisc' as bool Date: Wed, 29 Sep 2021 13:50:45 +0800 Message-Id: <20210929055046.4326-2-bmeng.cn@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210929055046.4326-1-bmeng.cn@gmail.com> References: <20210929055046.4326-1-bmeng.cn@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 priv->promisc is used as the parameter of the set_promisc() call which accepts a bool type instead of char. Signed-off-by: Bin Meng --- drivers/net/fec_mxc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/fec_mxc.h b/drivers/net/fec_mxc.h index 62b55ef395..133f535917 100644 --- a/drivers/net/fec_mxc.h +++ b/drivers/net/fec_mxc.h @@ -272,7 +272,7 @@ struct fec_priv { struct clk clk_ref; struct clk clk_ptp; u32 clk_rate; - char promisc; + bool promisc; }; /** -- 2.25.1