Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

driver core: remove device_change_owner() export

The function, device_change_owner() is exported for modules to use,
but there are no in-kernel users of it, so remove the export to prevent
out-of-tree code from thinking this is a safe function to call.

Reviewed-by: Danilo Krummrich <dakr@kernel.org>
Reviewed-by: Rafael J. Wysocki (Intel) <rafael@kernel.org>
Link: https://patch.msgid.link/2026020543-molar-childcare-af20@gregkh
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

-1
-1
drivers/base/core.c
··· 4781 4781 put_device(dev); 4782 4782 return error; 4783 4783 } 4784 - EXPORT_SYMBOL_GPL(device_change_owner); 4785 4784 4786 4785 /** 4787 4786 * device_shutdown - call ->shutdown() on each device to shutdown.