Re: [PATCH] power: use EXPORT_SYMBOL() to export symbol
Christoph Hellwig <[email protected]>
| Newsgroups | org.kernel.vger.linux-pm,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Aug 20, 2026 at 12:44:45PM +0900, Dongbum Kim wrote:
> Add EXPORT_SYMBOL() to mark freeze_timeout_msecs symbol as visible.
>
> freeze_timeout_msecs defines the timeout for try_to_freeze_tasks. If
> tasks cannot be frozen within this timeout, try_to_freeze_tasks fails,
> and causes suspend or hibernation to fail.
>
> For example, a device driver may need to perform certain operations
I think you really should know that:
a) exports without users are a complete no-go, and sending them is
considered a major offence
b) even with users, exporting data (variables) is generally a bad idea
c) non-GPL exports for new functionality are almost always a bad idea
if not please take this up with your corporate and technical leadership
to ensure the Linux training standards at LG are up to date.