From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Subject: [PATCH] treewide: Fix wrong EXPORT_SYMBOL()
Date: Fri, 16 Jan 2026 10:18:13 +0100 [thread overview]
Message-ID: <20260116091813.1370724-1-s.hauer@pengutronix.de> (raw)
- duplicate EXPORT_SYMBOL_GPL(gpio_request_one), one should be
EXPORT_SYMBOL_GPL(gpiod_request_one) instead
- duplicate EXPORT_SYMBOL(ucs2_strncmp), one should be
EXPORT_SYMBOL(ucs2_strcmp) instead
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
drivers/gpio/gpiolib.c | 3 +--
lib/ucs2_string.c | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c
index e1493ffb66..582f3fe58f 100644
--- a/drivers/gpio/gpiolib.c
+++ b/drivers/gpio/gpiolib.c
@@ -662,8 +662,7 @@ struct gpio_desc *gpiod_request_one(unsigned gpio,
return desc;
}
-EXPORT_SYMBOL_GPL(gpio_request_one);
-
+EXPORT_SYMBOL_GPL(gpiod_request_one);
/**
* gpio_request_one - request a single GPIO with initial configuration
diff --git a/lib/ucs2_string.c b/lib/ucs2_string.c
index db3f34f6b7..6f027010d3 100644
--- a/lib/ucs2_string.c
+++ b/lib/ucs2_string.c
@@ -113,7 +113,7 @@ ucs2_strcmp(const ucs2_char_t *a, const ucs2_char_t *b)
{
return ucs2_strncmp(a, b, ~0UL);
}
-EXPORT_SYMBOL(ucs2_strncmp);
+EXPORT_SYMBOL(ucs2_strcmp);
unsigned long
ucs2_utf8size(const ucs2_char_t *src)
--
2.47.3
next reply other threads:[~2026-01-16 9:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-16 9:18 Sascha Hauer [this message]
2026-01-16 10:17 ` Ahmad Fatoum
2026-01-16 15:25 ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260116091813.1370724-1-s.hauer@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox