From patchwork Wed Sep 25 10:13:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Marangi X-Patchwork-Id: 1989280 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=vLNzWBK6; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=YrXgTvIi; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XDCKR62vVz1xt4 for ; Wed, 25 Sep 2024 20:15:23 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=MKsE4l4p6VQoG0JPrAtn5q8lyHe+y0zpgO26jqpXZ7M=; b=vLNzWBK6sRbZ3W CYCXEOFHxFSPS9G1ZIGhVsdDHkiUyKtvHtpIrHWjJkQUOzz8EhBDuIUt1B61XE6cpB+/U3tXYGnUx 908a52egmT9lORzb7O9loUF4iL/5jAIxcPHsM+RW7Qfqask+3osEPPVuiWT3gkr5GDZQhWKkuibED S7e1FFYXFQQZVkDvbjZCm+dIJ7hrlGspoLI/din2A/UQ3ER3bGA1/H+cuVZcOLzwfidC/iBaxefm+ XaZu5m1AGE1MP8qQRqlj136qmQKBMUK5qxcKS406iAF+c8SpDJ8Lo/IStYvpBSm9R+RszgW2o86JH g9i9JSOuCdG/MjR3bj3w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1stP3C-00000004is0-0B7u; Wed, 25 Sep 2024 10:15:14 +0000 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1stP39-00000004ir1-2eqs for linux-mtd@lists.infradead.org; Wed, 25 Sep 2024 10:15:13 +0000 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-42cde6b5094so61130655e9.3 for ; Wed, 25 Sep 2024 03:15:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727259310; x=1727864110; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=mH3iAq1TAeBK36lg95WliQsOcKLSEbditM8M8e4wTwE=; b=YrXgTvIi0MZWTQllnf7o/aP+iDfZ35hbGtglL34esLMroCmSRLZN8UWstbKzzDOksF e+ee1g2MF8PSfMpyfCWEPNCjHsXrw9PIxOIrqwOfuAFjMlgIBAUaeOIqM7AUaJ7z1GYl qlL02470t7DsjISBKWRTDeK2wxOIPNQjgTld/Q70Sxn+ClFiFvOdQ+69rey1bTxuKt2W vsRDRWOR+z0N7haE9Ff77jT2kSX21ZTblVoKSne6Rzsk+cHfdNaFn/zH0OtlCDt/7lwC zuEepnC6UGgnTDXoU2iDH7rqsezCBQgl10+raA0l6XNhtb8oVKud7SvLOmMGJ/8ROS+4 bpWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727259310; x=1727864110; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mH3iAq1TAeBK36lg95WliQsOcKLSEbditM8M8e4wTwE=; b=ae1aGr4jCZQo/pvVzO8jFESHtVBsmu6ziafvCz7VF266yNjzH8DqvxkJC2+brQ1EhH CM1xXr/LMxd+crSyx3YuJSMm2BPbhcVNLVgB0jcYy7Tws1EkQQKnFBztA3UzRavWNOm+ wVnwaV3noOLK/OGAslxzYgRyNONS5FAP/TvngwousGEeoumb8PVKFZoqiYOMRxWfmGjX QJY5JyuXKeyvzqWrG0p097ggnYsuftMWe2nWRThVdjFVoksRYYI35msyF+Tl37b//yUe ylRWSZ/zSF9Z2oYCBMBpo4V909ZLaJDi8baxGch2W2JylO8xGwZCp7SrM9z7Jek9FUUL XQug== X-Forwarded-Encrypted: i=1; AJvYcCV03uXJpz5g+2Qz1cnSWOaB85/X88Rn+cY+65TP+gixg6BEDmGt58oMdNObpqJJOWGQpePs2gFh+PY=@lists.infradead.org X-Gm-Message-State: AOJu0Yx0KeQWcuBWKnEybCXRDCUDAvweB/cRxTIVQefSW5u1ugxjw4f7 lZgJUxSoG6AkNGDIMvkdJCgdZC3m2V82LdAHgh21ciZvneWY5TgJ X-Google-Smtp-Source: AGHT+IEDuMF7AmbE72EiRIWfTyj8UDV6s6Ac8BVbi1Q8y0Keq8ajGW2UzIm9myAL8AG1LUQcAtjFmA== X-Received: by 2002:adf:f1ca:0:b0:374:c8cc:1bb1 with SMTP id ffacd0b85a97d-37cc24b575bmr1521519f8f.39.1727259309987; Wed, 25 Sep 2024 03:15:09 -0700 (PDT) Received: from localhost.localdomain (93-34-90-105.ip49.fastwebnet.it. [93.34.90.105]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-37cbc1560a7sm3628194f8f.0.2024.09.25.03.15.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2024 03:15:09 -0700 (PDT) From: Christian Marangi To: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Saravana Kannan , Christian Marangi , Florian Fainelli , Thomas Bogendoerfer , Wolfram Sang , linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Lorenzo Bianconi , upstream@airoha.com Subject: [PATCH 1/3] of: also export of_update_property Date: Wed, 25 Sep 2024 12:13:57 +0200 Message-ID: <20240925101422.8373-2-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240925101422.8373-1-ansuelsmth@gmail.com> References: <20240925101422.8373-1-ansuelsmth@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240925_031511_712182_DF2E9FBE X-CRM114-Status: UNSURE ( 9.92 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.1 (--) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Similar to how is done for of_add_property and of_remove_property, also export of_update_property to permit kmod to use this additional function and correctly update entry in DT. Signed-off-by: Christian Marangi --- drivers/of/base.c | 1 + 1 file changed, 1 insertion(+) Content analysis details: (-2.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [ansuelsmth(at)gmail.com] X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Similar to how is done for of_add_property and of_remove_property, also export of_update_property to permit kmod to use this additional function and correctly update entry in DT. Signed-off-by: Christian Marangi --- drivers/of/base.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/of/base.c b/drivers/of/base.c index 20603d3c9931..b2d523cf4925 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c @@ -1746,6 +1746,7 @@ int of_update_property(struct device_node *np, struct property *newprop) return rc; } +EXPORT_SYMBOL_GPL(of_update_property); static void of_alias_add(struct alias_prop *ap, struct device_node *np, int id, const char *stem, int stem_len)