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 19454C77B71 for ; Thu, 6 Apr 2023 16:17:21 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 002CE85FAD; Thu, 6 Apr 2023 18:17:19 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=benettiengineering.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=aruba.it header.i=@aruba.it header.b="JtVm/32X"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0A81985DB6; Thu, 6 Apr 2023 18:17:19 +0200 (CEST) Received: from smtpcmd12131.aruba.it (smtpcmd12131.aruba.it [62.149.156.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 855FA85FAD for ; Thu, 6 Apr 2023 18:17:15 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=benettiengineering.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=giulio.benetti@benettiengineering.com Received: from localhost.localdomain ([212.103.203.10]) by Aruba Outgoing Smtp with ESMTPSA id kSIUpGX2OuS9DkSIUpVj4n; Thu, 06 Apr 2023 18:17:14 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1680797834; bh=TKBK7oioFkYZUbEDwm3Io6e8ShkkdMhVFQQU547blGI=; h=From:To:Subject:Date:MIME-Version; b=JtVm/32XeJfyVwH4BwohgXz6au9yku0Jjdv1ZwI8maYIU1ddYcwQz3uhPTIRQQulJ r4Tr6BFfpXB6789iY3Nuzum6YC+Ue5N0qqzRLlH4csEuX8MIOu5sSKdiODDZsGWi0P TBhJywCCfOkmpm0SXyIoLMcePNSW/H6I3U8vcFSfOC/DPju4Fr0sUC+mCgFiM1VE23 xotnxJkW+ohvzza2bLaOWnaKzwV0BvqZbcWe6ePZg+7YJbxlZk0oGb+L718lsLm32t Vp++gYb9grVuJFHQ4piuAV9hjeAqfBGCvybAggotSAp1F0dT989TOipMgfp08g6OUU 6sIwztA3TSy8g== From: Giulio Benetti To: Stefano Babic , Fabio Estevam Cc: "NXP i.MX U-Boot Team" , Giulio Benetti , u-boot@lists.denx.de Subject: [PATCH] arm: mx6: module_fuse: fix build failure due to wrong argument name Date: Thu, 6 Apr 2023 18:17:13 +0200 Message-Id: <20230406161713.73321-1-giulio.benetti@benettiengineering.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfJOLeyM4XTRJ9NfM9eGvlQWt0gyuA15mevchJ+qoIzdnRoVKqAgbrJAcPQckAvO6IIQ5MY5pCoUe2LnhoPhv6q9Fm//yxIZjGB936kMhalYm7EyJKjuX nUPbAxSntsaCaffPKBbaBPXCihiqPDwAQZ4Lxl8AggUalux22OKMg/mB4jOUsu+IYCossjTZvMYDawy6Yhnza+ygn+vY6OFPb4Om1ATP0WmwMW4vuh9SMV0i m9pfzrom96LI3r//iVyVnSbf318x5DZl3HBT7EOY1lh0H0LbUbgygDgsHqmrTAxZjVhnkXNJGLPhn4ycMNcgMFhhon9pGhQxftjO6OSf8za47jYE6h+hCEEC xdLNAjCp 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.8 at phobos.denx.de X-Virus-Status: Clean nodeoff variable should be variable off returned by fdt_path_offset() so let's rename it to off. Signed-off-by: Giulio Benetti --- arch/arm/mach-imx/mx6/module_fuse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/mx6/module_fuse.c b/arch/arm/mach-imx/mx6/module_fuse.c index 0f4565e311..b58f11c1e5 100644 --- a/arch/arm/mach-imx/mx6/module_fuse.c +++ b/arch/arm/mach-imx/mx6/module_fuse.c @@ -206,7 +206,7 @@ int ft_system_setup(void *blob, struct bd_info *bd) if (off < 0) continue; /* Not found, skip it */ add_status: - rc = fdt_setprop(blob, nodeoff, "status", status, + rc = fdt_setprop(blob, off, "status", status, strlen(status) + 1); if (rc) { if (rc == -FDT_ERR_NOSPACE) { -- 2.34.1