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 5950AC433EF for ; Mon, 1 Nov 2021 06:15:48 +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 A531E60F42 for ; Mon, 1 Nov 2021 06:15:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org A531E60F42 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 8A2338343E; Mon, 1 Nov 2021 07:15:36 +0100 (CET) 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="LZ2Hud77"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3A3EE83475; Mon, 1 Nov 2021 07:15:31 +0100 (CET) Received: from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com [IPv6:2607:f8b0:4864:20::52a]) (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 B5EAA83383 for ; Mon, 1 Nov 2021 07:15:26 +0100 (CET) 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-pg1-x52a.google.com with SMTP id r28so16394130pga.0 for ; Sun, 31 Oct 2021 23:15:26 -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=YN11WagKbCkYDlqkh4KcJoltPIuQxAdokkT17zumzRU=; b=LZ2Hud773M/gJQLJFWF/tIv2vfQPpYzjelP9fvVCyiR78Ni5wHZJh77jiPh2fnVGq7 TWAR9Nm5UPIjgV6riAReVFDXnI1dWipq1ZrOKBzWGvJyQczwGWeWhVEzRag29PaBaMEI 6vzHhece6D9t6q3fH9hHDEtB1pcql3W6OH++zx4gCssY/kFt/PjOERfGC6yyUUMDQkB6 OKjgcg/I2YOO0MAe/mCmOOOARV6lT/BW2/5e9TvZtpdCgjvEDt84QrckSYGnMAC+Gzib l1OgZNDT6RLrNZBmFygvVeTP6Q2bT7btwjnwviDLpKaRHV6ZuOzncI3VMJqb5qfq4X0a VGIA== 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=YN11WagKbCkYDlqkh4KcJoltPIuQxAdokkT17zumzRU=; b=e7cRt/+y4N24+swlJW9TPVmMbX8dymYF7BSrmfL4KB+LYZzYWB3tuUqglAjdcNY585 fJclyFVeZU+0Jpc8CwkIgGFJdUtuc1T0bIC28t/1NcmjcLwLJxc+Ugwy32qgJGEgs22W Q24RNhcbrDovhJE3z04hM+a2QA57VVjzTBpcvCL8FwbMAlX1b8ARG8smhbL2xaLMOVlY r4MvFCBDnHo+DlLPUFiy3O3UGfBBxbX+USwQDiiwogipHKY1c4IvOqN8hs1rG0gnHur5 +mb+RCl1elpl+9kGFC8B/wZu+bscrc90G+SJvBFGTyKCT5a88UKhlaOOZQPrtJI/AIHD QCSg== X-Gm-Message-State: AOAM531nAcMXeIAuwcclcNCVIN+vOUDcjMLnJQA4pkKOSMgL75AbkWsf TZcSvcSAia+yASt8lPZhc3RjqfVG8eQ= X-Google-Smtp-Source: ABdhPJzpg7fK3aMJ0nkKWLC4P3HCsZn9LhdFFEpUI3PxNBUzRQTRDSPOZDzDe1SIrNBy8uEztoOxHA== X-Received: by 2002:a63:2c15:: with SMTP id s21mr20638536pgs.189.1635747325027; Sun, 31 Oct 2021 23:15:25 -0700 (PDT) Received: from pek-vx-bsp2.wrs.com (unknown-176-192.windriver.com. [147.11.176.192]) by smtp.gmail.com with ESMTPSA id d15sm15430917pfu.12.2021.10.31.23.15.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Oct 2021 23:15:24 -0700 (PDT) From: Bin Meng To: u-boot@lists.denx.de Cc: Vladimir Oltean , Ramon Fried Subject: [PATCH v2 2/3] net: fec_mxc: Declare 'promisc' as bool Date: Mon, 1 Nov 2021 14:15:11 +0800 Message-Id: <20211101061512.3277805-2-bmeng.cn@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211101061512.3277805-1-bmeng.cn@gmail.com> References: <20211101061512.3277805-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 Reviewed-by: Vladimir Oltean Reviewed-by: Ramon Fried --- (no changes since v1) 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 1c0d0e5b8f..48faa33d66 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