module: Strict per-modname namespaces
Subsystems (249)
Peter Zijlstra
maintainerRFC 1/1 module: Strict per-modname namespaces
Hi,
I've been wanting $topic for a while, and having just stumbled into the whole namespace thing by accident, I figured I'd give it a go, most if the hard parts seem to have already been done.
It reserves and disallows imports on any "MODULE_${name}" namespace, while it implicitly adds the same namespace to every module.
This allows exports targeted at specific modules and no others -- one random example included. I've hated the various kvm exports we've had for a while, and strictly limiting them to the kvm module helps alleviate some abuse potential.
--- arch/x86/kernel/fpu/core.c | 2 +- kernel/module/main.c | 28 ++++++++++++++++++++++++++-- scripts/mod/modpost.c | 29 ++++++++++++++++++++--------- 3 files changed, 47 insertions(+), 12 deletions(-)
arch/x86/kernel/fpu/core.c +1 -1
@@ -366,7 +366,7 @@ int fpu_swap_kvm_fpstate(struct fpu_guest *guest_fpu, bool enter_guest)fpregs_unlock ();return 0 ; } -EXPORT_SYMBOL_GPL (fpu_swap_kvm_fpstate); +EXPORT_SYMBOL_NS_GPL (fpu_swap_kvm_fpstate, MODULE_kvm);void fpu_copy_guest_fpstate_to_uabi (struct fpu_guest *gfpu,void *buf,unsigned int size,u64 xfeatures,u32 pkru)
kernel/module/main.c +26 -2
@@ -1070,6 +1070,13 @@ static int verify_namespace_is_imported(const struct load_info *info, namespace =kernel_symbol_namespace (sym);if (namespace && namespace[0 ]) { +/* +* Implicitly import MODULE_${mod->name} namespace. +*/ +if (strncmp (namespace,"MODULE_" ,7 ) ==0 && +strcmp (namespace+7 , mod->name) ==0 ) +return 0 ; +for_each_modinfo_entry (imported_namespace, info,"import_ns" ) {if (strcmp (namespace, imported_namespace) ==0 )return 0 ;
@@ -1613,15 +1620,30 @@ static void module_license_taint_check(struct module *mod, const char *license) } } -static void setup_modinfo (struct module *mod,struct load_info *info) +static int setup_modinfo (struct module *mod,struct load_info *info) {struct module_attribute *attr; +char *imported_namespace;int i;for (i =0 ; (attr = modinfo_attrs[i]); i++) {if (attr->setup) attr->setup (mod,get_modinfo (info, attr->attr.name)); } + +for_each_modinfo_entry (imported_namespace, info,"import_ns" ) { +/* +* 'MODULE_' prefixed namespaces are implicit, disallow +* explicit imports. +*/ +if (strstarts (imported_namespace,"MODULE_" )) { +pr_err ("%s: module tries to import module namespace: %s\n" , + mod->name, imported_namespace); +return -EPERM ; + } + } + +return 0 ; }static void free_modinfo (struct module *mod)
@@ -2935,7 +2957,9 @@ static int load_module(struct load_info *info, const char __user *uargs, goto free_unload;/* Set up MODINFO_ATTR fields */ -setup_modinfo (mod, info); + err =setup_modinfo (mod, info); +if (err) + goto free_modinfo;/* Fix up syms, so that st_value is a pointer to location. */ err =simplify_symbols (mod, info);
scripts/mod/modpost.c +20 -9
@@ -1553,8 +1553,19 @@ static void mod_set_crcs(struct module *mod)free (buf); } +static const char *mod_basename (const char *modname) +{ +const char *basename =strrchr (modname,'/' ); +if (basename) + basename++; +else + basename = modname; +return basename; +} +static void read_symbols (const char *modname) { +char module_namespace[MODULE_NAME_LEN +8 ];const char *symname;char *version;char *license;
@@ -1586,12 +1597,16 @@ static void read_symbols(const char *modname) license =get_next_modinfo (&info,"license" , license); } - namespace =get_modinfo (&info,"import_ns" ); -while (namespace) { +for (namespace =get_modinfo (&info,"import_ns" ); namespace; + namespace =get_next_modinfo (&info,"import_ns" , namespace)) { +if (strstarts (namespace,"MODULE_" )) +error ("importing implicit module namespace: %s\n" , namespace); +add_namespace (&mod->imported_namespaces, namespace); - namespace =get_next_modinfo (&info,"import_ns" , - namespace); } +snprintf (module_namespace,sizeof (module_namespace),"MODULE_%s" , +mod_basename (mod->name)); +add_namespace (&mod->imported_namespaces, module_namespace);if (extra_warn && !get_modinfo (&info,"description" ))warn ("missing MODULE_DESCRIPTION() in %s\n" , modname);
@@ -1700,11 +1715,7 @@ static void check_exports(struct module *mod) s->crc_valid = exp->crc_valid; s->crc = exp->crc; - basename =strrchr (mod->name,'/' ); -if (basename) - basename++; -else - basename = mod->name; + basename =mod_basename (mod->name);if (!contains_namespace (&mod->imported_namespaces, exp->namespace)) { modpost_log(!allow_missing_ns_imports,
Luis Chamberlain
maintainerQuoted 5 lines · Peter Zijlstra
Hi,
I've been wanting $topic for a while, and having just stumbled into the whole namespace thing by accident, I figured I'd give it a go, most if the hard parts seem to have already been done.
Neat, hch suggested something similar a while back
https://lore.kernel.org/all/[email protected]/
Quoted 2 lines
It reserves and disallows imports on any "MODULE_${name}" namespace, while it implicitly adds the same namespace to every module.
That's simple enough, I like it.
Quoted 4 lines
This allows exports targeted at specific modules and no others -- one random example included. I've hated the various kvm exports we've had for a while, and strictly limiting them to the kvm module helps alleviate some abuse potential.
Yeah we also want:
EXPORT_SYMBOL_NS_GPL(bdev_disk_changed, MODULE_loop); EXPORT_SYMBOL_NS_GPL(bdev_disk_changed, MODULE_dasd_kmod);
But we might as well have EXPORT_SYMBOL_GPL_FOR() with the implied module list. We could then add just:
EXPORT_SYMBOL_GPL_FOR(bdev_disk_changed, loop);
But it would be nice to just also support this as well:
EXPORT_SYMBOL_GPL_FOR(bdev_disk_changed, loop, dasd_kmod);
That's possible perhaps something grotesque like this:
#define _EXPORT_SYMBOL_GPL_FOR_EACH(name, module) EXPORT_SYMBOL_NS_GPL(name, MODULE_##module);
#define _GET_MACRO(_1, _2, _3, _4, _5, NAME, ...) NAME
#define _EXPORT_SYMBOL_GPL_FOR1(name, a) \
_EXPORT_SYMBOL_GPL_FOR_EACH(name, a)
#define _EXPORT_SYMBOL_GPL_FOR2(name, a, b) \
_EXPORT_SYMBOL_GPL_FOR_EACH(name, a) \
_EXPORT_SYMBOL_GPL_FOR_EACH(name, b)#define _EXPORT_SYMBOL_GPL_FOR3(name, a, b, c) \
_EXPORT_SYMBOL_GPL_FOR_EACH(name, a) \
_EXPORT_SYMBOL_GPL_FOR_EACH(name, b) \
_EXPORT_SYMBOL_GPL_FOR_EACH(name, c)#define _EXPORT_SYMBOL_GPL_FOR4(name, a, b, c, d) \
_EXPORT_SYMBOL_GPL_FOR_EACH(name, a) \
_EXPORT_SYMBOL_GPL_FOR_EACH(name, b) \
_EXPORT_SYMBOL_GPL_FOR_EACH(name, c) \
_EXPORT_SYMBOL_GPL_FOR_EACH(name, d)#define _EXPORT_SYMBOL_GPL_FOR5(name, a, b, c, d, e) \
_EXPORT_SYMBOL_GPL_FOR_EACH(name, a) \
_EXPORT_SYMBOL_GPL_FOR_EACH(name, b) \
_EXPORT_SYMBOL_GPL_FOR_EACH(name, c) \
_EXPORT_SYMBOL_GPL_FOR_EACH(name, d) \
_EXPORT_SYMBOL_GPL_FOR_EACH(name, e)#define EXPORT_SYMBOL_GPL_FOR(name, ...) \
_GET_MACRO(__VA_ARGS__, \
_EXPORT_SYMBOL_GPL_FOR5, \
_EXPORT_SYMBOL_GPL_FOR4, \
_EXPORT_SYMBOL_GPL_FOR3, \
_EXPORT_SYMBOL_GPL_FOR2, \
_EXPORT_SYMBOL_GPL_FOR1)(name, __VA_ARGS__)Luis
Quoted 14 lines · Luis Chamberlain
Quoted 4 lines
This allows exports targeted at specific modules and no others -- one random example included. I've hated the various kvm exports we've had for a while, and strictly limiting them to the kvm module helps alleviate some abuse potential.
Yeah we also want:
EXPORT_SYMBOL_NS_GPL(bdev_disk_changed, MODULE_loop);EXPORT_SYMBOL_NS_GPL(bdev_disk_changed, MODULE_dasd_kmod);But we might as well have
EXPORT_SYMBOL_GPL_FOR()with the implied module list. We could then add just:
Quoted 5 lines
EXPORT_SYMBOL_GPL_FOR(bdev_disk_changed, loop);But it would be nice to just also support this as well:
EXPORT_SYMBOL_GPL_FOR(bdev_disk_changed, loop, dasd_kmod);
Parsing a variable length list in a single macro tends to be a bit of a pain, and I don't think there is much benefit. Most of the cases should be exactly one module. If we can cover the small uses of multiple uses with multiple exports I think its perfectly fine, and if we can't cover it at all I can probably live with that aswell.
Quoted 20 lines · Christoph Hellwig
Quoted 18 lines · Luis Chamberlain
Quoted 4 lines
This allows exports targeted at specific modules and no others -- one random example included. I've hated the various kvm exports we've had for a while, and strictly limiting them to the kvm module helps alleviate some abuse potential.
Yeah we also want:
EXPORT_SYMBOL_NS_GPL(bdev_disk_changed, MODULE_loop);EXPORT_SYMBOL_NS_GPL(bdev_disk_changed, MODULE_dasd_kmod);But we might as well have
EXPORT_SYMBOL_GPL_FOR()with the implied module list. We could then add just:
EXPORT_SYMBOL_GPL_FOR(bdev_disk_changed, loop);But it would be nice to just also support this as well:
Quoted 8 lines
Quoted 1 line
EXPORT_SYMBOL_GPL_FOR(bdev_disk_changed, loop, dasd_kmod);Parsing a variable length list in a single macro tends to be a bit of a pain, and I don't think there is much benefit. Most of the cases should be exactly one module. If we can cover the small uses of multiple uses with multiple exports I think its perfectly fine, and if we can't cover it at all I can probably live with that aswell.
Perhaps, the namespace argument can be a string.
EXPORT_SYMBOL_GPL_FOR(bdev_disk_changed, "loop,dasd_kmos");
If a symbol is intended for particular subsystem drivers, maybe, we can support a wildcard.
/*
* foo_register and foo_unregister can be used by
* modules names "foo-*".
*/EXPORT_SYMBOL_GPL_FOR(foo_register, "foo-*");EXPORT_SYMBOL_GPL_FOR(foo_unregister, "foo-*");
Commit d143b9db8069f0e2a0fa34484e806a55a0dd4855
revealed a bare namespace string was a bad idea.
With EXPORT_SYMBOL_NS_GPL(dw_spi_resume_host, SPI_DW_CORE) we do not know if "SPI_DW_CORE" is really a namespace string, or replaced with another string by macro expansions.
With EXPORT_SYMBOL_NS_GPL(dw_spi_resume_host, "SPI_DW_CORE") we clearly know "SPI_DW_CORE" is a namespace string.
https://lore.kernel.org/lkml/[email protected]/T/
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
EXPORT_SYMBOL_NS_GPL(dw_spi_resume_host, "SPI_DW_CORE")is much much better than:
EXPORT_SYMBOL_NS_GPL(dw_spi_resume_host, SPI_DW_CORE)
Signature · 2 lines
Best Regards Masahiro Yamada
Peter Zijlstra
maintainerQuoted 10 lines · Masahiro Yamada
Commit
d143b9db8069f0e2a0fa34484e806a55a0dd4855
revealed a bare namespace string was a bad idea.With
EXPORT_SYMBOL_NS_GPL(dw_spi_resume_host, SPI_DW_CORE)we do not know if "SPI_DW_CORE" is really a namespace string, or replaced with another string by macro expansions.With
EXPORT_SYMBOL_NS_GPL(dw_spi_resume_host, "SPI_DW_CORE")we clearly know "SPI_DW_CORE" is a namespace string.
Ah yes, that problem. But this is easily solved.
git grep -l MODULE_IMPORT_NS | while read file; do sed -i 's/MODULE_IMPORT_NS(\([^)]*\))/MODULE_IMPORT_NS("\1")/g' $file ; done git grep -l EXPORT_SYMBOL_NS | while read file; do sed -i 's/\(EXPORT_SYMBOL_NS[^(]*\)(\([^,]*\), \([^)]*\))/\1(\2, "\3")/g' $file ; done
and small manual edits to module.h and export.h should ... *sigh* and a few stray files because they split the EXPORT over two lines.
This passes allmodconfig
--- Documentation/core-api/symbol-namespaces.rst | 8 +-- .../it_IT/core-api/symbol-namespaces.rst | 8 +-- .../zh_CN/core-api/symbol-namespaces.rst | 8 +-- arch/arm64/crypto/aes-ce-ccm-glue.c | 2 +- arch/arm64/crypto/aes-glue.c | 2 +- arch/powerpc/crypto/vmx.c | 2 +- arch/s390/crypto/aes_s390.c | 2 +- arch/x86/mm/pat/set_memory.c | 4 +- crypto/adiantum.c | 2 +- crypto/ansi_cprng.c | 2 +- crypto/ccm.c | 2 +- crypto/cipher.c | 6 +- crypto/cmac.c | 2 +- crypto/ctr.c | 2 +- crypto/drbg.c | 2 +- crypto/ecb.c | 2 +- crypto/essiv.c | 2 +- crypto/hctr2.c | 2 +- crypto/keywrap.c | 2 +- crypto/pcbc.c | 2 +- crypto/skcipher.c | 2 +- crypto/testmgr.c | 2 +- crypto/vmac.c | 2 +- crypto/xcbc.c | 2 +- crypto/xctr.c | 2 +- crypto/xts.c | 2 +- drivers/accel/habanalabs/common/memory.c | 2 +- drivers/accel/qaic/qaic_drv.c | 2 +- drivers/acpi/apei/einj-cxl.c | 8 +-- drivers/acpi/apei/ghes.c | 6 +- drivers/acpi/numa/hmat.c | 2 +- drivers/acpi/thermal.c | 2 +- drivers/acpi/thermal_lib.c | 8 +-- drivers/auxdisplay/ht16k33.c | 2 +- drivers/auxdisplay/img-ascii-lcd.c | 2 +- drivers/auxdisplay/line-display.c | 4 +- drivers/auxdisplay/max6959.c | 2 +- drivers/auxdisplay/seg-led-gpio.c | 2 +- drivers/base/firmware_loader/builtin/main.c | 2 +- drivers/base/firmware_loader/fallback_table.c | 6 +- drivers/base/firmware_loader/sysfs.h | 2 +- drivers/cdx/cdx.c | 8 +-- drivers/cdx/cdx_msi.c | 2 +- drivers/cdx/controller/cdx_controller.c | 2 +- drivers/clk/meson/a1-peripherals.c | 2 +- drivers/clk/meson/a1-pll.c | 2 +- drivers/clk/meson/axg-aoclk.c | 2 +- drivers/clk/meson/axg-audio.c | 2 +- drivers/clk/meson/axg.c | 2 +- drivers/clk/meson/c3-peripherals.c | 2 +- drivers/clk/meson/c3-pll.c | 2 +- drivers/clk/meson/clk-cpu-dyndiv.c | 4 +- drivers/clk/meson/clk-dualdiv.c | 6 +- drivers/clk/meson/clk-mpll.c | 6 +- drivers/clk/meson/clk-phase.c | 8 +-- drivers/clk/meson/clk-pll.c | 8 +-- drivers/clk/meson/clk-regmap.c | 14 ++-- drivers/clk/meson/g12a-aoclk.c | 2 +- drivers/clk/meson/g12a.c | 2 +- drivers/clk/meson/gxbb-aoclk.c | 2 +- drivers/clk/meson/gxbb.c | 2 +- drivers/clk/meson/meson-aoclk.c | 4 +- drivers/clk/meson/meson-clkc-utils.c | 4 +- drivers/clk/meson/meson-eeclk.c | 4 +- drivers/clk/meson/s4-peripherals.c | 2 +- drivers/clk/meson/s4-pll.c | 2 +- drivers/clk/meson/sclk-div.c | 4 +- drivers/clk/meson/vclk.c | 6 +- drivers/clk/meson/vid-pll-div.c | 4 +- drivers/clk/microchip/clk-mpfs.c | 2 +- drivers/clk/sunxi-ng/ccu-sun20i-d1-r.c | 2 +- drivers/clk/sunxi-ng/ccu-sun20i-d1.c | 2 +- drivers/clk/sunxi-ng/ccu-sun4i-a10.c | 2 +- drivers/clk/sunxi-ng/ccu-sun50i-a100-r.c | 2 +- drivers/clk/sunxi-ng/ccu-sun50i-a100.c | 2 +- drivers/clk/sunxi-ng/ccu-sun50i-a64.c | 2 +- drivers/clk/sunxi-ng/ccu-sun50i-h6-r.c | 2 +- drivers/clk/sunxi-ng/ccu-sun50i-h6.c | 2 +- drivers/clk/sunxi-ng/ccu-sun50i-h616.c | 2 +- drivers/clk/sunxi-ng/ccu-sun6i-a31.c | 2 +- drivers/clk/sunxi-ng/ccu-sun6i-rtc.c | 2 +- drivers/clk/sunxi-ng/ccu-sun8i-a23.c | 2 +- drivers/clk/sunxi-ng/ccu-sun8i-a33.c | 2 +- drivers/clk/sunxi-ng/ccu-sun8i-a83t.c | 2 +- drivers/clk/sunxi-ng/ccu-sun8i-de2.c | 2 +- drivers/clk/sunxi-ng/ccu-sun8i-h3.c | 2 +- drivers/clk/sunxi-ng/ccu-sun8i-r.c | 2 +- drivers/clk/sunxi-ng/ccu-sun8i-r40.c | 2 +- drivers/clk/sunxi-ng/ccu-sun8i-v3s.c | 2 +- drivers/clk/sunxi-ng/ccu-sun9i-a80-de.c | 2 +- drivers/clk/sunxi-ng/ccu-sun9i-a80-usb.c | 2 +- drivers/clk/sunxi-ng/ccu-sun9i-a80.c | 2 +- drivers/clk/sunxi-ng/ccu-suniv-f1c100s.c | 2 +- drivers/clk/sunxi-ng/ccu_common.c | 8 +-- drivers/clk/sunxi-ng/ccu_div.c | 2 +- drivers/clk/sunxi-ng/ccu_frac.c | 12 ++-- drivers/clk/sunxi-ng/ccu_gate.c | 8 +-- drivers/clk/sunxi-ng/ccu_mp.c | 4 +- drivers/clk/sunxi-ng/ccu_mult.c | 2 +- drivers/clk/sunxi-ng/ccu_mux.c | 12 ++-- drivers/clk/sunxi-ng/ccu_nk.c | 2 +- drivers/clk/sunxi-ng/ccu_nkm.c | 2 +- drivers/clk/sunxi-ng/ccu_nkmp.c | 2 +- drivers/clk/sunxi-ng/ccu_nm.c | 2 +- drivers/clk/sunxi-ng/ccu_phase.c | 2 +- drivers/clk/sunxi-ng/ccu_reset.c | 2 +- drivers/clk/sunxi-ng/ccu_sdm.c | 12 ++-- drivers/counter/104-quad-8.c | 2 +- drivers/counter/counter-chrdev.c | 2 +- drivers/counter/counter-core.c | 14 ++-- drivers/counter/ftm-quaddec.c | 2 +- drivers/counter/i8254.c | 4 +- drivers/counter/intel-qep.c | 2 +- drivers/counter/interrupt-cnt.c | 2 +- drivers/counter/microchip-tcb-capture.c | 2 +- drivers/counter/rz-mtu3-cnt.c | 2 +- drivers/counter/stm32-lptimer-cnt.c | 2 +- drivers/counter/stm32-timer-cnt.c | 2 +- drivers/counter/ti-ecap-capture.c | 2 +- drivers/counter/ti-eqep.c | 2 +- drivers/crypto/geode-aes.c | 2 +- drivers/crypto/inside-secure/safexcel.c | 2 +- drivers/crypto/intel/iaa/iaa_crypto_main.c | 2 +- drivers/crypto/intel/qat/qat_420xx/adf_drv.c | 2 +- drivers/crypto/intel/qat/qat_4xxx/adf_drv.c | 2 +- drivers/crypto/intel/qat/qat_c3xxx/adf_drv.c | 2 +- drivers/crypto/intel/qat/qat_c3xxxvf/adf_drv.c | 2 +- drivers/crypto/intel/qat/qat_c62x/adf_drv.c | 2 +- drivers/crypto/intel/qat/qat_c62xvf/adf_drv.c | 2 +- drivers/crypto/intel/qat/qat_common/adf_ctl_drv.c | 2 +- drivers/crypto/intel/qat/qat_dh895xcc/adf_drv.c | 2 +- drivers/crypto/intel/qat/qat_dh895xccvf/adf_drv.c | 2 +- drivers/crypto/marvell/octeontx2/cn10k_cpt.c | 14 ++-- .../marvell/octeontx2/otx2_cpt_mbox_common.c | 20 +++--- drivers/crypto/marvell/octeontx2/otx2_cptlf.c | 20 +++--- drivers/crypto/marvell/octeontx2/otx2_cptpf_main.c | 2 +- drivers/crypto/marvell/octeontx2/otx2_cptvf_main.c | 2 +- drivers/cxl/acpi.c | 4 +- drivers/cxl/core/cdat.c | 6 +- drivers/cxl/core/hdm.c | 12 ++-- drivers/cxl/core/mbox.c | 22 +++---- drivers/cxl/core/memdev.c | 20 +++--- drivers/cxl/core/pci.c | 18 +++--- drivers/cxl/core/pmem.c | 14 ++-- drivers/cxl/core/pmu.c | 2 +- drivers/cxl/core/port.c | 72 ++++++++++----------- drivers/cxl/core/region.c | 14 ++-- drivers/cxl/core/regs.c | 20 +++--- drivers/cxl/core/suspend.c | 4 +- drivers/cxl/mem.c | 2 +- drivers/cxl/pci.c | 2 +- drivers/cxl/pmem.c | 2 +- drivers/cxl/port.c | 2 +- drivers/dax/cxl.c | 2 +- drivers/dma-buf/dma-buf.c | 42 ++++++------ drivers/dma/idxd/compat.c | 2 +- drivers/dma/idxd/device.c | 14 ++-- drivers/dma/idxd/init.c | 2 +- drivers/dma/idxd/submit.c | 6 +- drivers/firmware/cirrus/cs_dsp.c | 68 ++++++++++---------- drivers/firmware/efi/efi-pstore.c | 2 +- drivers/firmware/efi/embedded-firmware.c | 4 +- drivers/firmware/efi/vars.c | 16 ++--- drivers/fpga/intel-m10-bmc-sec-update.c | 2 +- drivers/gpio/gpio-104-dio-48e.c | 4 +- drivers/gpio/gpio-104-idio-16.c | 2 +- drivers/gpio/gpio-elkhartlake.c | 2 +- drivers/gpio/gpio-gpio-mm.c | 2 +- drivers/gpio/gpio-i8255.c | 2 +- drivers/gpio/gpio-ljca.c | 2 +- drivers/gpio/gpio-menz127.c | 2 +- drivers/gpio/gpio-merrifield.c | 2 +- drivers/gpio/gpio-pci-idio-16.c | 2 +- drivers/gpio/gpio-tangier.c | 2 +- drivers/gpio/gpiolib-swnode.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 2 +- drivers/gpu/drm/armada/armada_gem.c | 2 +- drivers/gpu/drm/drm_gem_dma_helper.c | 2 +- drivers/gpu/drm/drm_gem_framebuffer_helper.c | 2 +- drivers/gpu/drm/drm_gem_shmem_helper.c | 4 +- drivers/gpu/drm/drm_prime.c | 2 +- drivers/gpu/drm/etnaviv/etnaviv_gem_prime.c | 2 +- drivers/gpu/drm/exynos/exynos_drm_gem.c | 2 +- drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c | 2 +- drivers/gpu/drm/i915/gvt/kvmgt.c | 4 +- drivers/gpu/drm/i915/intel_gvt.c | 74 +++++++++++----------- drivers/gpu/drm/i915/intel_gvt_mmio_table.c | 2 +- drivers/gpu/drm/imagination/pvr_drv.c | 2 +- drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c | 2 +- drivers/gpu/drm/solomon/ssd130x-i2c.c | 2 +- drivers/gpu/drm/solomon/ssd130x-spi.c | 2 +- drivers/gpu/drm/solomon/ssd130x.c | 2 +- drivers/gpu/drm/tegra/gem.c | 2 +- drivers/gpu/drm/vmwgfx/ttm_object.c | 2 +- drivers/gpu/drm/xe/tests/xe_live_test_mod.c | 2 +- drivers/gpu/drm/xe/tests/xe_test_mod.c | 2 +- drivers/gpu/drm/xe/xe_dma_buf.c | 2 +- drivers/hid/hid-uclogic-rdesc-test.c | 2 +- drivers/hwmon/hwmon.c | 2 +- drivers/hwmon/intel-m10-bmc-hwmon.c | 2 +- drivers/hwmon/nct6775-i2c.c | 2 +- drivers/hwmon/nct6775-platform.c | 2 +- drivers/hwmon/peci/cputemp.c | 2 +- drivers/hwmon/peci/dimmtemp.c | 2 +- drivers/hwmon/pmbus/acbel-fsg032.c | 2 +- drivers/hwmon/pmbus/adm1266.c | 2 +- drivers/hwmon/pmbus/adm1275.c | 2 +- drivers/hwmon/pmbus/adp1050.c | 2 +- drivers/hwmon/pmbus/bel-pfe.c | 2 +- drivers/hwmon/pmbus/bpa-rs600.c | 2 +- drivers/hwmon/pmbus/delta-ahe50dc-fan.c | 2 +- drivers/hwmon/pmbus/dps920ab.c | 2 +- drivers/hwmon/pmbus/fsp-3y.c | 2 +- drivers/hwmon/pmbus/ibm-cffps.c | 2 +- drivers/hwmon/pmbus/inspur-ipsps.c | 2 +- drivers/hwmon/pmbus/ir35221.c | 2 +- drivers/hwmon/pmbus/ir36021.c | 2 +- drivers/hwmon/pmbus/ir38064.c | 2 +- drivers/hwmon/pmbus/irps5401.c | 2 +- drivers/hwmon/pmbus/isl68137.c | 2 +- drivers/hwmon/pmbus/lm25066.c | 2 +- drivers/hwmon/pmbus/lt7182s.c | 2 +- drivers/hwmon/pmbus/ltc2978.c | 2 +- drivers/hwmon/pmbus/ltc3815.c | 2 +- drivers/hwmon/pmbus/max15301.c | 2 +- drivers/hwmon/pmbus/max16064.c | 2 +- drivers/hwmon/pmbus/max16601.c | 2 +- drivers/hwmon/pmbus/max20730.c | 2 +- drivers/hwmon/pmbus/max20751.c | 2 +- drivers/hwmon/pmbus/max31785.c | 2 +- drivers/hwmon/pmbus/max34440.c | 2 +- drivers/hwmon/pmbus/max8688.c | 2 +- drivers/hwmon/pmbus/mp2856.c | 2 +- drivers/hwmon/pmbus/mp2888.c | 2 +- drivers/hwmon/pmbus/mp2891.c | 2 +- drivers/hwmon/pmbus/mp2975.c | 2 +- drivers/hwmon/pmbus/mp2993.c | 2 +- drivers/hwmon/pmbus/mp5023.c | 2 +- drivers/hwmon/pmbus/mp5920.c | 2 +- drivers/hwmon/pmbus/mp5990.c | 2 +- drivers/hwmon/pmbus/mp9941.c | 2 +- drivers/hwmon/pmbus/mpq7932.c | 2 +- drivers/hwmon/pmbus/mpq8785.c | 2 +- drivers/hwmon/pmbus/pim4328.c | 2 +- drivers/hwmon/pmbus/pli1209bc.c | 2 +- drivers/hwmon/pmbus/pm6764tr.c | 2 +- drivers/hwmon/pmbus/pmbus.c | 2 +- drivers/hwmon/pmbus/pmbus_core.c | 42 ++++++------ drivers/hwmon/pmbus/pxe1610.c | 2 +- drivers/hwmon/pmbus/q54sj108a2.c | 2 +- drivers/hwmon/pmbus/stpddc60.c | 2 +- drivers/hwmon/pmbus/tda38640.c | 2 +- drivers/hwmon/pmbus/tps40422.c | 2 +- drivers/hwmon/pmbus/tps53679.c | 2 +- drivers/hwmon/pmbus/tps546d24.c | 2 +- drivers/hwmon/pmbus/ucd9000.c | 2 +- drivers/hwmon/pmbus/ucd9200.c | 2 +- drivers/hwmon/pmbus/xdp710.c | 2 +- drivers/hwmon/pmbus/xdpe12284.c | 2 +- drivers/hwmon/pmbus/xdpe152c4.c | 2 +- drivers/hwmon/pmbus/zl6100.c | 2 +- drivers/i2c/busses/i2c-designware-master.c | 2 +- drivers/i2c/busses/i2c-designware-pcidrv.c | 4 +- drivers/i2c/busses/i2c-designware-platdrv.c | 4 +- drivers/i2c/busses/i2c-designware-slave.c | 2 +- drivers/i2c/busses/i2c-ljca.c | 2 +- drivers/i2c/i2c-atr.c | 12 ++-- drivers/iio/accel/adis16201.c | 2 +- drivers/iio/accel/adis16209.c | 2 +- drivers/iio/accel/adxl313_core.c | 16 ++--- drivers/iio/accel/adxl313_i2c.c | 2 +- drivers/iio/accel/adxl313_spi.c | 2 +- drivers/iio/accel/adxl345_core.c | 2 +- drivers/iio/accel/adxl345_i2c.c | 2 +- drivers/iio/accel/adxl345_spi.c | 2 +- drivers/iio/accel/adxl355_core.c | 8 +-- drivers/iio/accel/adxl355_i2c.c | 2 +- drivers/iio/accel/adxl355_spi.c | 2 +- drivers/iio/accel/adxl367.c | 2 +- drivers/iio/accel/adxl367_i2c.c | 2 +- drivers/iio/accel/adxl367_spi.c | 2 +- drivers/iio/accel/adxl372.c | 4 +- drivers/iio/accel/adxl372_i2c.c | 2 +- drivers/iio/accel/adxl372_spi.c | 2 +- drivers/iio/accel/adxl380.c | 8 +-- drivers/iio/accel/adxl380_i2c.c | 2 +- drivers/iio/accel/adxl380_spi.c | 2 +- drivers/iio/accel/bma400_core.c | 4 +- drivers/iio/accel/bma400_i2c.c | 2 +- drivers/iio/accel/bma400_spi.c | 2 +- drivers/iio/accel/bmc150-accel-core.c | 8 +-- drivers/iio/accel/bmc150-accel-i2c.c | 2 +- drivers/iio/accel/bmc150-accel-spi.c | 2 +- drivers/iio/accel/bmi088-accel-core.c | 6 +- drivers/iio/accel/bmi088-accel-i2c.c | 2 +- drivers/iio/accel/bmi088-accel-spi.c | 2 +- drivers/iio/accel/fxls8962af-core.c | 6 +- drivers/iio/accel/fxls8962af-i2c.c | 2 +- drivers/iio/accel/fxls8962af-spi.c | 2 +- drivers/iio/accel/hid-sensor-accel-3d.c | 2 +- drivers/iio/accel/kionix-kx022a-i2c.c | 2 +- drivers/iio/accel/kionix-kx022a-spi.c | 2 +- drivers/iio/accel/kionix-kx022a.c | 8 +-- drivers/iio/accel/kxsd9-i2c.c | 2 +- drivers/iio/accel/kxsd9-spi.c | 2 +- drivers/iio/accel/kxsd9.c | 4 +- drivers/iio/accel/mma7455_core.c | 6 +- drivers/iio/accel/mma7455_i2c.c | 2 +- drivers/iio/accel/mma7455_spi.c | 2 +- drivers/iio/accel/mma9551.c | 2 +- drivers/iio/accel/mma9551_core.c | 36 +++++------ drivers/iio/accel/mma9553.c | 2 +- drivers/iio/accel/ssp_accel_sensor.c | 2 +- drivers/iio/accel/st_accel_core.c | 6 +- drivers/iio/accel/st_accel_i2c.c | 2 +- drivers/iio/accel/st_accel_spi.c | 2 +- drivers/iio/adc/ad7091r-base.c | 8 +-- drivers/iio/adc/ad7091r5.c | 2 +- drivers/iio/adc/ad7091r8.c | 2 +- drivers/iio/adc/ad7124.c | 2 +- drivers/iio/adc/ad7173.c | 2 +- drivers/iio/adc/ad7192.c | 2 +- drivers/iio/adc/ad7606.c | 6 +- drivers/iio/adc/ad7606_par.c | 2 +- drivers/iio/adc/ad7606_spi.c | 2 +- drivers/iio/adc/ad7780.c | 2 +- drivers/iio/adc/ad7791.c | 2 +- drivers/iio/adc/ad7793.c | 2 +- drivers/iio/adc/ad9467.c | 2 +- drivers/iio/adc/ad_sigma_delta.c | 20 +++--- drivers/iio/adc/adi-axi-adc.c | 4 +- drivers/iio/adc/ltc2497-core.c | 4 +- drivers/iio/adc/ltc2497.h | 2 +- drivers/iio/adc/max11205.c | 2 +- drivers/iio/adc/men_z188_adc.c | 2 +- drivers/iio/adc/sd_adc_modulator.c | 2 +- drivers/iio/adc/stm32-dfsdm-adc.c | 2 +- drivers/iio/addac/stx104.c | 2 +- drivers/iio/afe/iio-rescale.c | 4 +- drivers/iio/buffer/industrialio-buffer-dma.c | 36 +++++------ drivers/iio/buffer/industrialio-buffer-dmaengine.c | 8 +-- drivers/iio/chemical/bme680_core.c | 4 +- drivers/iio/chemical/bme680_i2c.c | 2 +- drivers/iio/chemical/bme680_spi.c | 2 +- drivers/iio/chemical/ens160_core.c | 2 +- drivers/iio/chemical/ens160_i2c.c | 2 +- drivers/iio/chemical/ens160_spi.c | 2 +- drivers/iio/chemical/scd30_core.c | 2 +- drivers/iio/chemical/scd30_i2c.c | 2 +- drivers/iio/chemical/scd30_serial.c | 2 +- drivers/iio/chemical/sps30.c | 2 +- drivers/iio/chemical/sps30_i2c.c | 2 +- drivers/iio/chemical/sps30_serial.c | 2 +- .../iio/common/hid-sensors/hid-sensor-attributes.c | 26 ++++---- .../iio/common/hid-sensors/hid-sensor-trigger.c | 10 +-- .../iio/common/inv_sensors/inv_sensors_timestamp.c | 8 +-- drivers/iio/common/ms_sensors/ms_sensors_i2c.c | 24 +++---- drivers/iio/common/ssp_sensors/ssp_dev.c | 10 +-- drivers/iio/common/ssp_sensors/ssp_iio.c | 8 +-- drivers/iio/common/st_sensors/st_sensors_buffer.c | 2 +- drivers/iio/common/st_sensors/st_sensors_core.c | 28 ++++---- drivers/iio/common/st_sensors/st_sensors_i2c.c | 2 +- drivers/iio/common/st_sensors/st_sensors_spi.c | 2 +- drivers/iio/common/st_sensors/st_sensors_trigger.c | 4 +- drivers/iio/dac/ad5592r-base.c | 4 +- drivers/iio/dac/ad5592r.c | 2 +- drivers/iio/dac/ad5593r.c | 2 +- drivers/iio/dac/ad5686-spi.c | 2 +- drivers/iio/dac/ad5686.c | 4 +- drivers/iio/dac/ad5696-i2c.c | 2 +- drivers/iio/dac/ad9739a.c | 2 +- drivers/iio/dac/adi-axi-dac.c | 4 +- drivers/iio/gyro/adis16136.c | 2 +- drivers/iio/gyro/adis16260.c | 2 +- drivers/iio/gyro/fxas21002c_core.c | 4 +- drivers/iio/gyro/fxas21002c_i2c.c | 2 +- drivers/iio/gyro/fxas21002c_spi.c | 2 +- drivers/iio/gyro/hid-sensor-gyro-3d.c | 2 +- drivers/iio/gyro/ssp_gyro_sensor.c | 2 +- drivers/iio/gyro/st_gyro_core.c | 6 +- drivers/iio/gyro/st_gyro_i2c.c | 2 +- drivers/iio/gyro/st_gyro_spi.c | 2 +- drivers/iio/humidity/hid-sensor-humidity.c | 2 +- drivers/iio/humidity/hts221_core.c | 2 +- drivers/iio/humidity/hts221_i2c.c | 2 +- drivers/iio/humidity/hts221_spi.c | 2 +- drivers/iio/humidity/htu21.c | 2 +- drivers/iio/imu/adis.c | 20 +++--- drivers/iio/imu/adis16400.c | 2 +- drivers/iio/imu/adis16460.c | 2 +- drivers/iio/imu/adis16475.c | 2 +- drivers/iio/imu/adis16480.c | 2 +- drivers/iio/imu/adis_buffer.c | 4 +- drivers/iio/imu/adis_trigger.c | 2 +- drivers/iio/imu/bmi160/bmi160_core.c | 6 +- drivers/iio/imu/bmi160/bmi160_i2c.c | 2 +- drivers/iio/imu/bmi160/bmi160_spi.c | 2 +- drivers/iio/imu/bmi323/bmi323_core.c | 4 +- drivers/iio/imu/bmi323/bmi323_i2c.c | 2 +- drivers/iio/imu/bmi323/bmi323_spi.c | 2 +- drivers/iio/imu/bno055/bno055.c | 4 +- drivers/iio/imu/bno055/bno055_i2c.c | 2 +- drivers/iio/imu/bno055/bno055_ser_core.c | 2 +- drivers/iio/imu/inv_icm42600/inv_icm42600_core.c | 6 +- drivers/iio/imu/inv_icm42600/inv_icm42600_i2c.c | 2 +- drivers/iio/imu/inv_icm42600/inv_icm42600_spi.c | 2 +- drivers/iio/imu/inv_mpu6050/inv_mpu_core.c | 4 +- drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c | 2 +- drivers/iio/imu/inv_mpu6050/inv_mpu_spi.c | 2 +- drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c | 2 +- drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c | 2 +- drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i3c.c | 2 +- drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_spi.c | 2 +- drivers/iio/imu/st_lsm9ds0/st_lsm9ds0_core.c | 4 +- drivers/iio/imu/st_lsm9ds0/st_lsm9ds0_i2c.c | 2 +- drivers/iio/imu/st_lsm9ds0/st_lsm9ds0_spi.c | 2 +- drivers/iio/industrialio-backend.c | 48 +++++++------- drivers/iio/industrialio-buffer.c | 2 +- drivers/iio/industrialio-gts-helper.c | 26 ++++---- drivers/iio/light/apds9306.c | 2 +- drivers/iio/light/bh1745.c | 2 +- drivers/iio/light/hid-sensor-als.c | 2 +- drivers/iio/light/hid-sensor-prox.c | 2 +- drivers/iio/light/rohm-bu27008.c | 2 +- drivers/iio/light/rohm-bu27034.c | 2 +- drivers/iio/light/st_uvis25_core.c | 2 +- drivers/iio/light/st_uvis25_i2c.c | 2 +- drivers/iio/light/st_uvis25_spi.c | 2 +- drivers/iio/magnetometer/bmc150_magn.c | 8 +-- drivers/iio/magnetometer/bmc150_magn_i2c.c | 2 +- drivers/iio/magnetometer/bmc150_magn_spi.c | 2 +- drivers/iio/magnetometer/hid-sensor-magn-3d.c | 2 +- drivers/iio/magnetometer/hmc5843_core.c | 4 +- drivers/iio/magnetometer/hmc5843_i2c.c | 2 +- drivers/iio/magnetometer/hmc5843_spi.c | 2 +- drivers/iio/magnetometer/rm3100-core.c | 8 +-- drivers/iio/magnetometer/rm3100-i2c.c | 2 +- drivers/iio/magnetometer/rm3100-spi.c | 2 +- drivers/iio/magnetometer/st_magn_core.c | 6 +- drivers/iio/magnetometer/st_magn_i2c.c | 2 +- drivers/iio/magnetometer/st_magn_spi.c | 2 +- drivers/iio/orientation/hid-sensor-incl-3d.c | 2 +- drivers/iio/orientation/hid-sensor-rotation.c | 2 +- .../iio/position/hid-sensor-custom-intel-hinge.c | 2 +- drivers/iio/pressure/bmp280-core.c | 12 ++-- drivers/iio/pressure/bmp280-i2c.c | 2 +- drivers/iio/pressure/bmp280-regmap.c | 10 +-- drivers/iio/pressure/bmp280-spi.c | 2 +- drivers/iio/pressure/hid-sensor-press.c | 2 +- drivers/iio/pressure/hsc030pa.c | 2 +- drivers/iio/pressure/hsc030pa_i2c.c | 2 +- drivers/iio/pressure/hsc030pa_spi.c | 2 +- drivers/iio/pressure/mpl115.c | 2 +- drivers/iio/pressure/mpl115_i2c.c | 2 +- drivers/iio/pressure/mpl115_spi.c | 2 +- drivers/iio/pressure/mprls0025pa.c | 2 +- drivers/iio/pressure/mprls0025pa_i2c.c | 2 +- drivers/iio/pressure/mprls0025pa_spi.c | 2 +- drivers/iio/pressure/ms5611_core.c | 2 +- drivers/iio/pressure/ms5611_i2c.c | 2 +- drivers/iio/pressure/ms5611_spi.c | 2 +- drivers/iio/pressure/ms5637.c | 2 +- drivers/iio/pressure/st_pressure_core.c | 6 +- drivers/iio/pressure/st_pressure_i2c.c | 2 +- drivers/iio/pressure/st_pressure_spi.c | 2 +- drivers/iio/pressure/zpa2326.c | 12 ++-- drivers/iio/pressure/zpa2326_i2c.c | 2 +- drivers/iio/pressure/zpa2326_spi.c | 2 +- drivers/iio/proximity/sx9310.c | 2 +- drivers/iio/proximity/sx9324.c | 2 +- drivers/iio/proximity/sx9360.c | 2 +- drivers/iio/proximity/sx_common.c | 12 ++-- drivers/iio/temperature/hid-sensor-temperature.c | 2 +- drivers/iio/temperature/tsys01.c | 2 +- drivers/iio/temperature/tsys02d.c | 2 +- drivers/iio/test/iio-test-gts.c | 2 +- drivers/iio/test/iio-test-rescale.c | 2 +- drivers/infiniband/core/umem_dmabuf.c | 2 +- drivers/infiniband/hw/mana/device.c | 2 +- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-test.c | 2 +- drivers/iommu/iommu.c | 10 +-- drivers/iommu/iommufd/device.c | 32 +++++----- drivers/iommu/iommufd/iova_bitmap.c | 8 +-- drivers/iommu/iommufd/main.c | 12 ++-- drivers/iommu/iommufd/vfio_compat.c | 6 +- drivers/leds/flash/leds-ktd2692.c | 2 +- drivers/leds/leds-expresswire.c | 12 ++-- drivers/mcb/mcb-core.c | 28 ++++---- drivers/mcb/mcb-lpc.c | 2 +- drivers/mcb/mcb-parse.c | 2 +- drivers/mcb/mcb-pci.c | 2 +- drivers/media/common/videobuf2/videobuf2-core.c | 2 +- .../media/common/videobuf2/videobuf2-dma-contig.c | 2 +- drivers/media/common/videobuf2/videobuf2-dma-sg.c | 2 +- drivers/media/common/videobuf2/videobuf2-vmalloc.c | 2 +- drivers/media/i2c/ds90ub913.c | 2 +- drivers/media/i2c/ds90ub953.c | 2 +- drivers/media/i2c/ds90ub960.c | 2 +- drivers/media/pci/intel/ipu-bridge.c | 6 +- drivers/media/pci/intel/ipu3/ipu3-cio2.c | 2 +- drivers/media/pci/intel/ipu6/ipu6-buttress.c | 12 ++-- drivers/media/pci/intel/ipu6/ipu6-cpd.c | 4 +- drivers/media/pci/intel/ipu6/ipu6-fw-com.c | 18 +++--- drivers/media/pci/intel/ipu6/ipu6-isys.c | 4 +- drivers/media/pci/intel/ipu6/ipu6-mmu.c | 4 +- drivers/media/pci/intel/ipu6/ipu6.c | 4 +- drivers/media/pci/intel/ivsc/mei_csi.c | 2 +- .../media/platform/nvidia/tegra-vde/dmabuf-cache.c | 2 +- drivers/mfd/cs40l50-core.c | 2 +- drivers/mfd/cs42l43-i2c.c | 2 +- drivers/mfd/cs42l43-sdw.c | 2 +- drivers/mfd/cs42l43.c | 12 ++-- drivers/mfd/intel-lpss-acpi.c | 2 +- drivers/mfd/intel-lpss-pci.c | 2 +- drivers/mfd/intel-lpss.c | 4 +- drivers/mfd/intel-m10-bmc-core.c | 10 +-- drivers/mfd/intel-m10-bmc-pmci.c | 2 +- drivers/mfd/intel-m10-bmc-spi.c | 2 +- drivers/mfd/ocelot-core.c | 6 +- drivers/mfd/ocelot-spi.c | 4 +- drivers/misc/fastrpc.c | 2 +- drivers/misc/mei/platform-vsc.c | 2 +- drivers/misc/mei/vsc-fw-loader.c | 2 +- drivers/misc/mei/vsc-tp.c | 18 +++--- drivers/net/dsa/ocelot/ocelot_ext.c | 2 +- drivers/net/dsa/realtek/realtek-mdio.c | 6 +- drivers/net/dsa/realtek/realtek-smi.c | 6 +- drivers/net/dsa/realtek/rtl8365mb.c | 2 +- drivers/net/dsa/realtek/rtl8366-core.c | 22 +++---- drivers/net/dsa/realtek/rtl8366rb.c | 2 +- drivers/net/dsa/realtek/rtl83xx.c | 16 ++--- drivers/net/ethernet/intel/i40e/i40e_main.c | 2 +- drivers/net/ethernet/intel/iavf/iavf_main.c | 4 +- drivers/net/ethernet/intel/ice/ice_main.c | 2 +- drivers/net/ethernet/intel/idpf/idpf_main.c | 2 +- drivers/net/ethernet/intel/libeth/rx.c | 8 +-- drivers/net/ethernet/intel/libie/rx.c | 4 +- drivers/net/ethernet/microsoft/mana/gdma_main.c | 12 ++-- drivers/net/ethernet/microsoft/mana/mana_en.c | 10 +-- .../broadcom/brcm80211/brcmfmac/bca/module.c | 2 +- .../wireless/broadcom/brcm80211/brcmfmac/core.h | 2 +- .../broadcom/brcm80211/brcmfmac/cyw/module.c | 2 +- .../broadcom/brcm80211/brcmfmac/wcc/module.c | 2 +- drivers/net/wireless/intel/iwlwifi/dvm/main.c | 2 +- drivers/net/wireless/intel/iwlwifi/iwl-drv.h | 2 +- drivers/net/wireless/intel/iwlwifi/mvm/ops.c | 2 +- .../net/wireless/intel/iwlwifi/mvm/tests/links.c | 2 +- .../net/wireless/intel/iwlwifi/mvm/tests/scan.c | 2 +- drivers/net/wireless/intel/iwlwifi/tests/devinfo.c | 2 +- drivers/nvdimm/region_devs.c | 2 +- drivers/nvme/host/core.c | 14 ++-- drivers/nvme/target/passthru.c | 2 +- drivers/pci/pcie/aer.c | 4 +- drivers/peci/controller/peci-aspeed.c | 2 +- drivers/peci/controller/peci-npcm.c | 2 +- drivers/peci/core.c | 2 +- drivers/peci/cpu.c | 12 ++-- drivers/peci/device.c | 4 +- drivers/peci/request.c | 30 ++++----- drivers/perf/cxl_pmu.c | 2 +- drivers/pinctrl/intel/pinctrl-alderlake.c | 2 +- drivers/pinctrl/intel/pinctrl-baytrail.c | 2 +- drivers/pinctrl/intel/pinctrl-broxton.c | 2 +- drivers/pinctrl/intel/pinctrl-cannonlake.c | 2 +- drivers/pinctrl/intel/pinctrl-cedarfork.c | 2 +- drivers/pinctrl/intel/pinctrl-cherryview.c | 2 +- drivers/pinctrl/intel/pinctrl-denverton.c | 2 +- drivers/pinctrl/intel/pinctrl-elkhartlake.c | 2 +- drivers/pinctrl/intel/pinctrl-emmitsburg.c | 2 +- drivers/pinctrl/intel/pinctrl-geminilake.c | 2 +- drivers/pinctrl/intel/pinctrl-icelake.c | 2 +- drivers/pinctrl/intel/pinctrl-intel-platform.c | 2 +- drivers/pinctrl/intel/pinctrl-intel.c | 22 +++---- drivers/pinctrl/intel/pinctrl-jasperlake.c | 2 +- drivers/pinctrl/intel/pinctrl-lakefield.c | 2 +- drivers/pinctrl/intel/pinctrl-lewisburg.c | 2 +- drivers/pinctrl/intel/pinctrl-lynxpoint.c | 2 +- drivers/pinctrl/intel/pinctrl-merrifield.c | 2 +- drivers/pinctrl/intel/pinctrl-meteorlake.c | 2 +- drivers/pinctrl/intel/pinctrl-meteorpoint.c | 2 +- drivers/pinctrl/intel/pinctrl-moorefield.c | 2 +- drivers/pinctrl/intel/pinctrl-sunrisepoint.c | 2 +- drivers/pinctrl/intel/pinctrl-tangier.c | 2 +- drivers/pinctrl/intel/pinctrl-tigerlake.c | 2 +- drivers/platform/x86/ideapad-laptop.c | 6 +- drivers/platform/x86/intel/intel_plr_tpmi.c | 4 +- drivers/platform/x86/intel/pmc/core_ssram.c | 4 +- drivers/platform/x86/intel/pmt/class.c | 8 +-- drivers/platform/x86/intel/pmt/crashlog.c | 2 +- drivers/platform/x86/intel/pmt/telemetry.c | 16 ++--- .../platform/x86/intel/speed_select_if/isst_tpmi.c | 2 +- .../x86/intel/speed_select_if/isst_tpmi_core.c | 16 ++--- drivers/platform/x86/intel/tpmi.c | 12 ++-- drivers/platform/x86/intel/tpmi_power_domains.c | 8 +-- .../uncore-frequency/uncore-frequency-common.c | 8 +-- .../intel/uncore-frequency/uncore-frequency-tpmi.c | 4 +- .../x86/intel/uncore-frequency/uncore-frequency.c | 2 +- drivers/platform/x86/intel/vsec.c | 4 +- drivers/platform/x86/lenovo-ymc.c | 2 +- drivers/powercap/idle_inject.c | 16 ++--- drivers/powercap/intel_rapl_tpmi.c | 2 +- drivers/pwm/pwm-dwc.h | 2 +- drivers/pwm/pwm-lpss-pci.c | 2 +- drivers/pwm/pwm-lpss-platform.c | 2 +- drivers/reset/reset-mpfs.c | 4 +- drivers/rtc/rtc-hid-sensor-time.c | 2 +- drivers/soundwire/amd_init.c | 6 +- drivers/soundwire/intel.c | 2 +- drivers/soundwire/intel_ace2x.c | 4 +- drivers/soundwire/intel_init.c | 10 +-- drivers/spi/spi-cs42l43.c | 2 +- drivers/spi/spi-dw-bt1.c | 2 +- drivers/spi/spi-dw-core.c | 14 ++-- drivers/spi/spi-dw-dma.c | 4 +- drivers/spi/spi-dw-mmio.c | 2 +- drivers/spi/spi-dw-pci.c | 2 +- drivers/spi/spi-ljca.c | 2 +- drivers/spi/spi-loongson-core.c | 4 +- drivers/spi/spi-loongson-pci.c | 2 +- drivers/spi/spi-loongson-plat.c | 2 +- drivers/spi/spi-pxa2xx-pci.c | 2 +- drivers/spi/spi-pxa2xx-platform.c | 2 +- drivers/spi/spi-pxa2xx.c | 4 +- drivers/staging/iio/accel/adis16203.c | 2 +- drivers/staging/iio/accel/adis16240.c | 2 +- drivers/staging/media/atomisp/pci/atomisp_v4l2.c | 2 +- .../int340x_thermal/processor_thermal_device.c | 4 +- .../int340x_thermal/processor_thermal_device_pci.c | 2 +- .../intel/int340x_thermal/processor_thermal_mbox.c | 6 +- .../processor_thermal_power_floor.c | 12 ++-- .../intel/int340x_thermal/processor_thermal_rfim.c | 2 +- .../int340x_thermal/processor_thermal_wt_hint.c | 10 +-- .../int340x_thermal/processor_thermal_wt_req.c | 2 +- drivers/thermal/intel/intel_powerclamp.c | 2 +- drivers/thermal/intel/intel_soc_dts_iosf.c | 2 +- drivers/thermal/intel/intel_tcc.c | 10 +-- drivers/thermal/intel/intel_tcc_cooling.c | 2 +- drivers/thermal/intel/x86_pkg_temp_thermal.c | 2 +- drivers/thermal/thermal_hwmon.c | 2 +- drivers/tty/serial/8250/8250_exar.c | 2 +- drivers/tty/serial/8250/8250_men_mcb.c | 2 +- drivers/tty/serial/8250/8250_pci.c | 2 +- drivers/tty/serial/8250/8250_pci1xxxx.c | 2 +- drivers/tty/serial/8250/8250_pcilib.c | 2 +- drivers/tty/serial/men_z135_uart.c | 2 +- drivers/tty/serial/sc16is7xx_i2c.c | 2 +- drivers/tty/serial/sc16is7xx_spi.c | 2 +- drivers/usb/gadget/function/f_fs.c | 2 +- drivers/usb/host/xhci-pci-renesas.c | 2 +- drivers/usb/host/xhci-pci.c | 4 +- drivers/usb/misc/usb-ljca.c | 8 +-- drivers/usb/storage/alauda.c | 2 +- drivers/usb/storage/cypress_atacb.c | 2 +- drivers/usb/storage/datafab.c | 2 +- drivers/usb/storage/ene_ub6250.c | 2 +- drivers/usb/storage/freecom.c | 2 +- drivers/usb/storage/isd200.c | 2 +- drivers/usb/storage/jumpshot.c | 2 +- drivers/usb/storage/karma.c | 2 +- drivers/usb/storage/onetouch.c | 2 +- drivers/usb/storage/realtek_cr.c | 2 +- drivers/usb/storage/sddr09.c | 2 +- drivers/usb/storage/sddr55.c | 2 +- drivers/usb/storage/shuttle_usbat.c | 2 +- drivers/usb/storage/uas.c | 2 +- drivers/vfio/cdx/main.c | 2 +- drivers/vfio/iommufd.c | 4 +- drivers/vfio/pci/mlx5/main.c | 2 +- drivers/vfio/pci/pds/pci_drv.c | 2 +- drivers/vfio/pci/qat/main.c | 2 +- drivers/vfio/vfio_main.c | 2 +- drivers/video/backlight/ktd2801-backlight.c | 2 +- drivers/virtio/virtio_dma_buf.c | 2 +- drivers/watchdog/menz69_wdt.c | 2 +- drivers/xen/gntdev-dmabuf.c | 2 +- fs/efivarfs/vars.c | 2 +- include/kunit/visibility.h | 5 +- include/linux/acpi.h | 2 +- include/linux/export.h | 4 +- include/linux/fw_table.h | 2 +- include/linux/module.h | 2 +- include/linux/pm.h | 2 +- include/linux/pwm.h | 2 +- kernel/module/Kconfig | 2 +- kernel/resource.c | 2 +- lib/kunit/user_alloc.c | 2 +- lib/test_firmware.c | 2 +- net/handshake/handshake-test.c | 2 +- net/mac80211/tests/elems.c | 2 +- net/mac80211/tests/mfp.c | 2 +- net/mac80211/tests/tpe.c | 2 +- net/sunrpc/auth_gss/gss_krb5_test.c | 2 +- net/wireless/tests/chan.c | 2 +- net/wireless/tests/scan.c | 2 +- samples/vfio-mdev/mbochs.c | 2 +- scripts/coccinelle/misc/add_namespace.cocci | 4 +- security/apparmor/policy_unpack_test.c | 2 +- sound/hda/intel-dsp-config.c | 2 +- sound/hda/intel-sdw-acpi.c | 2 +- sound/pci/hda/cirrus_scodec.c | 2 +- sound/pci/hda/cirrus_scodec_test.c | 2 +- sound/pci/hda/cs35l41_hda.c | 12 ++-- sound/pci/hda/cs35l41_hda_i2c.c | 2 +- sound/pci/hda/cs35l41_hda_spi.c | 2 +- sound/pci/hda/cs35l56_hda.c | 16 ++--- sound/pci/hda/cs35l56_hda_i2c.c | 4 +- sound/pci/hda/cs35l56_hda_spi.c | 4 +- sound/pci/hda/hda_component.c | 14 ++-- sound/pci/hda/hda_cs_dsp_ctl.c | 12 ++-- sound/pci/hda/patch_realtek.c | 2 +- sound/pci/hda/tas2781_hda_i2c.c | 2 +- sound/soc/amd/acp/acp-i2s.c | 2 +- sound/soc/amd/acp/acp-legacy-common.c | 18 +++--- sound/soc/amd/acp/acp-legacy-mach.c | 2 +- sound/soc/amd/acp/acp-mach-common.c | 4 +- sound/soc/amd/acp/acp-pci.c | 2 +- sound/soc/amd/acp/acp-pdm.c | 2 +- sound/soc/amd/acp/acp-platform.c | 10 +-- sound/soc/amd/acp/acp-rembrandt.c | 2 +- sound/soc/amd/acp/acp-renoir.c | 2 +- sound/soc/amd/acp/acp-sdw-sof-mach.c | 2 +- sound/soc/amd/acp/acp-sof-mach.c | 2 +- sound/soc/amd/acp/acp63.c | 2 +- sound/soc/amd/acp/acp70.c | 2 +- sound/soc/amd/acp/amd-sdw-acpi.c | 2 +- sound/soc/amd/ps/pci-ps.c | 4 +- sound/soc/codecs/cs-amp-lib-test.c | 2 +- sound/soc/codecs/cs-amp-lib.c | 8 +-- sound/soc/codecs/cs35l45-i2c.c | 2 +- sound/soc/codecs/cs35l45-spi.c | 2 +- sound/soc/codecs/cs35l45-tables.c | 8 +-- sound/soc/codecs/cs35l45.c | 4 +- sound/soc/codecs/cs35l56-i2c.c | 4 +- sound/soc/codecs/cs35l56-sdw.c | 4 +- sound/soc/codecs/cs35l56-shared.c | 52 +++++++-------- sound/soc/codecs/cs35l56-spi.c | 4 +- sound/soc/codecs/cs35l56.c | 10 +-- sound/soc/codecs/cs42l42-i2c.c | 2 +- sound/soc/codecs/cs42l42-sdw.c | 2 +- sound/soc/codecs/cs42l42.c | 32 +++++----- sound/soc/codecs/cs42l43-sdw.c | 6 +- sound/soc/codecs/cs42l43.c | 2 +- sound/soc/codecs/cs42l83-i2c.c | 2 +- sound/soc/codecs/cs530x-i2c.c | 2 +- sound/soc/codecs/cs530x.c | 4 +- sound/soc/codecs/tas2781-fmwlib.c | 20 +++--- sound/soc/codecs/tas2781-i2c.c | 2 +- sound/soc/codecs/wm_adsp.c | 2 +- sound/soc/intel/boards/ehl_rt5660.c | 2 +- sound/soc/intel/boards/hda_dsp_common.c | 2 +- sound/soc/intel/boards/skl_hda_dsp_generic.c | 2 +- sound/soc/intel/boards/sof_board_helpers.c | 10 +-- sound/soc/intel/boards/sof_cirrus_common.c | 4 +- sound/soc/intel/boards/sof_cs42l42.c | 4 +- sound/soc/intel/boards/sof_da7219.c | 4 +- sound/soc/intel/boards/sof_es8336.c | 2 +- sound/soc/intel/boards/sof_maxim_common.c | 12 ++-- sound/soc/intel/boards/sof_nau8825.c | 8 +-- sound/soc/intel/boards/sof_nuvoton_common.c | 2 +- sound/soc/intel/boards/sof_pcm512x.c | 2 +- sound/soc/intel/boards/sof_realtek_common.c | 16 ++--- sound/soc/intel/boards/sof_rt5682.c | 6 +- sound/soc/intel/boards/sof_sdw.c | 4 +- sound/soc/intel/boards/sof_ssp_amp.c | 6 +- sound/soc/intel/common/soc-acpi-intel-ssp-common.c | 10 +-- sound/soc/sdw_utils/soc_sdw_bridge_cs35l56.c | 6 +- sound/soc/sdw_utils/soc_sdw_cs42l42.c | 2 +- sound/soc/sdw_utils/soc_sdw_cs42l43.c | 8 +-- sound/soc/sdw_utils/soc_sdw_cs_amp.c | 4 +- sound/soc/sdw_utils/soc_sdw_dmic.c | 2 +- sound/soc/sdw_utils/soc_sdw_maxim.c | 4 +- sound/soc/sdw_utils/soc_sdw_rt5682.c | 2 +- sound/soc/sdw_utils/soc_sdw_rt700.c | 2 +- sound/soc/sdw_utils/soc_sdw_rt711.c | 6 +- sound/soc/sdw_utils/soc_sdw_rt712_sdca.c | 2 +- sound/soc/sdw_utils/soc_sdw_rt722_sdca.c | 2 +- sound/soc/sdw_utils/soc_sdw_rt_amp.c | 8 +-- sound/soc/sdw_utils/soc_sdw_rt_dmic.c | 2 +- sound/soc/sdw_utils/soc_sdw_rt_sdca_jack_common.c | 6 +- sound/soc/sdw_utils/soc_sdw_utils.c | 42 ++++++------ sound/soc/sof/amd/acp-common.c | 8 +-- sound/soc/sof/amd/acp-ipc.c | 16 ++--- sound/soc/sof/amd/acp-loader.c | 12 ++-- sound/soc/sof/amd/acp-pcm.c | 8 +-- sound/soc/sof/amd/acp-probes.c | 6 +- sound/soc/sof/amd/acp-stream.c | 6 +- sound/soc/sof/amd/acp-trace.c | 4 +- sound/soc/sof/amd/acp.c | 12 ++-- sound/soc/sof/amd/acp63.c | 2 +- sound/soc/sof/amd/acp70.c | 2 +- sound/soc/sof/amd/pci-acp63.c | 4 +- sound/soc/sof/amd/pci-acp70.c | 4 +- sound/soc/sof/amd/pci-rmb.c | 4 +- sound/soc/sof/amd/pci-rn.c | 4 +- sound/soc/sof/amd/pci-vangogh.c | 4 +- sound/soc/sof/amd/rembrandt.c | 2 +- sound/soc/sof/amd/renoir.c | 2 +- sound/soc/sof/amd/vangogh.c | 2 +- sound/soc/sof/core.c | 2 +- sound/soc/sof/imx/imx8.c | 2 +- sound/soc/sof/imx/imx8m.c | 2 +- sound/soc/sof/imx/imx8ulp.c | 2 +- sound/soc/sof/intel/atom.c | 22 +++---- sound/soc/sof/intel/bdw.c | 6 +- sound/soc/sof/intel/byt.c | 8 +-- sound/soc/sof/intel/cnl.c | 18 +++--- sound/soc/sof/intel/hda-bus.c | 4 +- sound/soc/sof/intel/hda-codec.c | 32 +++++----- sound/soc/sof/intel/hda-common-ops.c | 2 +- sound/soc/sof/intel/hda-ctrl.c | 16 ++--- sound/soc/sof/intel/hda-dai.c | 14 ++-- sound/soc/sof/intel/hda-dsp.c | 62 +++++++++--------- sound/soc/sof/intel/hda-ipc.c | 34 +++++----- sound/soc/sof/intel/hda-loader.c | 16 ++--- sound/soc/sof/intel/hda-mlink.c | 66 +++++++++---------- sound/soc/sof/intel/hda-pcm.c | 12 ++-- sound/soc/sof/intel/hda-probes.c | 6 +- sound/soc/sof/intel/hda-stream.c | 18 +++--- sound/soc/sof/intel/hda-trace.c | 6 +- sound/soc/sof/intel/hda.c | 40 ++++++------ sound/soc/sof/intel/lnl.c | 6 +- sound/soc/sof/intel/mtl.c | 30 ++++----- sound/soc/sof/intel/pci-apl.c | 6 +- sound/soc/sof/intel/pci-cnl.c | 6 +- sound/soc/sof/intel/pci-icl.c | 8 +-- sound/soc/sof/intel/pci-lnl.c | 10 +-- sound/soc/sof/intel/pci-mtl.c | 6 +- sound/soc/sof/intel/pci-ptl.c | 12 ++-- sound/soc/sof/intel/pci-skl.c | 6 +- sound/soc/sof/intel/pci-tgl.c | 8 +-- sound/soc/sof/intel/pci-tng.c | 8 +-- sound/soc/sof/intel/skl.c | 6 +- sound/soc/sof/intel/telemetry.c | 2 +- sound/soc/sof/mediatek/mt8186/mt8186.c | 4 +- sound/soc/sof/mediatek/mt8195/mt8195.c | 4 +- sound/soc/sof/sof-acpi-dev.c | 6 +- sound/soc/sof/sof-client-ipc-flood-test.c | 2 +- sound/soc/sof/sof-client-ipc-kernel-injector.c | 2 +- sound/soc/sof/sof-client-ipc-msg-injector.c | 2 +- sound/soc/sof/sof-client-probes.c | 2 +- sound/soc/sof/sof-client.c | 40 ++++++------ sound/soc/sof/sof-pci-dev.c | 8 +-- sound/soc/sof/xtensa/core.c | 2 +- tools/testing/cxl/cxl_core_exports.c | 2 +- tools/testing/cxl/test/cxl.c | 4 +- tools/testing/cxl/test/mem.c | 2 +- tools/testing/cxl/test/mock.c | 28 ++++---- 847 files changed, 2100 insertions(+), 2107 deletions(-)
Documentation/core-api/symbol-namespaces.rst +4 -4
@@ -46,7 +46,7 @@ Please note that due to macro expansion that argument needs to be a preprocessor symbol. E.g. to export the symbol ``usb_stor_suspend`` into the namespace ``USB_STORAGE``, use:: - EXPORT_SYMBOL_NS(usb_stor_suspend, USB_STORAGE); + EXPORT_SYMBOL_NS(usb_stor_suspend, "USB_STORAGE"); The corresponding ksymtab entry struct ``kernel_symbol`` will have the member ``namespace`` set accordingly. A symbol that is exported without a namespace will
@@ -94,7 +94,7 @@ for the namespaces it uses symbols from. E.g. a module using the usb_stor_suspend symbol from above, needs to import the namespace USB_STORAGE using a statement like:: - MODULE_IMPORT_NS(USB_STORAGE); + MODULE_IMPORT_NS("USB_STORAGE"); This will create a ``modinfo`` tag in the module for each imported namespace. This has the side effect, that the imported namespaces of a module can be
@@ -106,7 +106,7 @@ inspected with modinfo:: [...] -It is advisable to add the MODULE_IMPORT_NS() statement close to other module +It is advisable to add the MODULE_IMPORT_NS("") statement close to other module metadata definitions like MODULE_AUTHOR() or MODULE_LICENSE(). Refer to section 5. for a way to create missing import statements automatically.
@@ -128,7 +128,7 @@ enable loading regardless, but will emit a warning. Missing namespaces imports can easily be detected at build time. In fact, modpost will emit a warning if a module uses a symbol from a namespace without importing it. -MODULE_IMPORT_NS() statements will usually be added at a definite location +MODULE_IMPORT_NS("") statements will usually be added at a definite location (along with other module meta data). To make the life of module authors (and subsystem maintainers) easier, a script and make target is available to fixup missing imports. Fixing missing imports can be done with::
Documentation/translations/it_IT/core-api/symbol-namespaces.rst +4 -4
@@ -43,7 +43,7 @@ Tenete presente che per via dell'espansione delle macro questo argomento deve essere un simbolo di preprocessore. Per esempio per esportare il simbolo ``usb_stor_suspend`` nello spazio dei nomi ``USB_STORAGE`` usate:: - EXPORT_SYMBOL_NS(usb_stor_suspend, USB_STORAGE); + EXPORT_SYMBOL_NS(usb_stor_suspend, "USB_STORAGE"); Di conseguenza, nella tabella dei simboli del kernel ci sarà una voce rappresentata dalla struttura ``kernel_symbol`` che avrà il campo
@@ -94,7 +94,7 @@ dei nomi che contiene i simboli desiderati. Per esempio un modulo che usa il simbolo usb_stor_suspend deve importare lo spazio dei nomi USB_STORAGE usando la seguente dichiarazione:: - MODULE_IMPORT_NS(USB_STORAGE); + MODULE_IMPORT_NS("USB_STORAGE"); Questo creerà un'etichetta ``modinfo`` per ogni spazio dei nomi importato. Un risvolto di questo fatto è che gli spazi dei
@@ -107,7 +107,7 @@ modinfo:: [...] -Si consiglia di posizionare la dichiarazione MODULE_IMPORT_NS() vicino +Si consiglia di posizionare la dichiarazione MODULE_IMPORT_NS("") vicino ai metadati del modulo come MODULE_AUTHOR() o MODULE_LICENSE(). Fate riferimento alla sezione 5. per creare automaticamente le importazioni mancanti.
@@ -131,7 +131,7 @@ emetterà un avviso. La mancanza di un'importazione può essere individuata facilmente al momento della compilazione. Infatti, modpost emetterà un avviso se il modulo usa un simbolo da uno spazio dei nomi che non è stato importato. -La dichiarazione MODULE_IMPORT_NS() viene solitamente aggiunta in un posto +La dichiarazione MODULE_IMPORT_NS("") viene solitamente aggiunta in un posto ben definito (assieme agli altri metadati del modulo). Per facilitare la vita di chi scrive moduli (e i manutentori di sottosistemi), esistono uno script e un target make per correggere le importazioni mancanti. Questo può
Documentation/translations/zh_CN/core-api/symbol-namespaces.rst +4 -4
@@ -48,7 +48,7 @@ 要是一个预处理器符号。例如,要把符号 ``usb_stor_suspend`` 导出到命名空间 ``USB_STORAGE``, 请使用:: - EXPORT_SYMBOL_NS(usb_stor_suspend, USB_STORAGE); + EXPORT_SYMBOL_NS(usb_stor_suspend, "USB_STORAGE"); 相应的 ksymtab 条目结构体 ``kernel_symbol`` 将有相应的成员 ``命名空间`` 集。 导出时未指明命名空间的符号将指向 ``NULL`` 。如果没有定义命名空间,则默认没有。
@@ -88,7 +88,7 @@ 表示它所使用的命名空间的符号。例如,一个使用usb_stor_suspend符号的 模块,需要使用如下语句导入命名空间USB_STORAGE:: - MODULE_IMPORT_NS(USB_STORAGE); + MODULE_IMPORT_NS("USB_STORAGE"); 这将在模块中为每个导入的命名空间创建一个 ``modinfo`` 标签。这也顺带 使得可以用modinfo检查模块已导入的命名空间::
@@ -99,7 +99,7 @@ [...] -建议将 MODULE_IMPORT_NS() 语句添加到靠近其他模块元数据定义的地方, +建议将 MODULE_IMPORT_NS("") 语句添加到靠近其他模块元数据定义的地方, 如 MODULE_AUTHOR() 或 MODULE_LICENSE() 。关于自动创建缺失的导入 语句的方法,请参考第5节。
@@ -118,7 +118,7 @@ EINVAL方式失败。要允许加载不满足这个前提条件的模块,可 缺少命名空间的导入可以在构建时很容易被检测到。事实上,如果一个模块 使用了一个命名空间的符号而没有导入它,modpost会发出警告。 -MODULE_IMPORT_NS()语句通常会被添加到一个明确的位置(和其他模块元 +MODULE_IMPORT_NS("")语句通常会被添加到一个明确的位置(和其他模块元 数据一起)。为了使模块作者(和子系统维护者)的生活更加轻松,我们提 供了一个脚本和make目标来修复丢失的导入。修复丢失的导入可以用::
arch/arm64/crypto/aes-ce-ccm-glue.c +1 -1
@@ -18,7 +18,7 @@#include "aes-ce-setkey.h" -MODULE_IMPORT_NS (CRYPTO_INTERNAL ); +MODULE_IMPORT_NS ("CRYPTO_INTERNAL" );static int num_rounds (struct crypto_aes_ctx *ctx) {
arch/arm64/crypto/aes-glue.c +1 -1
@@ -1048,7 +1048,7 @@ static int __init aes_init(void)#ifdef USE_V8_CRYPTO_EXTENSIONS module_cpu_feature_match (AES , aes_init); -EXPORT_SYMBOL_NS (ce_aes_mac_update,CRYPTO_INTERNAL ); +EXPORT_SYMBOL_NS (ce_aes_mac_update,"CRYPTO_INTERNAL" );#else module_init (aes_init);EXPORT_SYMBOL (neon_aes_ecb_encrypt);
arch/powerpc/crypto/vmx.c +1 -1
@@ -74,4 +74,4 @@ MODULE_DESCRIPTION("IBM VMX cryptographic acceleration instructions " "support on Power 8");MODULE_LICENSE ("GPL" );MODULE_VERSION ("1.0.0" ); -MODULE_IMPORT_NS (CRYPTO_INTERNAL ); +MODULE_IMPORT_NS ("CRYPTO_INTERNAL" );
arch/s390/crypto/aes_s390.c +1 -1
@@ -1168,4 +1168,4 @@ MODULE_ALIAS_CRYPTO("aes-all");MODULE_DESCRIPTION ("Rijndael (AES) Cipher Algorithm" );MODULE_LICENSE ("GPL" ); -MODULE_IMPORT_NS (CRYPTO_INTERNAL ); +MODULE_IMPORT_NS ("CRYPTO_INTERNAL" );
arch/x86/mm/pat/set_memory.c +2 -2
@@ -354,7 +354,7 @@ bool cpu_cache_has_invalidate_memregion(void) {return !cpu_feature_enabled (X86_FEATURE_HYPERVISOR ); } -EXPORT_SYMBOL_NS_GPL (cpu_cache_has_invalidate_memregion,DEVMEM ); +EXPORT_SYMBOL_NS_GPL (cpu_cache_has_invalidate_memregion,"DEVMEM" );int cpu_cache_invalidate_memregion (int res_desc) {
@@ -363,7 +363,7 @@ int cpu_cache_invalidate_memregion(int res_desc)wbinvd_on_all_cpus (); return 0; } -EXPORT_SYMBOL_NS_GPL (cpu_cache_invalidate_memregion,DEVMEM ); +EXPORT_SYMBOL_NS_GPL (cpu_cache_invalidate_memregion,"DEVMEM" );#endif static void __cpa_flush_all (void *arg)
crypto/adiantum.c +1 -1
@@ -646,4 +646,4 @@ MODULE_DESCRIPTION("Adiantum length-preserving encryption mode");MODULE_LICENSE ("GPL v2" );MODULE_AUTHOR ("Eric Biggers <[email protected]>" );MODULE_ALIAS_CRYPTO ("adiantum" ); -MODULE_IMPORT_NS (CRYPTO_INTERNAL ); +MODULE_IMPORT_NS ("CRYPTO_INTERNAL" );
crypto/ansi_cprng.c +1 -1
@@ -471,4 +471,4 @@ subsys_initcall(prng_mod_init);module_exit (prng_mod_fini);MODULE_ALIAS_CRYPTO ("stdrng" );MODULE_ALIAS_CRYPTO ("ansi_cprng" ); -MODULE_IMPORT_NS (CRYPTO_INTERNAL ); +MODULE_IMPORT_NS ("CRYPTO_INTERNAL" );
crypto/ccm.c +1 -1
@@ -949,4 +949,4 @@ MODULE_ALIAS_CRYPTO("ccm_base");MODULE_ALIAS_CRYPTO ("rfc4309" );MODULE_ALIAS_CRYPTO ("ccm" );MODULE_ALIAS_CRYPTO ("cbcmac" ); -MODULE_IMPORT_NS (CRYPTO_INTERNAL ); +MODULE_IMPORT_NS ("CRYPTO_INTERNAL" );
crypto/cipher.c +3 -3
@@ -53,7 +53,7 @@ int crypto_cipher_setkey(struct crypto_cipher *tfm,return cia->cia_setkey (crypto_cipher_tfm (tfm), key, keylen); } -EXPORT_SYMBOL_NS_GPL (crypto_cipher_setkey,CRYPTO_INTERNAL ); +EXPORT_SYMBOL_NS_GPL (crypto_cipher_setkey,"CRYPTO_INTERNAL" );static inline void cipher_crypt_one (struct crypto_cipher *tfm,u8 *dst,const u8 *src,bool enc)
@@ -81,14 +81,14 @@ void crypto_cipher_encrypt_one(struct crypto_cipher *tfm, {cipher_crypt_one (tfm, dst, src, true); } -EXPORT_SYMBOL_NS_GPL (crypto_cipher_encrypt_one,CRYPTO_INTERNAL ); +EXPORT_SYMBOL_NS_GPL (crypto_cipher_encrypt_one,"CRYPTO_INTERNAL" );void crypto_cipher_decrypt_one (struct crypto_cipher *tfm,u8 *dst,const u8 *src) {cipher_crypt_one (tfm, dst, src, false); } -EXPORT_SYMBOL_NS_GPL (crypto_cipher_decrypt_one,CRYPTO_INTERNAL ); +EXPORT_SYMBOL_NS_GPL (crypto_cipher_decrypt_one,"CRYPTO_INTERNAL" );struct crypto_cipher *crypto_clone_cipher (struct crypto_cipher *cipher) {
crypto/cmac.c +1 -1
@@ -313,4 +313,4 @@ module_exit(crypto_cmac_module_exit);MODULE_LICENSE ("GPL" );MODULE_DESCRIPTION ("CMAC keyed hash algorithm" );MODULE_ALIAS_CRYPTO ("cmac" ); -MODULE_IMPORT_NS (CRYPTO_INTERNAL ); +MODULE_IMPORT_NS ("CRYPTO_INTERNAL" );
crypto/ctr.c +1 -1
@@ -357,4 +357,4 @@ MODULE_LICENSE("GPL");MODULE_DESCRIPTION ("CTR block cipher mode of operation" );MODULE_ALIAS_CRYPTO ("rfc3686" );MODULE_ALIAS_CRYPTO ("ctr" ); -MODULE_IMPORT_NS (CRYPTO_INTERNAL ); +MODULE_IMPORT_NS ("CRYPTO_INTERNAL" );
crypto/drbg.c +1 -1
@@ -2150,4 +2150,4 @@ MODULE_DESCRIPTION("NIST SP800-90A Deterministic Random Bit Generator (DRBG) "CRYPTO_DRBG_HMAC_STRING CRYPTO_DRBG_CTR_STRING);MODULE_ALIAS_CRYPTO ("stdrng" ); -MODULE_IMPORT_NS (CRYPTO_INTERNAL ); +MODULE_IMPORT_NS ("CRYPTO_INTERNAL" );
crypto/ecb.c +1 -1
@@ -225,4 +225,4 @@ module_exit(crypto_ecb_module_exit);MODULE_LICENSE ("GPL" );MODULE_DESCRIPTION ("ECB block cipher mode of operation" );MODULE_ALIAS_CRYPTO ("ecb" ); -MODULE_IMPORT_NS (CRYPTO_INTERNAL ); +MODULE_IMPORT_NS ("CRYPTO_INTERNAL" );
crypto/essiv.c +1 -1
@@ -649,4 +649,4 @@ module_exit(essiv_module_exit);MODULE_DESCRIPTION ("ESSIV skcipher/aead wrapper for block encryption" );MODULE_LICENSE ("GPL v2" );MODULE_ALIAS_CRYPTO ("essiv" ); -MODULE_IMPORT_NS (CRYPTO_INTERNAL ); +MODULE_IMPORT_NS ("CRYPTO_INTERNAL" );
crypto/hctr2.c +1 -1
@@ -576,4 +576,4 @@ module_exit(hctr2_module_exit);MODULE_DESCRIPTION ("HCTR2 length-preserving encryption mode" );MODULE_LICENSE ("GPL v2" );MODULE_ALIAS_CRYPTO ("hctr2" ); -MODULE_IMPORT_NS (CRYPTO_INTERNAL ); +MODULE_IMPORT_NS ("CRYPTO_INTERNAL" );
crypto/keywrap.c +1 -1
@@ -317,4 +317,4 @@ MODULE_LICENSE("Dual BSD/GPL");MODULE_AUTHOR ("Stephan Mueller <[email protected]>" );MODULE_DESCRIPTION ("Key Wrapping (RFC3394 / NIST SP800-38F)" );MODULE_ALIAS_CRYPTO ("kw" ); -MODULE_IMPORT_NS (CRYPTO_INTERNAL ); +MODULE_IMPORT_NS ("CRYPTO_INTERNAL" );
crypto/pcbc.c +1 -1
@@ -192,4 +192,4 @@ module_exit(crypto_pcbc_module_exit);MODULE_LICENSE ("GPL" );MODULE_DESCRIPTION ("PCBC block cipher mode of operation" );MODULE_ALIAS_CRYPTO ("pcbc" ); -MODULE_IMPORT_NS (CRYPTO_INTERNAL ); +MODULE_IMPORT_NS ("CRYPTO_INTERNAL" );
crypto/skcipher.c +1 -1
@@ -1085,4 +1085,4 @@ EXPORT_SYMBOL_GPL(skcipher_alloc_instance_simple);MODULE_LICENSE ("GPL" );MODULE_DESCRIPTION ("Symmetric key cipher type" ); -MODULE_IMPORT_NS (CRYPTO_INTERNAL ); +MODULE_IMPORT_NS ("CRYPTO_INTERNAL" );
crypto/testmgr.c +1 -1
@@ -38,7 +38,7 @@#include "internal.h" -MODULE_IMPORT_NS (CRYPTO_INTERNAL ); +MODULE_IMPORT_NS ("CRYPTO_INTERNAL" );static bool notests;module_param (notests, bool,0644 );
crypto/vmac.c +1 -1
@@ -693,4 +693,4 @@ module_exit(vmac_module_exit);MODULE_LICENSE ("GPL" );MODULE_DESCRIPTION ("VMAC hash algorithm" );MODULE_ALIAS_CRYPTO ("vmac64" ); -MODULE_IMPORT_NS (CRYPTO_INTERNAL ); +MODULE_IMPORT_NS ("CRYPTO_INTERNAL" );
crypto/xcbc.c +1 -1
@@ -261,4 +261,4 @@ module_exit(crypto_xcbc_module_exit);MODULE_LICENSE ("GPL" );MODULE_DESCRIPTION ("XCBC keyed hash algorithm" );MODULE_ALIAS_CRYPTO ("xcbc" ); -MODULE_IMPORT_NS (CRYPTO_INTERNAL ); +MODULE_IMPORT_NS ("CRYPTO_INTERNAL" );
crypto/xctr.c +1 -1
@@ -188,4 +188,4 @@ module_exit(crypto_xctr_module_exit);MODULE_LICENSE ("GPL" );MODULE_DESCRIPTION ("XCTR block cipher mode of operation" );MODULE_ALIAS_CRYPTO ("xctr" ); -MODULE_IMPORT_NS (CRYPTO_INTERNAL ); +MODULE_IMPORT_NS ("CRYPTO_INTERNAL" );
crypto/xts.c +1 -1
@@ -472,5 +472,5 @@ module_exit(xts_module_exit);MODULE_LICENSE ("GPL" );MODULE_DESCRIPTION ("XTS block cipher mode" );MODULE_ALIAS_CRYPTO ("xts" ); -MODULE_IMPORT_NS (CRYPTO_INTERNAL ); +MODULE_IMPORT_NS ("CRYPTO_INTERNAL" );MODULE_SOFTDEP ("pre: ecb" );
drivers/accel/habanalabs/common/memory.c +1 -1
@@ -14,7 +14,7 @@#include <linux/vmalloc.h> #include <linux/pci-p2pdma.h> -MODULE_IMPORT_NS (DMA_BUF ); +MODULE_IMPORT_NS ("DMA_BUF" );#define HL_MMU_DEBUG 0
drivers/accel/qaic/qaic_drv.c +1 -1
@@ -32,7 +32,7 @@#include "qaic_timesync.h" #include "sahara.h" -MODULE_IMPORT_NS (DMA_BUF ); +MODULE_IMPORT_NS ("DMA_BUF" );#define PCI_DEV_AIC100 0xa100#define QAIC_NAME "qaic"
drivers/acpi/apei/einj-cxl.c +4 -4
@@ -45,7 +45,7 @@ int einj_cxl_available_error_type_show(struct seq_file *m, void *v)return 0 ; } -EXPORT_SYMBOL_NS_GPL (einj_cxl_available_error_type_show,CXL ); +EXPORT_SYMBOL_NS_GPL (einj_cxl_available_error_type_show,"CXL" );static int cxl_dport_get_sbdf (struct pci_dev *dport_dev,u64 *sbdf) {
@@ -83,7 +83,7 @@ int einj_cxl_inject_rch_error(u64 rcrb, u64 type)return einj_cxl_rch_error_inject (type,0x2 , rcrb,GENMASK_ULL (63 ,0 ),0 ,0 ); } -EXPORT_SYMBOL_NS_GPL (einj_cxl_inject_rch_error,CXL ); +EXPORT_SYMBOL_NS_GPL (einj_cxl_inject_rch_error,"CXL" );int einj_cxl_inject_error (struct pci_dev *dport,u64 type) {
@@ -104,10 +104,10 @@ int einj_cxl_inject_error(struct pci_dev *dport, u64 type)return einj_error_inject (type,0x4 ,0 ,0 ,0 , param4); } -EXPORT_SYMBOL_NS_GPL (einj_cxl_inject_error,CXL ); +EXPORT_SYMBOL_NS_GPL (einj_cxl_inject_error,"CXL" );bool einj_cxl_is_initialized (void ) {return einj_initialized; } -EXPORT_SYMBOL_NS_GPL (einj_cxl_is_initialized,CXL ); +EXPORT_SYMBOL_NS_GPL (einj_cxl_is_initialized,"CXL" );
drivers/acpi/apei/ghes.c +3 -3
@@ -726,7 +726,7 @@ int cxl_cper_register_work(struct work_struct *work) cxl_cper_work = work;return 0 ; } -EXPORT_SYMBOL_NS_GPL (cxl_cper_register_work,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_cper_register_work,"CXL" );int cxl_cper_unregister_work (struct work_struct *work) {
@@ -737,13 +737,13 @@ int cxl_cper_unregister_work(struct work_struct *work) cxl_cper_work =NULL ;return 0 ; } -EXPORT_SYMBOL_NS_GPL (cxl_cper_unregister_work,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_cper_unregister_work,"CXL" );int cxl_cper_kfifo_get (struct cxl_cper_work_data *wd) {return kfifo_get (&cxl_cper_fifo, wd); } -EXPORT_SYMBOL_NS_GPL (cxl_cper_kfifo_get,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_cper_kfifo_get,"CXL" );static bool ghes_do_proc (struct ghes *ghes,const struct acpi_hest_generic_status *estatus)
drivers/acpi/numa/hmat.c +1 -1
@@ -151,7 +151,7 @@ int acpi_get_genport_coordinates(u32 uid,return 0 ; } -EXPORT_SYMBOL_NS_GPL (acpi_get_genport_coordinates,CXL ); +EXPORT_SYMBOL_NS_GPL (acpi_get_genport_coordinates,"CXL" );static __init void alloc_memory_initiator (unsigned int cpu_pxm) {
drivers/acpi/thermal.c +1 -1
@@ -1082,7 +1082,7 @@ static void __exit acpi_thermal_exit(void)module_init (acpi_thermal_init);module_exit (acpi_thermal_exit); -MODULE_IMPORT_NS (ACPI_THERMAL ); +MODULE_IMPORT_NS ("ACPI_THERMAL" );MODULE_AUTHOR ("Paul Diefenbaugh" );MODULE_DESCRIPTION ("ACPI Thermal Zone Driver" );MODULE_LICENSE ("GPL" );
drivers/acpi/thermal_lib.c +4 -4
@@ -53,25 +53,25 @@ int acpi_active_trip_temp(struct acpi_device *adev, int id, int *ret_temp)return acpi_trip_temp (adev, obj_name, ret_temp); } -EXPORT_SYMBOL_NS_GPL (acpi_active_trip_temp,ACPI_THERMAL ); +EXPORT_SYMBOL_NS_GPL (acpi_active_trip_temp,"ACPI_THERMAL" );int acpi_passive_trip_temp (struct acpi_device *adev,int *ret_temp) {return acpi_trip_temp (adev,"_PSV" , ret_temp); } -EXPORT_SYMBOL_NS_GPL (acpi_passive_trip_temp,ACPI_THERMAL ); +EXPORT_SYMBOL_NS_GPL (acpi_passive_trip_temp,"ACPI_THERMAL" );int acpi_hot_trip_temp (struct acpi_device *adev,int *ret_temp) {return acpi_trip_temp (adev,"_HOT" , ret_temp); } -EXPORT_SYMBOL_NS_GPL (acpi_hot_trip_temp,ACPI_THERMAL ); +EXPORT_SYMBOL_NS_GPL (acpi_hot_trip_temp,"ACPI_THERMAL" );int acpi_critical_trip_temp (struct acpi_device *adev,int *ret_temp) {return acpi_trip_temp (adev,"_CRT" , ret_temp); } -EXPORT_SYMBOL_NS_GPL (acpi_critical_trip_temp,ACPI_THERMAL ); +EXPORT_SYMBOL_NS_GPL (acpi_critical_trip_temp,"ACPI_THERMAL" );static int thermal_temp (int error,int temp_decik,int *ret_temp) {
drivers/auxdisplay/ht16k33.c +1 -1
@@ -780,5 +780,5 @@ module_i2c_driver(ht16k33_driver);MODULE_DESCRIPTION ("Holtek HT16K33 driver" );MODULE_LICENSE ("GPL" ); -MODULE_IMPORT_NS (LINEDISP ); +MODULE_IMPORT_NS ("LINEDISP" );MODULE_AUTHOR ("Robin van der Gracht <[email protected]>" );
drivers/auxdisplay/img-ascii-lcd.c +1 -1
@@ -298,4 +298,4 @@ module_platform_driver(img_ascii_lcd_driver);MODULE_DESCRIPTION ("Imagination Technologies ASCII LCD Display" );MODULE_AUTHOR ("Paul Burton <[email protected]>" );MODULE_LICENSE ("GPL" ); -MODULE_IMPORT_NS (LINEDISP ); +MODULE_IMPORT_NS ("LINEDISP" );
drivers/auxdisplay/line-display.c +2 -2
@@ -381,7 +381,7 @@ int linedisp_register(struct linedisp *linedisp, struct device *parent,put_device (&linedisp->dev);return err; } -EXPORT_SYMBOL_NS_GPL (linedisp_register,LINEDISP ); +EXPORT_SYMBOL_NS_GPL (linedisp_register,"LINEDISP" );/** * linedisp_unregister - unregister a character line display
@@ -394,7 +394,7 @@ void linedisp_unregister(struct linedisp *linedisp)del_timer_sync (&linedisp->timer);put_device (&linedisp->dev); } -EXPORT_SYMBOL_NS_GPL (linedisp_unregister,LINEDISP ); +EXPORT_SYMBOL_NS_GPL (linedisp_unregister,"LINEDISP" );MODULE_DESCRIPTION ("Character line display core support" );MODULE_LICENSE ("GPL" );
drivers/auxdisplay/max6959.c +1 -1
@@ -191,4 +191,4 @@ module_i2c_driver(max6959_i2c_driver);MODULE_DESCRIPTION ("MAX6958/6959 7-segment LED controller" );MODULE_AUTHOR ("Andy Shevchenko <[email protected]>" );MODULE_LICENSE ("GPL" ); -MODULE_IMPORT_NS (LINEDISP ); +MODULE_IMPORT_NS ("LINEDISP" );
drivers/auxdisplay/seg-led-gpio.c +1 -1
@@ -108,4 +108,4 @@ module_platform_driver(seg_led_driver);MODULE_AUTHOR ("Chris Packham <[email protected]>" );MODULE_DESCRIPTION ("7 segment LED driver" );MODULE_LICENSE ("GPL" ); -MODULE_IMPORT_NS (LINEDISP ); +MODULE_IMPORT_NS ("LINEDISP" );
drivers/base/firmware_loader/builtin/main.c +1 -1
@@ -61,7 +61,7 @@ bool firmware_request_builtin(struct firmware *fw, const char *name)return false; } -EXPORT_SYMBOL_NS_GPL (firmware_request_builtin,TEST_FIRMWARE ); +EXPORT_SYMBOL_NS_GPL (firmware_request_builtin,"TEST_FIRMWARE" );/** * firmware_request_builtin_buf() - load builtin firmware into optional buffer
drivers/base/firmware_loader/fallback_table.c +3 -3
@@ -22,7 +22,7 @@ struct firmware_fallback_config fw_fallback_config = { .loading_timeout = 60, .old_timeout = 60, }; -EXPORT_SYMBOL_NS_GPL (fw_fallback_config,FIRMWARE_LOADER_PRIVATE ); +EXPORT_SYMBOL_NS_GPL (fw_fallback_config,"FIRMWARE_LOADER_PRIVATE" );#ifdef CONFIG_SYSCTL static struct ctl_table firmware_config_table[] = {
@@ -56,13 +56,13 @@ int register_firmware_config_sysctl(void)return -ENOMEM ; return 0; } -EXPORT_SYMBOL_NS_GPL (register_firmware_config_sysctl,FIRMWARE_LOADER_PRIVATE ); +EXPORT_SYMBOL_NS_GPL (register_firmware_config_sysctl,"FIRMWARE_LOADER_PRIVATE" );void unregister_firmware_config_sysctl (void ) {unregister_sysctl_table (firmware_config_sysct_table_header); firmware_config_sysct_table_header =NULL ; } -EXPORT_SYMBOL_NS_GPL (unregister_firmware_config_sysctl,FIRMWARE_LOADER_PRIVATE ); +EXPORT_SYMBOL_NS_GPL (unregister_firmware_config_sysctl,"FIRMWARE_LOADER_PRIVATE" );#endif /* CONFIG_SYSCTL */
drivers/base/firmware_loader/sysfs.h +1 -1
@@ -6,7 +6,7 @@#include "firmware.h" -MODULE_IMPORT_NS (FIRMWARE_LOADER_PRIVATE ); +MODULE_IMPORT_NS ("FIRMWARE_LOADER_PRIVATE" );extern struct firmware_fallback_config fw_fallback_config;extern struct device_attribute dev_attr_loading;
drivers/cdx/cdx.c +4 -4
@@ -868,7 +868,7 @@ int cdx_device_add(struct cdx_dev_params *dev_params)return ret; } -EXPORT_SYMBOL_NS_GPL (cdx_device_add,CDX_BUS_CONTROLLER ); +EXPORT_SYMBOL_NS_GPL (cdx_device_add,"CDX_BUS_CONTROLLER" );struct device *cdx_bus_add (struct cdx_controller *cdx,u8 bus_num) {
@@ -915,7 +915,7 @@ struct device *cdx_bus_add(struct cdx_controller *cdx, u8 bus_num)return NULL ; } -EXPORT_SYMBOL_NS_GPL (cdx_bus_add,CDX_BUS_CONTROLLER ); +EXPORT_SYMBOL_NS_GPL (cdx_bus_add,"CDX_BUS_CONTROLLER" );int cdx_register_controller (struct cdx_controller *cdx) {
@@ -940,7 +940,7 @@ int cdx_register_controller(struct cdx_controller *cdx)return 0 ; } -EXPORT_SYMBOL_NS_GPL (cdx_register_controller,CDX_BUS_CONTROLLER ); +EXPORT_SYMBOL_NS_GPL (cdx_register_controller,"CDX_BUS_CONTROLLER" );void cdx_unregister_controller (struct cdx_controller *cdx) {
@@ -955,7 +955,7 @@ void cdx_unregister_controller(struct cdx_controller *cdx)mutex_unlock (&cdx_controller_lock); } -EXPORT_SYMBOL_NS_GPL (cdx_unregister_controller,CDX_BUS_CONTROLLER ); +EXPORT_SYMBOL_NS_GPL (cdx_unregister_controller,"CDX_BUS_CONTROLLER" );static int __init cdx_bus_init (void ) {
drivers/cdx/cdx_msi.c +1 -1
@@ -189,4 +189,4 @@ struct irq_domain *cdx_msi_domain_init(struct device *dev)return cdx_msi_domain; } -EXPORT_SYMBOL_NS_GPL (cdx_msi_domain_init,CDX_BUS_CONTROLLER ); +EXPORT_SYMBOL_NS_GPL (cdx_msi_domain_init,"CDX_BUS_CONTROLLER" );
drivers/cdx/controller/cdx_controller.c +1 -1
@@ -275,4 +275,4 @@ module_exit(cdx_controller_exit);MODULE_AUTHOR ("AMD Inc." );MODULE_DESCRIPTION ("CDX controller for AMD devices" );MODULE_LICENSE ("GPL" ); -MODULE_IMPORT_NS (CDX_BUS_CONTROLLER ); +MODULE_IMPORT_NS ("CDX_BUS_CONTROLLER" );
drivers/clk/meson/a1-peripherals.c +1 -1
@@ -2246,4 +2246,4 @@ MODULE_DESCRIPTION("Amlogic A1 Peripherals Clock Controller driver");MODULE_AUTHOR ("Jian Hu <[email protected]>" );MODULE_AUTHOR ("Dmitry Rokosov <[email protected]>" );MODULE_LICENSE ("GPL" ); -MODULE_IMPORT_NS (CLK_MESON ); +MODULE_IMPORT_NS ("CLK_MESON" );
drivers/clk/meson/a1-pll.c +1 -1
@@ -360,4 +360,4 @@ MODULE_DESCRIPTION("Amlogic S4 PLL Clock Controller driver");MODULE_AUTHOR ("Jian Hu <[email protected]>" );MODULE_AUTHOR ("Dmitry Rokosov <[email protected]>" );MODULE_LICENSE ("GPL" ); -MODULE_IMPORT_NS (CLK_MESON ); +MODULE_IMPORT_NS ("CLK_MESON" );
drivers/clk/meson/axg-aoclk.c +1 -1
@@ -342,4 +342,4 @@ module_platform_driver(axg_aoclkc_driver);MODULE_DESCRIPTION ("Amlogic AXG Always-ON Clock Controller driver" );MODULE_LICENSE ("GPL" ); -MODULE_IMPORT_NS (CLK_MESON ); +MODULE_IMPORT_NS ("CLK_MESON" );
drivers/clk/meson/axg-audio.c +1 -1
@@ -1912,4 +1912,4 @@ module_platform_driver(axg_audio_driver);MODULE_DESCRIPTION ("Amlogic AXG/G12A/SM1 Audio Clock driver" );MODULE_AUTHOR ("Jerome Brunet <[email protected]>" );MODULE_LICENSE ("GPL" ); -MODULE_IMPORT_NS (CLK_MESON ); +MODULE_IMPORT_NS ("CLK_MESON" );
drivers/clk/meson/axg.c +1 -1
@@ -2187,4 +2187,4 @@ module_platform_driver(axg_driver);MODULE_DESCRIPTION ("Amlogic AXG Main Clock Controller driver" );MODULE_LICENSE ("GPL" ); -MODULE_IMPORT_NS (CLK_MESON ); +MODULE_IMPORT_NS ("CLK_MESON" );
drivers/clk/meson/c3-peripherals.c +1 -1
@@ -2364,4 +2364,4 @@ module_platform_driver(c3_peripherals_driver);MODULE_DESCRIPTION ("Amlogic C3 Peripherals Clock Controller driver" );MODULE_AUTHOR ("Chuan Liu <[email protected]>" );MODULE_LICENSE ("GPL" ); -MODULE_IMPORT_NS (CLK_MESON ); +MODULE_IMPORT_NS ("CLK_MESON" );
drivers/clk/meson/c3-pll.c +1 -1
@@ -745,4 +745,4 @@ module_platform_driver(c3_pll_driver);MODULE_DESCRIPTION ("Amlogic C3 PLL Clock Controller driver" );MODULE_AUTHOR ("Chuan Liu <[email protected]>" );MODULE_LICENSE ("GPL" ); -MODULE_IMPORT_NS (CLK_MESON ); +MODULE_IMPORT_NS ("CLK_MESON" );
drivers/clk/meson/clk-cpu-dyndiv.c +2 -2
@@ -65,9 +65,9 @@ const struct clk_ops meson_clk_cpu_dyndiv_ops = { .determine_rate = meson_clk_cpu_dyndiv_determine_rate, .set_rate = meson_clk_cpu_dyndiv_set_rate, }; -EXPORT_SYMBOL_NS_GPL (meson_clk_cpu_dyndiv_ops,CLK_MESON ); +EXPORT_SYMBOL_NS_GPL (meson_clk_cpu_dyndiv_ops,"CLK_MESON" );MODULE_DESCRIPTION ("Amlogic CPU Dynamic Clock divider" );MODULE_AUTHOR ("Neil Armstrong <[email protected]>" );MODULE_LICENSE ("GPL" ); -MODULE_IMPORT_NS (CLK_MESON ); +MODULE_IMPORT_NS ("CLK_MESON" );
drivers/clk/meson/clk-dualdiv.c +3 -3
@@ -130,15 +130,15 @@ const struct clk_ops meson_clk_dualdiv_ops = { .determine_rate = meson_clk_dualdiv_determine_rate, .set_rate = meson_clk_dualdiv_set_rate, }; -EXPORT_SYMBOL_NS_GPL (meson_clk_dualdiv_ops,CLK_MESON ); +EXPORT_SYMBOL_NS_GPL (meson_clk_dualdiv_ops,"CLK_MESON" );const struct clk_ops meson_clk_dualdiv_ro_ops = { .recalc_rate = meson_clk_dualdiv_recalc_rate, }; -EXPORT_SYMBOL_NS_GPL (meson_clk_dualdiv_ro_ops,CLK_MESON ); +EXPORT_SYMBOL_NS_GPL (meson_clk_dualdiv_ro_ops,"CLK_MESON" );MODULE_DESCRIPTION ("Amlogic dual divider driver" );MODULE_AUTHOR ("Neil Armstrong <[email protected]>" );MODULE_AUTHOR ("Jerome Brunet <[email protected]>" );MODULE_LICENSE ("GPL" ); -MODULE_IMPORT_NS (CLK_MESON ); +MODULE_IMPORT_NS ("CLK_MESON" );
drivers/clk/meson/clk-mpll.c +3 -3
@@ -165,7 +165,7 @@ const struct clk_ops meson_clk_mpll_ro_ops = { .recalc_rate = mpll_recalc_rate, .determine_rate = mpll_determine_rate, }; -EXPORT_SYMBOL_NS_GPL (meson_clk_mpll_ro_ops,CLK_MESON ); +EXPORT_SYMBOL_NS_GPL (meson_clk_mpll_ro_ops,"CLK_MESON" );const struct clk_ops meson_clk_mpll_ops = { .recalc_rate = mpll_recalc_rate,
@@ -173,9 +173,9 @@ const struct clk_ops meson_clk_mpll_ops = { .set_rate = mpll_set_rate, .init = mpll_init, }; -EXPORT_SYMBOL_NS_GPL (meson_clk_mpll_ops,CLK_MESON ); +EXPORT_SYMBOL_NS_GPL (meson_clk_mpll_ops,"CLK_MESON" );MODULE_DESCRIPTION ("Amlogic MPLL driver" );MODULE_AUTHOR ("Michael Turquette <[email protected]>" );MODULE_LICENSE ("GPL" ); -MODULE_IMPORT_NS (CLK_MESON ); +MODULE_IMPORT_NS ("CLK_MESON" );
drivers/clk/meson/clk-phase.c +4 -4
@@ -61,7 +61,7 @@ const struct clk_ops meson_clk_phase_ops = { .get_phase = meson_clk_phase_get_phase, .set_phase = meson_clk_phase_set_phase, }; -EXPORT_SYMBOL_NS_GPL (meson_clk_phase_ops,CLK_MESON ); +EXPORT_SYMBOL_NS_GPL (meson_clk_phase_ops,"CLK_MESON" );/* * This is a special clock for the audio controller.
@@ -123,7 +123,7 @@ const struct clk_ops meson_clk_triphase_ops = { .get_phase = meson_clk_triphase_get_phase, .set_phase = meson_clk_triphase_set_phase, }; -EXPORT_SYMBOL_NS_GPL (meson_clk_triphase_ops,CLK_MESON ); +EXPORT_SYMBOL_NS_GPL (meson_clk_triphase_ops,"CLK_MESON" );/* * This is a special clock for the audio controller.
@@ -178,9 +178,9 @@ const struct clk_ops meson_sclk_ws_inv_ops = { .get_phase = meson_sclk_ws_inv_get_phase, .set_phase = meson_sclk_ws_inv_set_phase, }; -EXPORT_SYMBOL_NS_GPL (meson_sclk_ws_inv_ops,CLK_MESON ); +EXPORT_SYMBOL_NS_GPL (meson_sclk_ws_inv_ops,"CLK_MESON" );MODULE_DESCRIPTION ("Amlogic phase driver" );MODULE_AUTHOR ("Jerome Brunet <[email protected]>" );MODULE_LICENSE ("GPL" ); -MODULE_IMPORT_NS (CLK_MESON ); +MODULE_IMPORT_NS ("CLK_MESON" );
drivers/clk/meson/clk-pll.c +4 -4
@@ -472,7 +472,7 @@ const struct clk_ops meson_clk_pcie_pll_ops = { .enable = meson_clk_pcie_pll_enable, .disable = meson_clk_pll_disable }; -EXPORT_SYMBOL_NS_GPL (meson_clk_pcie_pll_ops,CLK_MESON ); +EXPORT_SYMBOL_NS_GPL (meson_clk_pcie_pll_ops,"CLK_MESON" );const struct clk_ops meson_clk_pll_ops = { .init = meson_clk_pll_init,
@@ -483,16 +483,16 @@ const struct clk_ops meson_clk_pll_ops = { .enable = meson_clk_pll_enable, .disable = meson_clk_pll_disable }; -EXPORT_SYMBOL_NS_GPL (meson_clk_pll_ops,CLK_MESON ); +EXPORT_SYMBOL_NS_GPL (meson_clk_pll_ops,"CLK_MESON" );const struct clk_ops meson_clk_pll_ro_ops = { .recalc_rate = meson_clk_pll_recalc_rate, .is_enabled = meson_clk_pll_is_enabled, }; -EXPORT_SYMBOL_NS_GPL (meson_clk_pll_ro_ops,CLK_MESON ); +EXPORT_SYMBOL_NS_GPL (meson_clk_pll_ro_ops,"CLK_MESON" );MODULE_DESCRIPTION ("Amlogic PLL driver" );MODULE_AUTHOR ("Carlo Caione <[email protected]>" );MODULE_AUTHOR ("Jerome Brunet <[email protected]>" );MODULE_LICENSE ("GPL" ); -MODULE_IMPORT_NS (CLK_MESON ); +MODULE_IMPORT_NS ("CLK_MESON" );
drivers/clk/meson/clk-regmap.c +7 -7
@@ -49,12 +49,12 @@ const struct clk_ops clk_regmap_gate_ops = { .disable = clk_regmap_gate_disable, .is_enabled = clk_regmap_gate_is_enabled, }; -EXPORT_SYMBOL_NS_GPL (clk_regmap_gate_ops,CLK_MESON ); +EXPORT_SYMBOL_NS_GPL (clk_regmap_gate_ops,"CLK_MESON" );const struct clk_ops clk_regmap_gate_ro_ops = { .is_enabled = clk_regmap_gate_is_enabled, }; -EXPORT_SYMBOL_NS_GPL (clk_regmap_gate_ro_ops,CLK_MESON ); +EXPORT_SYMBOL_NS_GPL (clk_regmap_gate_ro_ops,"CLK_MESON" );static unsigned long clk_regmap_div_recalc_rate (struct clk_hw *hw,unsigned long prate)
@@ -125,13 +125,13 @@ const struct clk_ops clk_regmap_divider_ops = { .determine_rate = clk_regmap_div_determine_rate, .set_rate = clk_regmap_div_set_rate, }; -EXPORT_SYMBOL_NS_GPL (clk_regmap_divider_ops,CLK_MESON ); +EXPORT_SYMBOL_NS_GPL (clk_regmap_divider_ops,"CLK_MESON" );const struct clk_ops clk_regmap_divider_ro_ops = { .recalc_rate = clk_regmap_div_recalc_rate, .determine_rate = clk_regmap_div_determine_rate, }; -EXPORT_SYMBOL_NS_GPL (clk_regmap_divider_ro_ops,CLK_MESON ); +EXPORT_SYMBOL_NS_GPL (clk_regmap_divider_ro_ops,"CLK_MESON" );static u8 clk_regmap_mux_get_parent (struct clk_hw *hw) {
@@ -174,14 +174,14 @@ const struct clk_ops clk_regmap_mux_ops = { .set_parent = clk_regmap_mux_set_parent, .determine_rate = clk_regmap_mux_determine_rate, }; -EXPORT_SYMBOL_NS_GPL (clk_regmap_mux_ops,CLK_MESON ); +EXPORT_SYMBOL_NS_GPL (clk_regmap_mux_ops,"CLK_MESON" );const struct clk_ops clk_regmap_mux_ro_ops = { .get_parent = clk_regmap_mux_get_parent, }; -EXPORT_SYMBOL_NS_GPL (clk_regmap_mux_ro_ops,CLK_MESON ); +EXPORT_SYMBOL_NS_GPL (clk_regmap_mux_ro_ops,"CLK_MESON" );MODULE_DESCRIPTION ("Amlogic regmap backed clock driver" );MODULE_AUTHOR ("Jerome Brunet <[email protected]>" );MODULE_LICENSE ("GPL" ); -MODULE_IMPORT_NS (CLK_MESON ); +MODULE_IMPORT_NS ("CLK_MESON" );
drivers/clk/meson/g12a-aoclk.c +1 -1
@@ -477,4 +477,4 @@ module_platform_driver(g12a_aoclkc_driver);MODULE_DESCRIPTION ("Amlogic G12A Always-ON Clock Controller driver" );MODULE_LICENSE ("GPL" ); -MODULE_IMPORT_NS (CLK_MESON ); +MODULE_IMPORT_NS ("CLK_MESON" );
drivers/clk/meson/g12a.c +1 -1
@@ -5616,4 +5616,4 @@ module_platform_driver(g12a_driver);MODULE_DESCRIPTION ("Amlogic G12/SM1 Main Clock Controller driver" );MODULE_LICENSE ("GPL" ); -MODULE_IMPORT_NS (CLK_MESON ); +MODULE_IMPORT_NS ("CLK_MESON" );
drivers/clk/meson/gxbb-aoclk.c +1 -1
@@ -303,4 +303,4 @@ module_platform_driver(gxbb_aoclkc_driver);MODULE_DESCRIPTION ("Amlogic GXBB Always-ON Clock Controller driver" );MODULE_LICENSE ("GPL" ); -MODULE_IMPORT_NS (CLK_MESON ); +MODULE_IMPORT_NS ("CLK_MESON" );
drivers/clk/meson/gxbb.c +1 -1
@@ -3571,4 +3571,4 @@ module_platform_driver(gxbb_driver);MODULE_DESCRIPTION ("Amlogic GXBB Main Clock Controller driver" );MODULE_LICENSE ("GPL" ); -MODULE_IMPORT_NS (CLK_MESON ); +MODULE_IMPORT_NS ("CLK_MESON" );
drivers/clk/meson/meson-aoclk.c +2 -2
@@ -88,8 +88,8 @@ int meson_aoclkc_probe(struct platform_device *pdev)return devm_of_clk_add_hw_provider (dev, meson_clk_hw_get, (void *)&data->hw_clks); } -EXPORT_SYMBOL_NS_GPL (meson_aoclkc_probe,CLK_MESON ); +EXPORT_SYMBOL_NS_GPL (meson_aoclkc_probe,"CLK_MESON" );MODULE_DESCRIPTION ("Amlogic Always-ON Clock Controller helpers" );MODULE_LICENSE ("GPL" ); -MODULE_IMPORT_NS (CLK_MESON ); +MODULE_IMPORT_NS ("CLK_MESON" );
drivers/clk/meson/meson-clkc-utils.c +2 -2
@@ -20,8 +20,8 @@ struct clk_hw *meson_clk_hw_get(struct of_phandle_args *clkspec, void *clk_hw_dareturn data->hws[idx]; } -EXPORT_SYMBOL_NS_GPL (meson_clk_hw_get,CLK_MESON ); +EXPORT_SYMBOL_NS_GPL (meson_clk_hw_get,"CLK_MESON" );MODULE_DESCRIPTION ("Amlogic Clock Controller Utilities" );MODULE_LICENSE ("GPL" ); -MODULE_IMPORT_NS (CLK_MESON ); +MODULE_IMPORT_NS ("CLK_MESON" );
drivers/clk/meson/meson-eeclk.c +2 -2
@@ -57,8 +57,8 @@ int meson_eeclkc_probe(struct platform_device *pdev)return devm_of_clk_add_hw_provider (dev, meson_clk_hw_get, (void *)&data->hw_clks); } -EXPORT_SYMBOL_NS_GPL (meson_eeclkc_probe,CLK_MESON ); +EXPORT_SYMBOL_NS_GPL (meson_eeclkc_probe,"CLK_MESON" );MODULE_DESCRIPTION ("Amlogic Main Clock Controller Helpers" );MODULE_LICENSE ("GPL" ); -MODULE_IMPORT_NS (CLK_MESON ); +MODULE_IMPORT_NS ("CLK_MESON" );
drivers/clk/meson/s4-peripherals.c +1 -1
@@ -3814,4 +3814,4 @@ module_platform_driver(s4_driver);MODULE_DESCRIPTION ("Amlogic S4 Peripherals Clock Controller driver" );MODULE_AUTHOR ("Yu Tu <[email protected]>" );MODULE_LICENSE ("GPL" ); -MODULE_IMPORT_NS (CLK_MESON ); +MODULE_IMPORT_NS ("CLK_MESON" );
drivers/clk/meson/s4-pll.c +1 -1
@@ -873,4 +873,4 @@ module_platform_driver(s4_driver);MODULE_DESCRIPTION ("Amlogic S4 PLL Clock Controller driver" );MODULE_AUTHOR ("Yu Tu <[email protected]>" );MODULE_LICENSE ("GPL" ); -MODULE_IMPORT_NS (CLK_MESON ); +MODULE_IMPORT_NS ("CLK_MESON" );
drivers/clk/meson/sclk-div.c +2 -2
@@ -247,9 +247,9 @@ const struct clk_ops meson_sclk_div_ops = { .set_duty_cycle = sclk_div_set_duty_cycle, .init = sclk_div_init, }; -EXPORT_SYMBOL_NS_GPL (meson_sclk_div_ops,CLK_MESON ); +EXPORT_SYMBOL_NS_GPL (meson_sclk_div_ops,"CLK_MESON" );MODULE_DESCRIPTION ("Amlogic Sample divider driver" );MODULE_AUTHOR ("Jerome Brunet <[email protected]>" );MODULE_LICENSE ("GPL" ); -MODULE_IMPORT_NS (CLK_MESON ); +MODULE_IMPORT_NS ("CLK_MESON" );
drivers/clk/meson/vclk.c +3 -3
@@ -49,7 +49,7 @@ const struct clk_ops meson_vclk_gate_ops = { .disable = meson_vclk_gate_disable, .is_enabled = meson_vclk_gate_is_enabled, }; -EXPORT_SYMBOL_NS_GPL (meson_vclk_gate_ops,CLK_MESON ); +EXPORT_SYMBOL_NS_GPL (meson_vclk_gate_ops,"CLK_MESON" );/* The VCLK Divider has supplementary reset & enable bits */
@@ -134,9 +134,9 @@ const struct clk_ops meson_vclk_div_ops = { .disable = meson_vclk_div_disable, .is_enabled = meson_vclk_div_is_enabled, }; -EXPORT_SYMBOL_NS_GPL (meson_vclk_div_ops,CLK_MESON ); +EXPORT_SYMBOL_NS_GPL (meson_vclk_div_ops,"CLK_MESON" );MODULE_DESCRIPTION ("Amlogic vclk clock driver" );MODULE_AUTHOR ("Neil Armstrong <[email protected]>" );MODULE_LICENSE ("GPL" ); -MODULE_IMPORT_NS (CLK_MESON ); +MODULE_IMPORT_NS ("CLK_MESON" );
drivers/clk/meson/vid-pll-div.c +2 -2
@@ -92,9 +92,9 @@ static unsigned long meson_vid_pll_div_recalc_rate(struct clk_hw *hw,const struct clk_ops meson_vid_pll_div_ro_ops = { .recalc_rate = meson_vid_pll_div_recalc_rate, }; -EXPORT_SYMBOL_NS_GPL (meson_vid_pll_div_ro_ops,CLK_MESON ); +EXPORT_SYMBOL_NS_GPL (meson_vid_pll_div_ro_ops,"CLK_MESON" );MODULE_DESCRIPTION ("Amlogic video pll divider driver" );MODULE_AUTHOR ("Neil Armstrong <[email protected]>" );MODULE_LICENSE ("GPL" ); -MODULE_IMPORT_NS (CLK_MESON ); +MODULE_IMPORT_NS ("CLK_MESON" );
drivers/clk/microchip/clk-mpfs.c +1 -1
@@ -443,4 +443,4 @@ MODULE_DESCRIPTION("Microchip PolarFire SoC Clock Driver");MODULE_AUTHOR ("Padmarao Begari <[email protected]>" );MODULE_AUTHOR ("Daire McNamara <[email protected]>" );MODULE_AUTHOR ("Conor Dooley <[email protected]>" ); -MODULE_IMPORT_NS (MCHP_CLK_MPFS ); +MODULE_IMPORT_NS ("MCHP_CLK_MPFS" );
drivers/clk/sunxi-ng/ccu-sun20i-d1-r.c +1 -1
@@ -137,6 +137,6 @@ static struct platform_driver sun20i_d1_r_ccu_driver = { };module_platform_driver (sun20i_d1_r_ccu_driver); -MODULE_IMPORT_NS (SUNXI_CCU ); +MODULE_IMPORT_NS ("SUNXI_CCU" );MODULE_DESCRIPTION ("Support for the Allwinner D1/R528/T113 PRCM CCU" );MODULE_LICENSE ("GPL" );
drivers/clk/sunxi-ng/ccu-sun20i-d1.c +1 -1
@@ -1406,6 +1406,6 @@ static struct platform_driver sun20i_d1_ccu_driver = { };module_platform_driver (sun20i_d1_ccu_driver); -MODULE_IMPORT_NS (SUNXI_CCU ); +MODULE_IMPORT_NS ("SUNXI_CCU" );MODULE_DESCRIPTION ("Support for the Allwinner D1/R528/T113 CCU" );MODULE_LICENSE ("GPL" );
drivers/clk/sunxi-ng/ccu-sun4i-a10.c +1 -1
@@ -1493,6 +1493,6 @@ static struct platform_driver sun4i_a10_ccu_driver = { };module_platform_driver (sun4i_a10_ccu_driver); -MODULE_IMPORT_NS (SUNXI_CCU ); +MODULE_IMPORT_NS ("SUNXI_CCU" );MODULE_DESCRIPTION ("Support for the Allwinner A10/A20 CCU" );MODULE_LICENSE ("GPL" );
drivers/clk/sunxi-ng/ccu-sun50i-a100-r.c +1 -1
@@ -214,6 +214,6 @@ static struct platform_driver sun50i_a100_r_ccu_driver = { };module_platform_driver (sun50i_a100_r_ccu_driver); -MODULE_IMPORT_NS (SUNXI_CCU ); +MODULE_IMPORT_NS ("SUNXI_CCU" );MODULE_DESCRIPTION ("Support for the Allwinner A100 PRCM CCU" );MODULE_LICENSE ("GPL" );
drivers/clk/sunxi-ng/ccu-sun50i-a100.c +1 -1
@@ -1276,6 +1276,6 @@ static struct platform_driver sun50i_a100_ccu_driver = { };module_platform_driver (sun50i_a100_ccu_driver); -MODULE_IMPORT_NS (SUNXI_CCU ); +MODULE_IMPORT_NS ("SUNXI_CCU" );MODULE_DESCRIPTION ("Support for the Allwinner A100 CCU" );MODULE_LICENSE ("GPL" );
drivers/clk/sunxi-ng/ccu-sun50i-a64.c +1 -1
@@ -994,6 +994,6 @@ static struct platform_driver sun50i_a64_ccu_driver = { };module_platform_driver (sun50i_a64_ccu_driver); -MODULE_IMPORT_NS (SUNXI_CCU ); +MODULE_IMPORT_NS ("SUNXI_CCU" );MODULE_DESCRIPTION ("Support for the Allwinner A64 CCU" );MODULE_LICENSE ("GPL" );
drivers/clk/sunxi-ng/ccu-sun50i-h6-r.c +1 -1
@@ -256,6 +256,6 @@ static struct platform_driver sun50i_h6_r_ccu_driver = { };module_platform_driver (sun50i_h6_r_ccu_driver); -MODULE_IMPORT_NS (SUNXI_CCU ); +MODULE_IMPORT_NS ("SUNXI_CCU" );MODULE_DESCRIPTION ("Support for the Allwinner H6 and H616 PRCM CCU" );MODULE_LICENSE ("GPL" );
drivers/clk/sunxi-ng/ccu-sun50i-h6.c +1 -1
@@ -1286,6 +1286,6 @@ static struct platform_driver sun50i_h6_ccu_driver = { };module_platform_driver (sun50i_h6_ccu_driver); -MODULE_IMPORT_NS (SUNXI_CCU ); +MODULE_IMPORT_NS ("SUNXI_CCU" );MODULE_DESCRIPTION ("Support for the Allwinner H6 CCU" );MODULE_LICENSE ("GPL" );
drivers/clk/sunxi-ng/ccu-sun50i-h616.c +1 -1
@@ -1171,6 +1171,6 @@ static struct platform_driver sun50i_h616_ccu_driver = { };module_platform_driver (sun50i_h616_ccu_driver); -MODULE_IMPORT_NS (SUNXI_CCU ); +MODULE_IMPORT_NS ("SUNXI_CCU" );MODULE_DESCRIPTION ("Support for the Allwinner H616 CCU" );MODULE_LICENSE ("GPL" );
drivers/clk/sunxi-ng/ccu-sun6i-a31.c +1 -1
@@ -1283,6 +1283,6 @@ static struct platform_driver sun6i_a31_ccu_driver = { };module_platform_driver (sun6i_a31_ccu_driver); -MODULE_IMPORT_NS (SUNXI_CCU ); +MODULE_IMPORT_NS ("SUNXI_CCU" );MODULE_DESCRIPTION ("Support for the Allwinner A31/A31s CCU" );MODULE_LICENSE ("GPL" );
drivers/clk/sunxi-ng/ccu-sun6i-rtc.c +1 -1
@@ -381,6 +381,6 @@ int sun6i_rtc_ccu_probe(struct device *dev, void __iomem *reg)return devm_sunxi_ccu_probe (dev, reg, &sun6i_rtc_ccu_desc); } -MODULE_IMPORT_NS (SUNXI_CCU ); +MODULE_IMPORT_NS ("SUNXI_CCU" );MODULE_DESCRIPTION ("Support for the Allwinner H616/R329 RTC CCU" );MODULE_LICENSE ("GPL" );
drivers/clk/sunxi-ng/ccu-sun8i-a23.c +1 -1
@@ -763,6 +763,6 @@ static struct platform_driver sun8i_a23_ccu_driver = { };module_platform_driver (sun8i_a23_ccu_driver); -MODULE_IMPORT_NS (SUNXI_CCU ); +MODULE_IMPORT_NS ("SUNXI_CCU" );MODULE_DESCRIPTION ("Support for the Allwinner A23 CCU" );MODULE_LICENSE ("GPL" );
drivers/clk/sunxi-ng/ccu-sun8i-a33.c +1 -1
@@ -835,6 +835,6 @@ static struct platform_driver sun8i_a33_ccu_driver = { };module_platform_driver (sun8i_a33_ccu_driver); -MODULE_IMPORT_NS (SUNXI_CCU ); +MODULE_IMPORT_NS ("SUNXI_CCU" );MODULE_DESCRIPTION ("Support for the Allwinner A33 CCU" );MODULE_LICENSE ("GPL" );
drivers/clk/sunxi-ng/ccu-sun8i-a83t.c +1 -1
@@ -923,6 +923,6 @@ static struct platform_driver sun8i_a83t_ccu_driver = { };module_platform_driver (sun8i_a83t_ccu_driver); -MODULE_IMPORT_NS (SUNXI_CCU ); +MODULE_IMPORT_NS ("SUNXI_CCU" );MODULE_DESCRIPTION ("Support for the Allwinner A83T CCU" );MODULE_LICENSE ("GPL" );
drivers/clk/sunxi-ng/ccu-sun8i-de2.c +1 -1
@@ -348,6 +348,6 @@ static struct platform_driver sunxi_de2_clk_driver = { };module_platform_driver (sunxi_de2_clk_driver); -MODULE_IMPORT_NS (SUNXI_CCU ); +MODULE_IMPORT_NS ("SUNXI_CCU" );MODULE_DESCRIPTION ("Support for the Allwinner SoCs DE2 CCU" );MODULE_LICENSE ("GPL" );
drivers/clk/sunxi-ng/ccu-sun8i-h3.c +1 -1
@@ -1094,6 +1094,6 @@ static struct platform_driver sun8i_h3_ccu_driver = { };module_platform_driver (sun8i_h3_ccu_driver); -MODULE_IMPORT_NS (SUNXI_CCU ); +MODULE_IMPORT_NS ("SUNXI_CCU" );MODULE_DESCRIPTION ("Support for the Allwinner H3 CCU" );MODULE_LICENSE ("GPL" );
drivers/clk/sunxi-ng/ccu-sun8i-r.c +1 -1
@@ -274,6 +274,6 @@ static struct platform_driver sun8i_r_ccu_driver = { };module_platform_driver (sun8i_r_ccu_driver); -MODULE_IMPORT_NS (SUNXI_CCU ); +MODULE_IMPORT_NS ("SUNXI_CCU" );MODULE_DESCRIPTION ("Support for Allwinner SoCs' PRCM CCUs" );MODULE_LICENSE ("GPL" );
drivers/clk/sunxi-ng/ccu-sun8i-r40.c +1 -1
@@ -1375,6 +1375,6 @@ static struct platform_driver sun8i_r40_ccu_driver = { };module_platform_driver (sun8i_r40_ccu_driver); -MODULE_IMPORT_NS (SUNXI_CCU ); +MODULE_IMPORT_NS ("SUNXI_CCU" );MODULE_DESCRIPTION ("Support for the Allwinner R40 CCU" );MODULE_LICENSE ("GPL" );
drivers/clk/sunxi-ng/ccu-sun8i-v3s.c +1 -1
@@ -780,6 +780,6 @@ static struct platform_driver sun8i_v3s_ccu_driver = { };module_platform_driver (sun8i_v3s_ccu_driver); -MODULE_IMPORT_NS (SUNXI_CCU ); +MODULE_IMPORT_NS ("SUNXI_CCU" );MODULE_DESCRIPTION ("Support for the Allwinner V3s CCU" );MODULE_LICENSE ("GPL" );
drivers/clk/sunxi-ng/ccu-sun9i-a80-de.c +1 -1
@@ -266,6 +266,6 @@ static struct platform_driver sun9i_a80_de_clk_driver = { };module_platform_driver (sun9i_a80_de_clk_driver); -MODULE_IMPORT_NS (SUNXI_CCU ); +MODULE_IMPORT_NS ("SUNXI_CCU" );MODULE_DESCRIPTION ("Support for the Allwinner A80 Display Engine CCU" );MODULE_LICENSE ("GPL" );
drivers/clk/sunxi-ng/ccu-sun9i-a80-usb.c +1 -1
@@ -138,6 +138,6 @@ static struct platform_driver sun9i_a80_usb_clk_driver = { };module_platform_driver (sun9i_a80_usb_clk_driver); -MODULE_IMPORT_NS (SUNXI_CCU ); +MODULE_IMPORT_NS ("SUNXI_CCU" );MODULE_DESCRIPTION ("Support for the Allwinner A80 USB CCU" );MODULE_LICENSE ("GPL" );
drivers/clk/sunxi-ng/ccu-sun9i-a80.c +1 -1
@@ -1248,6 +1248,6 @@ static struct platform_driver sun9i_a80_ccu_driver = { };module_platform_driver (sun9i_a80_ccu_driver); -MODULE_IMPORT_NS (SUNXI_CCU ); +MODULE_IMPORT_NS ("SUNXI_CCU" );MODULE_DESCRIPTION ("Support for the Allwinner A80 CCU" );MODULE_LICENSE ("GPL" );
drivers/clk/sunxi-ng/ccu-suniv-f1c100s.c +1 -1
@@ -577,6 +577,6 @@ static struct platform_driver suniv_f1c100s_ccu_driver = { };module_platform_driver (suniv_f1c100s_ccu_driver); -MODULE_IMPORT_NS (SUNXI_CCU ); +MODULE_IMPORT_NS ("SUNXI_CCU" );MODULE_DESCRIPTION ("Support for the Allwinner newer F1C100s CCU" );MODULE_LICENSE ("GPL" );
drivers/clk/sunxi-ng/ccu_common.c +4 -4
@@ -37,7 +37,7 @@ void ccu_helper_wait_for_lock(struct ccu_common *common, u32 lock)WARN_ON (readl_relaxed_poll_timeout (addr, reg, reg & lock,100 ,70000 )); } -EXPORT_SYMBOL_NS_GPL (ccu_helper_wait_for_lock,SUNXI_CCU ); +EXPORT_SYMBOL_NS_GPL (ccu_helper_wait_for_lock,"SUNXI_CCU" ); bool ccu_is_better_rate(struct ccu_common *common, unsigned long target_rate,
@@ -59,7 +59,7 @@ bool ccu_is_better_rate(struct ccu_common *common,return current_rate <= target_rate && current_rate > best_rate; } -EXPORT_SYMBOL_NS_GPL (ccu_is_better_rate,SUNXI_CCU ); +EXPORT_SYMBOL_NS_GPL (ccu_is_better_rate,"SUNXI_CCU" );/* * This clock notifier is called when the frequency of a PLL clock is
@@ -107,7 +107,7 @@ int ccu_pll_notifier_register(struct ccu_pll_nb *pll_nb)return clk_notifier_register (pll_nb->common->hw.clk, &pll_nb->clk_nb); } -EXPORT_SYMBOL_NS_GPL (ccu_pll_notifier_register,SUNXI_CCU ); +EXPORT_SYMBOL_NS_GPL (ccu_pll_notifier_register,"SUNXI_CCU" ); static int sunxi_ccu_probe(struct sunxi_ccu *ccu, struct device *dev, struct device_node *node, void __iomem *reg,
@@ -234,7 +234,7 @@ int devm_sunxi_ccu_probe(struct device *dev, void __iomem *reg,return 0 ; } -EXPORT_SYMBOL_NS_GPL (devm_sunxi_ccu_probe,SUNXI_CCU ); +EXPORT_SYMBOL_NS_GPL (devm_sunxi_ccu_probe,"SUNXI_CCU" );void of_sunxi_ccu_probe (struct device_node *node,void __iomem *reg,const struct sunxi_ccu_desc *desc)
drivers/clk/sunxi-ng/ccu_div.c +1 -1
@@ -141,4 +141,4 @@ const struct clk_ops ccu_div_ops = { .recalc_rate = ccu_div_recalc_rate, .set_rate = ccu_div_set_rate, }; -EXPORT_SYMBOL_NS_GPL (ccu_div_ops,SUNXI_CCU ); +EXPORT_SYMBOL_NS_GPL (ccu_div_ops,"SUNXI_CCU" );
drivers/clk/sunxi-ng/ccu_frac.c +6 -6
@@ -18,7 +18,7 @@ bool ccu_frac_helper_is_enabled(struct ccu_common *common,return !(readl (common->base + common->reg) & cf->enable); } -EXPORT_SYMBOL_NS_GPL (ccu_frac_helper_is_enabled,SUNXI_CCU ); +EXPORT_SYMBOL_NS_GPL (ccu_frac_helper_is_enabled,"SUNXI_CCU" );void ccu_frac_helper_enable (struct ccu_common *common,struct ccu_frac_internal *cf)
@@ -34,7 +34,7 @@ void ccu_frac_helper_enable(struct ccu_common *common,writel (reg & ~cf->enable, common->base + common->reg);spin_unlock_irqrestore (common->lock, flags); } -EXPORT_SYMBOL_NS_GPL (ccu_frac_helper_enable,SUNXI_CCU ); +EXPORT_SYMBOL_NS_GPL (ccu_frac_helper_enable,"SUNXI_CCU" );void ccu_frac_helper_disable (struct ccu_common *common,struct ccu_frac_internal *cf)
@@ -50,7 +50,7 @@ void ccu_frac_helper_disable(struct ccu_common *common,writel (reg | cf->enable, common->base + common->reg);spin_unlock_irqrestore (common->lock, flags); } -EXPORT_SYMBOL_NS_GPL (ccu_frac_helper_disable,SUNXI_CCU ); +EXPORT_SYMBOL_NS_GPL (ccu_frac_helper_disable,"SUNXI_CCU" ); bool ccu_frac_helper_has_rate(struct ccu_common *common, struct ccu_frac_internal *cf,
@@ -61,7 +61,7 @@ bool ccu_frac_helper_has_rate(struct ccu_common *common,return (cf->rates[0 ] == rate) || (cf->rates[1 ] == rate); } -EXPORT_SYMBOL_NS_GPL (ccu_frac_helper_has_rate,SUNXI_CCU ); +EXPORT_SYMBOL_NS_GPL (ccu_frac_helper_has_rate,"SUNXI_CCU" );unsigned long ccu_frac_helper_read_rate (struct ccu_common *common,struct ccu_frac_internal *cf)
@@ -83,7 +83,7 @@ unsigned long ccu_frac_helper_read_rate(struct ccu_common *common,return (reg & cf->select) ? cf->rates[1 ] : cf->rates[0 ]; } -EXPORT_SYMBOL_NS_GPL (ccu_frac_helper_read_rate,SUNXI_CCU ); +EXPORT_SYMBOL_NS_GPL (ccu_frac_helper_read_rate,"SUNXI_CCU" ); int ccu_frac_helper_set_rate(struct ccu_common *common, struct ccu_frac_internal *cf,
@@ -112,4 +112,4 @@ int ccu_frac_helper_set_rate(struct ccu_common *common,return 0 ; } -EXPORT_SYMBOL_NS_GPL (ccu_frac_helper_set_rate,SUNXI_CCU ); +EXPORT_SYMBOL_NS_GPL (ccu_frac_helper_set_rate,"SUNXI_CCU" );
drivers/clk/sunxi-ng/ccu_gate.c +4 -4
@@ -24,7 +24,7 @@ void ccu_gate_helper_disable(struct ccu_common *common, u32 gate)spin_unlock_irqrestore (common->lock, flags); } -EXPORT_SYMBOL_NS_GPL (ccu_gate_helper_disable,SUNXI_CCU ); +EXPORT_SYMBOL_NS_GPL (ccu_gate_helper_disable,"SUNXI_CCU" );static void ccu_gate_disable (struct clk_hw *hw) {
@@ -50,7 +50,7 @@ int ccu_gate_helper_enable(struct ccu_common *common, u32 gate)return 0 ; } -EXPORT_SYMBOL_NS_GPL (ccu_gate_helper_enable,SUNXI_CCU ); +EXPORT_SYMBOL_NS_GPL (ccu_gate_helper_enable,"SUNXI_CCU" );static int ccu_gate_enable (struct clk_hw *hw) {
@@ -66,7 +66,7 @@ int ccu_gate_helper_is_enabled(struct ccu_common *common, u32 gate)return readl (common->base + common->reg) & gate; } -EXPORT_SYMBOL_NS_GPL (ccu_gate_helper_is_enabled,SUNXI_CCU ); +EXPORT_SYMBOL_NS_GPL (ccu_gate_helper_is_enabled,"SUNXI_CCU" );static int ccu_gate_is_enabled (struct clk_hw *hw) {
@@ -127,4 +127,4 @@ const struct clk_ops ccu_gate_ops = { .set_rate = ccu_gate_set_rate, .recalc_rate = ccu_gate_recalc_rate, }; -EXPORT_SYMBOL_NS_GPL (ccu_gate_ops,SUNXI_CCU ); +EXPORT_SYMBOL_NS_GPL (ccu_gate_ops,"SUNXI_CCU" );
drivers/clk/sunxi-ng/ccu_mp.c +2 -2
@@ -246,7 +246,7 @@ const struct clk_ops ccu_mp_ops = { .recalc_rate = ccu_mp_recalc_rate, .set_rate = ccu_mp_set_rate, }; -EXPORT_SYMBOL_NS_GPL (ccu_mp_ops,SUNXI_CCU ); +EXPORT_SYMBOL_NS_GPL (ccu_mp_ops,"SUNXI_CCU" );/* * Support for MMC timing mode switching
@@ -327,4 +327,4 @@ const struct clk_ops ccu_mp_mmc_ops = { .recalc_rate = ccu_mp_mmc_recalc_rate, .set_rate = ccu_mp_mmc_set_rate, }; -EXPORT_SYMBOL_NS_GPL (ccu_mp_mmc_ops,SUNXI_CCU ); +EXPORT_SYMBOL_NS_GPL (ccu_mp_mmc_ops,"SUNXI_CCU" );
drivers/clk/sunxi-ng/ccu_mult.c +1 -1
@@ -170,4 +170,4 @@ const struct clk_ops ccu_mult_ops = { .recalc_rate = ccu_mult_recalc_rate, .set_rate = ccu_mult_set_rate, }; -EXPORT_SYMBOL_NS_GPL (ccu_mult_ops,SUNXI_CCU ); +EXPORT_SYMBOL_NS_GPL (ccu_mult_ops,"SUNXI_CCU" );
drivers/clk/sunxi-ng/ccu_mux.c +6 -6
@@ -66,7 +66,7 @@ unsigned long ccu_mux_helper_apply_prediv(struct ccu_common *common, {return parent_rate /ccu_mux_get_prediv (common, cm, parent_index); } -EXPORT_SYMBOL_NS_GPL (ccu_mux_helper_apply_prediv,SUNXI_CCU ); +EXPORT_SYMBOL_NS_GPL (ccu_mux_helper_apply_prediv,"SUNXI_CCU" ); static unsigned long ccu_mux_helper_unapply_prediv(struct ccu_common *common, struct ccu_mux_internal *cm,
@@ -155,7 +155,7 @@ int ccu_mux_helper_determine_rate(struct ccu_common *common, req->rate = best_rate;return 0 ; } -EXPORT_SYMBOL_NS_GPL (ccu_mux_helper_determine_rate,SUNXI_CCU ); +EXPORT_SYMBOL_NS_GPL (ccu_mux_helper_determine_rate,"SUNXI_CCU" );u8 ccu_mux_helper_get_parent (struct ccu_common *common,struct ccu_mux_internal *cm)
@@ -178,7 +178,7 @@ u8 ccu_mux_helper_get_parent(struct ccu_common *common,return parent; } -EXPORT_SYMBOL_NS_GPL (ccu_mux_helper_get_parent,SUNXI_CCU ); +EXPORT_SYMBOL_NS_GPL (ccu_mux_helper_get_parent,"SUNXI_CCU" ); int ccu_mux_helper_set_parent(struct ccu_common *common, struct ccu_mux_internal *cm,
@@ -205,7 +205,7 @@ int ccu_mux_helper_set_parent(struct ccu_common *common,return 0 ; } -EXPORT_SYMBOL_NS_GPL (ccu_mux_helper_set_parent,SUNXI_CCU ); +EXPORT_SYMBOL_NS_GPL (ccu_mux_helper_set_parent,"SUNXI_CCU" );static void ccu_mux_disable (struct clk_hw *hw) {
@@ -273,7 +273,7 @@ const struct clk_ops ccu_mux_ops = { .determine_rate = ccu_mux_determine_rate, .recalc_rate = ccu_mux_recalc_rate, }; -EXPORT_SYMBOL_NS_GPL (ccu_mux_ops,SUNXI_CCU ); +EXPORT_SYMBOL_NS_GPL (ccu_mux_ops,"SUNXI_CCU" );/* * This clock notifier is called when the frequency of the of the parent
@@ -308,4 +308,4 @@ int ccu_mux_notifier_register(struct clk *clk, struct ccu_mux_nb *mux_nb)return clk_notifier_register (clk, &mux_nb->clk_nb); } -EXPORT_SYMBOL_NS_GPL (ccu_mux_notifier_register,SUNXI_CCU ); +EXPORT_SYMBOL_NS_GPL (ccu_mux_notifier_register,"SUNXI_CCU" );
drivers/clk/sunxi-ng/ccu_nk.c +1 -1
@@ -158,4 +158,4 @@ const struct clk_ops ccu_nk_ops = { .round_rate = ccu_nk_round_rate, .set_rate = ccu_nk_set_rate, }; -EXPORT_SYMBOL_NS_GPL (ccu_nk_ops,SUNXI_CCU ); +EXPORT_SYMBOL_NS_GPL (ccu_nk_ops,"SUNXI_CCU" );
drivers/clk/sunxi-ng/ccu_nkm.c +1 -1
@@ -267,4 +267,4 @@ const struct clk_ops ccu_nkm_ops = { .recalc_rate = ccu_nkm_recalc_rate, .set_rate = ccu_nkm_set_rate, }; -EXPORT_SYMBOL_NS_GPL (ccu_nkm_ops,SUNXI_CCU ); +EXPORT_SYMBOL_NS_GPL (ccu_nkm_ops,"SUNXI_CCU" );
drivers/clk/sunxi-ng/ccu_nkmp.c +1 -1
@@ -230,4 +230,4 @@ const struct clk_ops ccu_nkmp_ops = { .round_rate = ccu_nkmp_round_rate, .set_rate = ccu_nkmp_set_rate, }; -EXPORT_SYMBOL_NS_GPL (ccu_nkmp_ops,SUNXI_CCU ); +EXPORT_SYMBOL_NS_GPL (ccu_nkmp_ops,"SUNXI_CCU" );
drivers/clk/sunxi-ng/ccu_nm.c +1 -1
@@ -236,4 +236,4 @@ const struct clk_ops ccu_nm_ops = { .round_rate = ccu_nm_round_rate, .set_rate = ccu_nm_set_rate, }; -EXPORT_SYMBOL_NS_GPL (ccu_nm_ops,SUNXI_CCU ); +EXPORT_SYMBOL_NS_GPL (ccu_nm_ops,"SUNXI_CCU" );
drivers/clk/sunxi-ng/ccu_phase.c +1 -1
@@ -121,4 +121,4 @@ const struct clk_ops ccu_phase_ops = { .get_phase = ccu_phase_get_phase, .set_phase = ccu_phase_set_phase, }; -EXPORT_SYMBOL_NS_GPL (ccu_phase_ops,SUNXI_CCU ); +EXPORT_SYMBOL_NS_GPL (ccu_phase_ops,"SUNXI_CCU" );
drivers/clk/sunxi-ng/ccu_reset.c +1 -1
@@ -75,4 +75,4 @@ const struct reset_control_ops ccu_reset_ops = { .reset = ccu_reset_reset, .status = ccu_reset_status, }; -EXPORT_SYMBOL_NS_GPL (ccu_reset_ops,SUNXI_CCU ); +EXPORT_SYMBOL_NS_GPL (ccu_reset_ops,"SUNXI_CCU" );
drivers/clk/sunxi-ng/ccu_sdm.c +6 -6
@@ -20,7 +20,7 @@ bool ccu_sdm_helper_is_enabled(struct ccu_common *common,return !!(readl (common->base + sdm->tuning_reg) & sdm->tuning_enable); } -EXPORT_SYMBOL_NS_GPL (ccu_sdm_helper_is_enabled,SUNXI_CCU ); +EXPORT_SYMBOL_NS_GPL (ccu_sdm_helper_is_enabled,"SUNXI_CCU" ); void ccu_sdm_helper_enable(struct ccu_common *common, struct ccu_sdm_internal *sdm,
@@ -50,7 +50,7 @@ void ccu_sdm_helper_enable(struct ccu_common *common,writel (reg | sdm->enable, common->base + common->reg);spin_unlock_irqrestore (common->lock, flags); } -EXPORT_SYMBOL_NS_GPL (ccu_sdm_helper_enable,SUNXI_CCU ); +EXPORT_SYMBOL_NS_GPL (ccu_sdm_helper_enable,"SUNXI_CCU" );void ccu_sdm_helper_disable (struct ccu_common *common,struct ccu_sdm_internal *sdm)
@@ -71,7 +71,7 @@ void ccu_sdm_helper_disable(struct ccu_common *common,writel (reg & ~sdm->tuning_enable, common->base + sdm->tuning_reg);spin_unlock_irqrestore (common->lock, flags); } -EXPORT_SYMBOL_NS_GPL (ccu_sdm_helper_disable,SUNXI_CCU ); +EXPORT_SYMBOL_NS_GPL (ccu_sdm_helper_disable,"SUNXI_CCU" );/* * Sigma delta modulation provides a way to do fractional-N frequency
@@ -105,7 +105,7 @@ bool ccu_sdm_helper_has_rate(struct ccu_common *common,return false; } -EXPORT_SYMBOL_NS_GPL (ccu_sdm_helper_has_rate,SUNXI_CCU ); +EXPORT_SYMBOL_NS_GPL (ccu_sdm_helper_has_rate,"SUNXI_CCU" ); unsigned long ccu_sdm_helper_read_rate(struct ccu_common *common, struct ccu_sdm_internal *sdm,
@@ -136,7 +136,7 @@ unsigned long ccu_sdm_helper_read_rate(struct ccu_common *common,/* We can't calculate the effective clock rate, so just fail. */ return 0 ; } -EXPORT_SYMBOL_NS_GPL (ccu_sdm_helper_read_rate,SUNXI_CCU ); +EXPORT_SYMBOL_NS_GPL (ccu_sdm_helper_read_rate,"SUNXI_CCU" ); int ccu_sdm_helper_get_factors(struct ccu_common *common, struct ccu_sdm_internal *sdm,
@@ -158,4 +158,4 @@ int ccu_sdm_helper_get_factors(struct ccu_common *common,/* nothing found */ return -EINVAL ; } -EXPORT_SYMBOL_NS_GPL (ccu_sdm_helper_get_factors,SUNXI_CCU ); +EXPORT_SYMBOL_NS_GPL (ccu_sdm_helper_get_factors,"SUNXI_CCU" );
drivers/counter/104-quad-8.c +1 -1
@@ -1360,4 +1360,4 @@ module_isa_driver_with_irq(quad8_driver, num_quad8, num_irq);MODULE_AUTHOR ("William Breathitt Gray <[email protected]>" );MODULE_DESCRIPTION ("ACCES 104-QUAD-8 driver" );MODULE_LICENSE ("GPL v2" ); -MODULE_IMPORT_NS (COUNTER ); +MODULE_IMPORT_NS ("COUNTER" );
drivers/counter/counter-chrdev.c +1 -1
@@ -672,4 +672,4 @@ void counter_push_event(struct counter_device *const counter, const u8 event,if (copied)wake_up_poll (&counter->events_wait,EPOLLIN ); } -EXPORT_SYMBOL_NS_GPL (counter_push_event,COUNTER ); +EXPORT_SYMBOL_NS_GPL (counter_push_event,"COUNTER" );
drivers/counter/counter-core.c +7 -7
@@ -74,7 +74,7 @@ void *counter_priv(const struct counter_device *const counter)return &ch->privdata; } -EXPORT_SYMBOL_NS_GPL (counter_priv,COUNTER ); +EXPORT_SYMBOL_NS_GPL (counter_priv,"COUNTER" );/** * counter_alloc - allocate a counter_device
@@ -134,13 +134,13 @@ struct counter_device *counter_alloc(size_t sizeof_priv)return NULL ; } -EXPORT_SYMBOL_NS_GPL (counter_alloc,COUNTER ); +EXPORT_SYMBOL_NS_GPL (counter_alloc,"COUNTER" );void counter_put (struct counter_device *counter) {put_device (&counter->dev); } -EXPORT_SYMBOL_NS_GPL (counter_put,COUNTER ); +EXPORT_SYMBOL_NS_GPL (counter_put,"COUNTER" );/** * counter_add - complete registration of a counter
@@ -167,7 +167,7 @@ int counter_add(struct counter_device *counter)/* implies device_add(dev) */ return cdev_device_add (&counter->chrdev, dev); } -EXPORT_SYMBOL_NS_GPL (counter_add,COUNTER ); +EXPORT_SYMBOL_NS_GPL (counter_add,"COUNTER" );/** * counter_unregister - unregister Counter from the system
@@ -189,7 +189,7 @@ void counter_unregister(struct counter_device *const counter)mutex_unlock (&counter->ops_exist_lock); } -EXPORT_SYMBOL_NS_GPL (counter_unregister,COUNTER ); +EXPORT_SYMBOL_NS_GPL (counter_unregister,"COUNTER" );static void devm_counter_release (void *counter) {
@@ -224,7 +224,7 @@ struct counter_device *devm_counter_alloc(struct device *dev, size_t sizeof_privreturn counter; } -EXPORT_SYMBOL_NS_GPL (devm_counter_alloc,COUNTER ); +EXPORT_SYMBOL_NS_GPL (devm_counter_alloc,"COUNTER" );/** * devm_counter_add - complete registration of a counter
@@ -245,7 +245,7 @@ int devm_counter_add(struct device *dev,return devm_add_action_or_reset (dev, devm_counter_release, counter); } -EXPORT_SYMBOL_NS_GPL (devm_counter_add,COUNTER ); +EXPORT_SYMBOL_NS_GPL (devm_counter_add,"COUNTER" );#define COUNTER_DEV_MAX 256
drivers/counter/ftm-quaddec.c +1 -1
@@ -326,4 +326,4 @@ MODULE_DESCRIPTION("Flex Timer Module Quadrature decoder");MODULE_LICENSE ("GPL" );MODULE_AUTHOR ("Kjeld Flarup <[email protected]>" );MODULE_AUTHOR ("Patrick Havelange <[email protected]>" ); -MODULE_IMPORT_NS (COUNTER ); +MODULE_IMPORT_NS ("COUNTER" );
drivers/counter/i8254.c +2 -2
@@ -439,9 +439,9 @@ int devm_i8254_regmap_register(struct device *const dev,return 0 ; } -EXPORT_SYMBOL_NS_GPL (devm_i8254_regmap_register,I8254 ); +EXPORT_SYMBOL_NS_GPL (devm_i8254_regmap_register,"I8254" );MODULE_AUTHOR ("William Breathitt Gray" );MODULE_DESCRIPTION ("Intel 8254 Programmable Interval Timer" );MODULE_LICENSE ("GPL" ); -MODULE_IMPORT_NS (COUNTER ); +MODULE_IMPORT_NS ("COUNTER" );
drivers/counter/intel-qep.c +1 -1
@@ -523,4 +523,4 @@ MODULE_AUTHOR("Jarkko Nikula <[email protected]>");MODULE_AUTHOR ("Raymond Tan <[email protected]>" );MODULE_LICENSE ("GPL" );MODULE_DESCRIPTION ("Intel Quadrature Encoder Peripheral driver" ); -MODULE_IMPORT_NS (COUNTER ); +MODULE_IMPORT_NS ("COUNTER" );
drivers/counter/interrupt-cnt.c +1 -1
@@ -253,4 +253,4 @@ MODULE_ALIAS("platform:interrupt-counter");MODULE_AUTHOR ("Oleksij Rempel <[email protected]>" );MODULE_DESCRIPTION ("Interrupt counter driver" );MODULE_LICENSE ("GPL v2" ); -MODULE_IMPORT_NS (COUNTER ); +MODULE_IMPORT_NS ("COUNTER" );
drivers/counter/microchip-tcb-capture.c +1 -1
@@ -403,4 +403,4 @@ module_platform_driver(mchp_tc_driver);MODULE_AUTHOR ("Kamel Bouhara <[email protected]>" );MODULE_DESCRIPTION ("Microchip TCB Capture driver" );MODULE_LICENSE ("GPL v2" ); -MODULE_IMPORT_NS (COUNTER ); +MODULE_IMPORT_NS ("COUNTER" );
drivers/counter/rz-mtu3-cnt.c +1 -1
@@ -903,4 +903,4 @@ MODULE_AUTHOR("Biju Das <[email protected]>");MODULE_ALIAS ("platform:rz-mtu3-counter" );MODULE_DESCRIPTION ("Renesas RZ/G2L MTU3a counter driver" );MODULE_LICENSE ("GPL" ); -MODULE_IMPORT_NS (COUNTER ); +MODULE_IMPORT_NS ("COUNTER" );
drivers/counter/stm32-lptimer-cnt.c +1 -1
@@ -520,4 +520,4 @@ MODULE_AUTHOR("Fabrice Gasnier <[email protected]>");MODULE_ALIAS ("platform:stm32-lptimer-counter" );MODULE_DESCRIPTION ("STMicroelectronics STM32 LPTIM counter driver" );MODULE_LICENSE ("GPL v2" ); -MODULE_IMPORT_NS (COUNTER ); +MODULE_IMPORT_NS ("COUNTER" );
drivers/counter/stm32-timer-cnt.c +1 -1
@@ -853,4 +853,4 @@ MODULE_AUTHOR("Benjamin Gaignard <[email protected]>");MODULE_ALIAS ("platform:stm32-timer-counter" );MODULE_DESCRIPTION ("STMicroelectronics STM32 TIMER counter driver" );MODULE_LICENSE ("GPL v2" ); -MODULE_IMPORT_NS (COUNTER ); +MODULE_IMPORT_NS ("COUNTER" );
drivers/counter/ti-ecap-capture.c +1 -1
@@ -610,4 +610,4 @@ module_platform_driver(ecap_cnt_driver);MODULE_DESCRIPTION ("ECAP Capture driver" );MODULE_AUTHOR ("Julien Panis <[email protected]>" );MODULE_LICENSE ("GPL" ); -MODULE_IMPORT_NS (COUNTER ); +MODULE_IMPORT_NS ("COUNTER" );
drivers/counter/ti-eqep.c +1 -1
@@ -559,4 +559,4 @@ module_platform_driver(ti_eqep_driver);MODULE_AUTHOR ("David Lechner <[email protected]>" );MODULE_DESCRIPTION ("TI eQEP counter driver" );MODULE_LICENSE ("GPL v2" ); -MODULE_IMPORT_NS (COUNTER ); +MODULE_IMPORT_NS ("COUNTER" );
drivers/crypto/geode-aes.c +1 -1
@@ -433,4 +433,4 @@ module_pci_driver(geode_aes_driver);MODULE_AUTHOR ("Advanced Micro Devices, Inc." );MODULE_DESCRIPTION ("Geode LX Hardware AES driver" );MODULE_LICENSE ("GPL" ); -MODULE_IMPORT_NS (CRYPTO_INTERNAL ); +MODULE_IMPORT_NS ("CRYPTO_INTERNAL" );
drivers/crypto/inside-secure/safexcel.c +1 -1
@@ -2031,7 +2031,7 @@ MODULE_AUTHOR("Ofer Heifetz <[email protected]>");MODULE_AUTHOR ("Igal Liberman <[email protected]>" );MODULE_DESCRIPTION ("Support for SafeXcel cryptographic engines: EIP97 & EIP197" );MODULE_LICENSE ("GPL v2" ); -MODULE_IMPORT_NS (CRYPTO_INTERNAL ); +MODULE_IMPORT_NS ("CRYPTO_INTERNAL" );MODULE_FIRMWARE ("ifpp.bin" );MODULE_FIRMWARE ("ipue.bin" );
drivers/crypto/intel/iaa/iaa_crypto_main.c +1 -1
@@ -2084,7 +2084,7 @@ static void __exit iaa_crypto_cleanup_module(void)pr_debug ("cleaned up\n" ); } -MODULE_IMPORT_NS (IDXD ); +MODULE_IMPORT_NS ("IDXD" );MODULE_LICENSE ("GPL" );MODULE_ALIAS_IDXD_DEVICE (0 );MODULE_AUTHOR ("Intel Corporation" );
drivers/crypto/intel/qat/qat_420xx/adf_drv.c +1 -1
@@ -199,4 +199,4 @@ MODULE_FIRMWARE(ADF_420XX_MMP);MODULE_DESCRIPTION ("Intel(R) QuickAssist Technology" );MODULE_VERSION (ADF_DRV_VERSION );MODULE_SOFTDEP ("pre: crypto-intel_qat" ); -MODULE_IMPORT_NS (CRYPTO_QAT ); +MODULE_IMPORT_NS ("CRYPTO_QAT" );
drivers/crypto/intel/qat/qat_4xxx/adf_drv.c +1 -1
@@ -203,4 +203,4 @@ MODULE_FIRMWARE(ADF_402XX_MMP);MODULE_DESCRIPTION ("Intel(R) QuickAssist Technology" );MODULE_VERSION (ADF_DRV_VERSION );MODULE_SOFTDEP ("pre: crypto-intel_qat" ); -MODULE_IMPORT_NS (CRYPTO_QAT ); +MODULE_IMPORT_NS ("CRYPTO_QAT" );
drivers/crypto/intel/qat/qat_c3xxx/adf_drv.c +1 -1
@@ -252,4 +252,4 @@ MODULE_FIRMWARE(ADF_C3XXX_FW);MODULE_FIRMWARE (ADF_C3XXX_MMP );MODULE_DESCRIPTION ("Intel(R) QuickAssist Technology" );MODULE_VERSION (ADF_DRV_VERSION ); -MODULE_IMPORT_NS (CRYPTO_QAT ); +MODULE_IMPORT_NS ("CRYPTO_QAT" );
drivers/crypto/intel/qat/qat_c3xxxvf/adf_drv.c +1 -1
@@ -226,4 +226,4 @@ MODULE_LICENSE("Dual BSD/GPL");MODULE_AUTHOR ("Intel" );MODULE_DESCRIPTION ("Intel(R) QuickAssist Technology" );MODULE_VERSION (ADF_DRV_VERSION ); -MODULE_IMPORT_NS (CRYPTO_QAT ); +MODULE_IMPORT_NS ("CRYPTO_QAT" );
drivers/crypto/intel/qat/qat_c62x/adf_drv.c +1 -1
@@ -252,4 +252,4 @@ MODULE_FIRMWARE(ADF_C62X_FW);MODULE_FIRMWARE (ADF_C62X_MMP );MODULE_DESCRIPTION ("Intel(R) QuickAssist Technology" );MODULE_VERSION (ADF_DRV_VERSION ); -MODULE_IMPORT_NS (CRYPTO_QAT ); +MODULE_IMPORT_NS ("CRYPTO_QAT" );
drivers/crypto/intel/qat/qat_c62xvf/adf_drv.c +1 -1
@@ -226,4 +226,4 @@ MODULE_LICENSE("Dual BSD/GPL");MODULE_AUTHOR ("Intel" );MODULE_DESCRIPTION ("Intel(R) QuickAssist Technology" );MODULE_VERSION (ADF_DRV_VERSION ); -MODULE_IMPORT_NS (CRYPTO_QAT ); +MODULE_IMPORT_NS ("CRYPTO_QAT" );
drivers/crypto/intel/qat/qat_common/adf_ctl_drv.c +1 -1
@@ -475,4 +475,4 @@ MODULE_AUTHOR("Intel");MODULE_DESCRIPTION ("Intel(R) QuickAssist Technology" );MODULE_ALIAS_CRYPTO ("intel_qat" );MODULE_VERSION (ADF_DRV_VERSION ); -MODULE_IMPORT_NS (CRYPTO_INTERNAL ); +MODULE_IMPORT_NS ("CRYPTO_INTERNAL" );
drivers/crypto/intel/qat/qat_dh895xcc/adf_drv.c +1 -1
@@ -252,4 +252,4 @@ MODULE_FIRMWARE(ADF_DH895XCC_FW);MODULE_FIRMWARE (ADF_DH895XCC_MMP );MODULE_DESCRIPTION ("Intel(R) QuickAssist Technology" );MODULE_VERSION (ADF_DRV_VERSION ); -MODULE_IMPORT_NS (CRYPTO_QAT ); +MODULE_IMPORT_NS ("CRYPTO_QAT" );
drivers/crypto/intel/qat/qat_dh895xccvf/adf_drv.c +1 -1
@@ -226,4 +226,4 @@ MODULE_LICENSE("Dual BSD/GPL");MODULE_AUTHOR ("Intel" );MODULE_DESCRIPTION ("Intel(R) QuickAssist Technology" );MODULE_VERSION (ADF_DRV_VERSION ); -MODULE_IMPORT_NS (CRYPTO_QAT ); +MODULE_IMPORT_NS ("CRYPTO_QAT" );
drivers/crypto/marvell/octeontx2/cn10k_cpt.c +7 -7
@@ -73,7 +73,7 @@ int cn10k_cptpf_lmtst_init(struct otx2_cptpf_dev *cptpf)return 0 ; } -EXPORT_SYMBOL_NS_GPL (cn10k_cptpf_lmtst_init,CRYPTO_DEV_OCTEONTX2_CPT ); +EXPORT_SYMBOL_NS_GPL (cn10k_cptpf_lmtst_init,"CRYPTO_DEV_OCTEONTX2_CPT" );int cn10k_cptvf_lmtst_init (struct otx2_cptvf_dev *cptvf) {
@@ -94,7 +94,7 @@ int cn10k_cptvf_lmtst_init(struct otx2_cptvf_dev *cptvf)return 0 ; } -EXPORT_SYMBOL_NS_GPL (cn10k_cptvf_lmtst_init,CRYPTO_DEV_OCTEONTX2_CPT ); +EXPORT_SYMBOL_NS_GPL (cn10k_cptvf_lmtst_init,"CRYPTO_DEV_OCTEONTX2_CPT" );void cn10k_cpt_hw_ctx_clear (struct pci_dev *pdev,struct cn10k_cpt_errata_ctx *er_ctx)
@@ -110,7 +110,7 @@ void cn10k_cpt_hw_ctx_clear(struct pci_dev *pdev, DMA_BIDIRECTIONAL);kfree (er_ctx->hw_ctx); } -EXPORT_SYMBOL_NS_GPL (cn10k_cpt_hw_ctx_clear,CRYPTO_DEV_OCTEONTX2_CPT ); +EXPORT_SYMBOL_NS_GPL (cn10k_cpt_hw_ctx_clear,"CRYPTO_DEV_OCTEONTX2_CPT" );void cn10k_cpt_hw_ctx_set (union cn10k_cpt_hw_ctx *hctx,u16 ctx_sz) {
@@ -119,7 +119,7 @@ void cn10k_cpt_hw_ctx_set(union cn10k_cpt_hw_ctx *hctx, u16 ctx_sz) hctx->w0.ctx_sz = ctx_sz; hctx->w0.ctx_push_sz =1 ; } -EXPORT_SYMBOL_NS_GPL (cn10k_cpt_hw_ctx_set,CRYPTO_DEV_OCTEONTX2_CPT ); +EXPORT_SYMBOL_NS_GPL (cn10k_cpt_hw_ctx_set,"CRYPTO_DEV_OCTEONTX2_CPT" );int cn10k_cpt_hw_ctx_init (struct pci_dev *pdev,struct cn10k_cpt_errata_ctx *er_ctx)
@@ -149,7 +149,7 @@ int cn10k_cpt_hw_ctx_init(struct pci_dev *pdev,return 0 ; } -EXPORT_SYMBOL_NS_GPL (cn10k_cpt_hw_ctx_init,CRYPTO_DEV_OCTEONTX2_CPT ); +EXPORT_SYMBOL_NS_GPL (cn10k_cpt_hw_ctx_init,"CRYPTO_DEV_OCTEONTX2_CPT" );void cn10k_cpt_ctx_flush (struct pci_dev *pdev,u64 cptr,bool inval) {
@@ -168,7 +168,7 @@ void cn10k_cpt_ctx_flush(struct pci_dev *pdev, u64 cptr, bool inval)otx2_cpt_read64 (lfs->reg_base, lfs->blkaddr, lfs->lf[0 ].slot,OTX2_CPT_LF_CTX_ERR ); } -EXPORT_SYMBOL_NS_GPL (cn10k_cpt_ctx_flush,CRYPTO_DEV_OCTEONTX2_CPT ); +EXPORT_SYMBOL_NS_GPL (cn10k_cpt_ctx_flush,"CRYPTO_DEV_OCTEONTX2_CPT" );void cptvf_hw_ops_get (struct otx2_cptvf_dev *cptvf) {
@@ -177,4 +177,4 @@ void cptvf_hw_ops_get(struct otx2_cptvf_dev *cptvf)else cptvf->lfs.ops = &otx2_hw_ops; } -EXPORT_SYMBOL_NS_GPL (cptvf_hw_ops_get,CRYPTO_DEV_OCTEONTX2_CPT ); +EXPORT_SYMBOL_NS_GPL (cptvf_hw_ops_get,"CRYPTO_DEV_OCTEONTX2_CPT" );
drivers/crypto/marvell/octeontx2/otx2_cpt_mbox_common.c +10 -10
@@ -19,7 +19,7 @@ int otx2_cpt_send_mbox_msg(struct otx2_mbox *mbox, struct pci_dev *pdev) }return ret; } -EXPORT_SYMBOL_NS_GPL (otx2_cpt_send_mbox_msg,CRYPTO_DEV_OCTEONTX2_CPT ); +EXPORT_SYMBOL_NS_GPL (otx2_cpt_send_mbox_msg,"CRYPTO_DEV_OCTEONTX2_CPT" );int otx2_cpt_send_ready_msg (struct otx2_mbox *mbox,struct pci_dev *pdev) {
@@ -37,13 +37,13 @@ int otx2_cpt_send_ready_msg(struct otx2_mbox *mbox, struct pci_dev *pdev)return otx2_cpt_send_mbox_msg (mbox, pdev); } -EXPORT_SYMBOL_NS_GPL (otx2_cpt_send_ready_msg,CRYPTO_DEV_OCTEONTX2_CPT ); +EXPORT_SYMBOL_NS_GPL (otx2_cpt_send_ready_msg,"CRYPTO_DEV_OCTEONTX2_CPT" );int otx2_cpt_send_af_reg_requests (struct otx2_mbox *mbox,struct pci_dev *pdev) {return otx2_cpt_send_mbox_msg (mbox, pdev); } -EXPORT_SYMBOL_NS_GPL (otx2_cpt_send_af_reg_requests,CRYPTO_DEV_OCTEONTX2_CPT ); +EXPORT_SYMBOL_NS_GPL (otx2_cpt_send_af_reg_requests,"CRYPTO_DEV_OCTEONTX2_CPT" ); static int otx2_cpt_add_read_af_reg(struct otx2_mbox *mbox, struct pci_dev *pdev, u64 reg,
@@ -95,7 +95,7 @@ int otx2_cpt_add_write_af_reg(struct otx2_mbox *mbox, struct pci_dev *pdev,return 0 ; } -EXPORT_SYMBOL_NS_GPL (otx2_cpt_add_write_af_reg,CRYPTO_DEV_OCTEONTX2_CPT ); +EXPORT_SYMBOL_NS_GPL (otx2_cpt_add_write_af_reg,"CRYPTO_DEV_OCTEONTX2_CPT" );int otx2_cpt_read_af_reg (struct otx2_mbox *mbox,struct pci_dev *pdev,u64 reg,u64 *val,int blkaddr)
@@ -108,7 +108,7 @@ int otx2_cpt_read_af_reg(struct otx2_mbox *mbox, struct pci_dev *pdev,return otx2_cpt_send_mbox_msg (mbox, pdev); } -EXPORT_SYMBOL_NS_GPL (otx2_cpt_read_af_reg,CRYPTO_DEV_OCTEONTX2_CPT ); +EXPORT_SYMBOL_NS_GPL (otx2_cpt_read_af_reg,"CRYPTO_DEV_OCTEONTX2_CPT" );int otx2_cpt_write_af_reg (struct otx2_mbox *mbox,struct pci_dev *pdev,u64 reg,u64 val,int blkaddr)
@@ -121,7 +121,7 @@ int otx2_cpt_write_af_reg(struct otx2_mbox *mbox, struct pci_dev *pdev,return otx2_cpt_send_mbox_msg (mbox, pdev); } -EXPORT_SYMBOL_NS_GPL (otx2_cpt_write_af_reg,CRYPTO_DEV_OCTEONTX2_CPT ); +EXPORT_SYMBOL_NS_GPL (otx2_cpt_write_af_reg,"CRYPTO_DEV_OCTEONTX2_CPT" );int otx2_cpt_attach_rscrs_msg (struct otx2_cptlfs_info *lfs) {
@@ -180,7 +180,7 @@ int otx2_cpt_detach_rsrcs_msg(struct otx2_cptlfs_info *lfs)return ret; } -EXPORT_SYMBOL_NS_GPL (otx2_cpt_detach_rsrcs_msg,CRYPTO_DEV_OCTEONTX2_CPT ); +EXPORT_SYMBOL_NS_GPL (otx2_cpt_detach_rsrcs_msg,"CRYPTO_DEV_OCTEONTX2_CPT" );int otx2_cpt_msix_offset_msg (struct otx2_cptlfs_info *lfs) {
@@ -213,7 +213,7 @@ int otx2_cpt_msix_offset_msg(struct otx2_cptlfs_info *lfs) }return ret; } -EXPORT_SYMBOL_NS_GPL (otx2_cpt_msix_offset_msg,CRYPTO_DEV_OCTEONTX2_CPT ); +EXPORT_SYMBOL_NS_GPL (otx2_cpt_msix_offset_msg,"CRYPTO_DEV_OCTEONTX2_CPT" );int otx2_cpt_sync_mbox_msg (struct otx2_mbox *mbox) {
@@ -228,7 +228,7 @@ int otx2_cpt_sync_mbox_msg(struct otx2_mbox *mbox)return otx2_mbox_check_rsp_msgs (mbox,0 ); } -EXPORT_SYMBOL_NS_GPL (otx2_cpt_sync_mbox_msg,CRYPTO_DEV_OCTEONTX2_CPT ); +EXPORT_SYMBOL_NS_GPL (otx2_cpt_sync_mbox_msg,"CRYPTO_DEV_OCTEONTX2_CPT" );int otx2_cpt_lf_reset_msg (struct otx2_cptlfs_info *lfs,int slot) {
@@ -254,4 +254,4 @@ int otx2_cpt_lf_reset_msg(struct otx2_cptlfs_info *lfs, int slot)return ret; } -EXPORT_SYMBOL_NS_GPL (otx2_cpt_lf_reset_msg,CRYPTO_DEV_OCTEONTX2_CPT ); +EXPORT_SYMBOL_NS_GPL (otx2_cpt_lf_reset_msg,"CRYPTO_DEV_OCTEONTX2_CPT" );
drivers/crypto/marvell/octeontx2/otx2_cptlf.c +8 -12
@@ -288,8 +288,7 @@ void otx2_cptlf_unregister_misc_interrupts(struct otx2_cptlfs_info *lfs)cptlf_set_misc_intrs (lfs, false); } -EXPORT_SYMBOL_NS_GPL (otx2_cptlf_unregister_misc_interrupts, -CRYPTO_DEV_OCTEONTX2_CPT ); +EXPORT_SYMBOL_NS_GPL (otx2_cptlf_unregister_misc_interrupts,"CRYPTO_DEV_OCTEONTX2_CPT" );void otx2_cptlf_unregister_done_interrupts (struct otx2_cptlfs_info *lfs) {
@@ -308,8 +307,7 @@ void otx2_cptlf_unregister_done_interrupts(struct otx2_cptlfs_info *lfs)cptlf_set_done_intrs (lfs, false); } -EXPORT_SYMBOL_NS_GPL (otx2_cptlf_unregister_done_interrupts, -CRYPTO_DEV_OCTEONTX2_CPT ); +EXPORT_SYMBOL_NS_GPL (otx2_cptlf_unregister_done_interrupts,"CRYPTO_DEV_OCTEONTX2_CPT" ); static int cptlf_do_register_interrrupts(struct otx2_cptlfs_info *lfs, int lf_num, int irq_offset,
@@ -351,8 +349,7 @@ int otx2_cptlf_register_misc_interrupts(struct otx2_cptlfs_info *lfs)otx2_cptlf_unregister_misc_interrupts (lfs);return ret; } -EXPORT_SYMBOL_NS_GPL (otx2_cptlf_register_misc_interrupts, -CRYPTO_DEV_OCTEONTX2_CPT ); +EXPORT_SYMBOL_NS_GPL (otx2_cptlf_register_misc_interrupts,"CRYPTO_DEV_OCTEONTX2_CPT" );int otx2_cptlf_register_done_interrupts (struct otx2_cptlfs_info *lfs) {
@@ -375,8 +372,7 @@ int otx2_cptlf_register_done_interrupts(struct otx2_cptlfs_info *lfs)otx2_cptlf_unregister_done_interrupts (lfs);return ret; } -EXPORT_SYMBOL_NS_GPL (otx2_cptlf_register_done_interrupts, -CRYPTO_DEV_OCTEONTX2_CPT ); +EXPORT_SYMBOL_NS_GPL (otx2_cptlf_register_done_interrupts,"CRYPTO_DEV_OCTEONTX2_CPT" );void otx2_cptlf_free_irqs_affinity (struct otx2_cptlfs_info *lfs) {
@@ -390,7 +386,7 @@ void otx2_cptlf_free_irqs_affinity(struct otx2_cptlfs_info *lfs)free_cpumask_var (lfs->lf[slot].affinity_mask); } } -EXPORT_SYMBOL_NS_GPL (otx2_cptlf_free_irqs_affinity,CRYPTO_DEV_OCTEONTX2_CPT ); +EXPORT_SYMBOL_NS_GPL (otx2_cptlf_free_irqs_affinity,"CRYPTO_DEV_OCTEONTX2_CPT" );int otx2_cptlf_set_irqs_affinity (struct otx2_cptlfs_info *lfs) {
@@ -423,7 +419,7 @@ int otx2_cptlf_set_irqs_affinity(struct otx2_cptlfs_info *lfs)otx2_cptlf_free_irqs_affinity (lfs);return ret; } -EXPORT_SYMBOL_NS_GPL (otx2_cptlf_set_irqs_affinity,CRYPTO_DEV_OCTEONTX2_CPT ); +EXPORT_SYMBOL_NS_GPL (otx2_cptlf_set_irqs_affinity,"CRYPTO_DEV_OCTEONTX2_CPT" );int otx2_cptlf_init (struct otx2_cptlfs_info *lfs,u8 eng_grp_mask,int pri,int lfs_num)
@@ -486,7 +482,7 @@ int otx2_cptlf_init(struct otx2_cptlfs_info *lfs, u8 eng_grp_mask, int pri, lfs->lfs_num =0 ;return ret; } -EXPORT_SYMBOL_NS_GPL (otx2_cptlf_init,CRYPTO_DEV_OCTEONTX2_CPT ); +EXPORT_SYMBOL_NS_GPL (otx2_cptlf_init,"CRYPTO_DEV_OCTEONTX2_CPT" );void otx2_cptlf_shutdown (struct otx2_cptlfs_info *lfs) {
@@ -498,7 +494,7 @@ void otx2_cptlf_shutdown(struct otx2_cptlfs_info *lfs)otx2_cpt_detach_rsrcs_msg (lfs); lfs->lfs_num =0 ; } -EXPORT_SYMBOL_NS_GPL (otx2_cptlf_shutdown,CRYPTO_DEV_OCTEONTX2_CPT ); +EXPORT_SYMBOL_NS_GPL (otx2_cptlf_shutdown,"CRYPTO_DEV_OCTEONTX2_CPT" );MODULE_AUTHOR ("Marvell" );MODULE_DESCRIPTION ("Marvell RVU CPT Common module" );
drivers/crypto/marvell/octeontx2/otx2_cptpf_main.c +1 -1
@@ -864,7 +864,7 @@ static struct pci_driver otx2_cpt_pci_driver = {module_pci_driver (otx2_cpt_pci_driver); -MODULE_IMPORT_NS (CRYPTO_DEV_OCTEONTX2_CPT ); +MODULE_IMPORT_NS ("CRYPTO_DEV_OCTEONTX2_CPT" );MODULE_AUTHOR ("Marvell" );MODULE_DESCRIPTION (OTX2_CPT_DRV_STRING );
drivers/crypto/marvell/octeontx2/otx2_cptvf_main.c +1 -1
@@ -448,7 +448,7 @@ static struct pci_driver otx2_cptvf_pci_driver = {module_pci_driver (otx2_cptvf_pci_driver); -MODULE_IMPORT_NS (CRYPTO_DEV_OCTEONTX2_CPT ); +MODULE_IMPORT_NS ("CRYPTO_DEV_OCTEONTX2_CPT" );MODULE_AUTHOR ("Marvell" );MODULE_DESCRIPTION ("Marvell RVU CPT Virtual Function Driver" );
drivers/cxl/acpi.c +2 -2
@@ -934,5 +934,5 @@ MODULE_SOFTDEP("pre: cxl_port");module_exit (cxl_acpi_exit);MODULE_DESCRIPTION ("CXL ACPI: Platform Support" );MODULE_LICENSE ("GPL v2" ); -MODULE_IMPORT_NS (CXL ); -MODULE_IMPORT_NS (ACPI ); +MODULE_IMPORT_NS ("CXL" ); +MODULE_IMPORT_NS ("ACPI" );
drivers/cxl/core/cdat.c +3 -3
@@ -416,7 +416,7 @@ void cxl_endpoint_parse_cdat(struct cxl_port *port)cxl_qos_class_verify (cxlmd);cxl_memdev_update_perf (cxlmd); } -EXPORT_SYMBOL_NS_GPL (cxl_endpoint_parse_cdat,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_endpoint_parse_cdat,"CXL" );static int cdat_sslbis_handler (union acpi_subtable_headers *header,void *arg,const unsigned long end)
@@ -513,7 +513,7 @@ void cxl_switch_parse_cdat(struct cxl_port *port)if (rc)dev_dbg (&port->dev,"Failed to parse SSLBIS: %d\n" , rc); } -EXPORT_SYMBOL_NS_GPL (cxl_switch_parse_cdat,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_switch_parse_cdat,"CXL" ); static void __cxl_coordinates_combine(struct access_coordinate *out, struct access_coordinate *c1,
@@ -545,7 +545,7 @@ void cxl_coordinates_combine(struct access_coordinate *out,__cxl_coordinates_combine (&out[i], &c1[i], &c2[i]); } -MODULE_IMPORT_NS (CXL ); +MODULE_IMPORT_NS ("CXL" ); static void cxl_bandwidth_add(struct access_coordinate *coord, struct access_coordinate *c1,
drivers/cxl/core/hdm.c +6 -6
@@ -73,7 +73,7 @@ int devm_cxl_add_passthrough_decoder(struct cxl_port *port)return add_hdm_decoder (port, &cxlsd->cxld, single_port_map); } -EXPORT_SYMBOL_NS_GPL (devm_cxl_add_passthrough_decoder,CXL ); +EXPORT_SYMBOL_NS_GPL (devm_cxl_add_passthrough_decoder,"CXL" );static void parse_hdm_decoder_caps (struct cxl_hdm *cxlhdm) {
@@ -199,7 +199,7 @@ struct cxl_hdm *devm_cxl_setup_hdm(struct cxl_port *port,return cxlhdm; } -EXPORT_SYMBOL_NS_GPL (devm_cxl_setup_hdm,CXL ); +EXPORT_SYMBOL_NS_GPL (devm_cxl_setup_hdm,"CXL" );static void __cxl_dpa_debug (struct seq_file *file,struct resource *r,int depth) {
@@ -221,7 +221,7 @@ void cxl_dpa_debug(struct seq_file *file, struct cxl_dev_state *cxlds) }up_read (&cxl_dpa_rwsem); } -EXPORT_SYMBOL_NS_GPL (cxl_dpa_debug,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_dpa_debug,"CXL" );/* * Must be called in a context that synchronizes against this decoder's
@@ -358,7 +358,7 @@ int devm_cxl_dpa_reserve(struct cxl_endpoint_decoder *cxled,return devm_add_action_or_reset (&port->dev, cxl_dpa_release, cxled); } -EXPORT_SYMBOL_NS_GPL (devm_cxl_dpa_reserve,CXL ); +EXPORT_SYMBOL_NS_GPL (devm_cxl_dpa_reserve,"CXL" );resource_size_t cxl_dpa_size (struct cxl_endpoint_decoder *cxled) {
@@ -747,7 +747,7 @@ void cxl_port_commit_reap(struct cxl_decoder *cxld)device_for_each_child_reverse_from (&port->dev, &cxld->dev,NULL , commit_reap); } -EXPORT_SYMBOL_NS_GPL (cxl_port_commit_reap,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_port_commit_reap,"CXL" );static void cxl_decoder_reset (struct cxl_decoder *cxld) {
@@ -1073,4 +1073,4 @@ int devm_cxl_enumerate_decoders(struct cxl_hdm *cxlhdm,return 0 ; } -EXPORT_SYMBOL_NS_GPL (devm_cxl_enumerate_decoders,CXL ); +EXPORT_SYMBOL_NS_GPL (devm_cxl_enumerate_decoders,"CXL" );
drivers/cxl/core/mbox.c +11 -11
@@ -281,7 +281,7 @@ int cxl_internal_send_cmd(struct cxl_mailbox *cxl_mbox,return -EIO ;return 0 ; } -EXPORT_SYMBOL_NS_GPL (cxl_internal_send_cmd,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_internal_send_cmd,"CXL" );static bool cxl_mem_raw_command_allowed (u16 opcode) {
@@ -854,7 +854,7 @@ int cxl_enumerate_cmds(struct cxl_memdev_state *mds)kvfree (gsl);return rc; } -EXPORT_SYMBOL_NS_GPL (cxl_enumerate_cmds,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_enumerate_cmds,"CXL" ); void cxl_event_trace_record(const struct cxl_memdev *cxlmd, enum cxl_event_log_type type,
@@ -894,7 +894,7 @@ void cxl_event_trace_record(const struct cxl_memdev *cxlmd,trace_cxl_dram (cxlmd, type, cxlr, hpa, &evt->dram); } } -EXPORT_SYMBOL_NS_GPL (cxl_event_trace_record,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_event_trace_record,"CXL" ); static void __cxl_event_trace_record(const struct cxl_memdev *cxlmd, enum cxl_event_log_type type,
@@ -1063,7 +1063,7 @@ void cxl_mem_get_event_records(struct cxl_memdev_state *mds, u32 status)if (status &CXLDEV_EVENT_STATUS_INFO )cxl_mem_get_records_log (mds,CXL_EVENT_TYPE_INFO ); } -EXPORT_SYMBOL_NS_GPL (cxl_mem_get_event_records,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_mem_get_event_records,"CXL" );/** * cxl_mem_get_partition_info - Get partition info
@@ -1155,7 +1155,7 @@ int cxl_dev_state_identify(struct cxl_memdev_state *mds)return 0 ; } -EXPORT_SYMBOL_NS_GPL (cxl_dev_state_identify,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_dev_state_identify,"CXL" );static int __cxl_mem_sanitize (struct cxl_memdev_state *mds,u16 cmd) {
@@ -1306,7 +1306,7 @@ int cxl_mem_create_range_info(struct cxl_memdev_state *mds) mds->active_volatile_bytes, mds->active_persistent_bytes, "pmem"); } -EXPORT_SYMBOL_NS_GPL (cxl_mem_create_range_info,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_mem_create_range_info,"CXL" );int cxl_set_timestamp (struct cxl_memdev_state *mds) {
@@ -1333,7 +1333,7 @@ int cxl_set_timestamp(struct cxl_memdev_state *mds)return 0 ; } -EXPORT_SYMBOL_NS_GPL (cxl_set_timestamp,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_set_timestamp,"CXL" );int cxl_mem_get_poison (struct cxl_memdev *cxlmd,u64 offset,u64 len,struct cxl_region *cxlr)
@@ -1384,7 +1384,7 @@ int cxl_mem_get_poison(struct cxl_memdev *cxlmd, u64 offset, u64 len,mutex_unlock (&mds->poison.lock);return rc; } -EXPORT_SYMBOL_NS_GPL (cxl_mem_get_poison,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_mem_get_poison,"CXL" );static void free_poison_buf (void *buf) {
@@ -1420,7 +1420,7 @@ int cxl_poison_state_init(struct cxl_memdev_state *mds)mutex_init (&mds->poison.lock);return 0 ; } -EXPORT_SYMBOL_NS_GPL (cxl_poison_state_init,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_poison_state_init,"CXL" );int cxl_mailbox_init (struct cxl_mailbox *cxl_mbox,struct device *host) {
@@ -1433,7 +1433,7 @@ int cxl_mailbox_init(struct cxl_mailbox *cxl_mbox, struct device *host)return 0 ; } -EXPORT_SYMBOL_NS_GPL (cxl_mailbox_init,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_mailbox_init,"CXL" );struct cxl_memdev_state *cxl_memdev_state_create (struct device *dev) {
@@ -1455,7 +1455,7 @@ struct cxl_memdev_state *cxl_memdev_state_create(struct device *dev)return mds; } -EXPORT_SYMBOL_NS_GPL (cxl_memdev_state_create,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_memdev_state_create,"CXL" );void __init cxl_mbox_init (void ) {
drivers/cxl/core/memdev.c +10 -10
@@ -250,7 +250,7 @@ int cxl_trigger_poison_list(struct cxl_memdev *cxlmd)return rc; } -EXPORT_SYMBOL_NS_GPL (cxl_trigger_poison_list,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_trigger_poison_list,"CXL" );static int cxl_validate_poison_dpa (struct cxl_memdev *cxlmd,u64 dpa) {
@@ -329,7 +329,7 @@ int cxl_inject_poison(struct cxl_memdev *cxlmd, u64 dpa)return rc; } -EXPORT_SYMBOL_NS_GPL (cxl_inject_poison,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_inject_poison,"CXL" );int cxl_clear_poison (struct cxl_memdev *cxlmd,u64 dpa) {
@@ -393,7 +393,7 @@ int cxl_clear_poison(struct cxl_memdev *cxlmd, u64 dpa)return rc; } -EXPORT_SYMBOL_NS_GPL (cxl_clear_poison,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_clear_poison,"CXL" );static struct attribute *cxl_memdev_attributes[] = { &dev_attr_serial.attr,
@@ -537,7 +537,7 @@ void cxl_memdev_update_perf(struct cxl_memdev *cxlmd)sysfs_update_group (&cxlmd->dev.kobj, &cxl_memdev_ram_attribute_group);sysfs_update_group (&cxlmd->dev.kobj, &cxl_memdev_pmem_attribute_group); } -EXPORT_SYMBOL_NS_GPL (cxl_memdev_update_perf,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_memdev_update_perf,"CXL" );static const struct device_type cxl_memdev_type = { .name ="cxl_memdev" ,
@@ -550,7 +550,7 @@ bool is_cxl_memdev(const struct device *dev) {return dev->type == &cxl_memdev_type; } -EXPORT_SYMBOL_NS_GPL (is_cxl_memdev,CXL ); +EXPORT_SYMBOL_NS_GPL (is_cxl_memdev,"CXL" );/** * set_exclusive_cxl_commands() - atomically disable user cxl commands
@@ -569,7 +569,7 @@ void set_exclusive_cxl_commands(struct cxl_memdev_state *mds, CXL_MEM_COMMAND_ID_MAX);up_write (&cxl_memdev_rwsem); } -EXPORT_SYMBOL_NS_GPL (set_exclusive_cxl_commands,CXL ); +EXPORT_SYMBOL_NS_GPL (set_exclusive_cxl_commands,"CXL" );/** * clear_exclusive_cxl_commands() - atomically enable user cxl commands
@@ -584,7 +584,7 @@ void clear_exclusive_cxl_commands(struct cxl_memdev_state *mds, CXL_MEM_COMMAND_ID_MAX);up_write (&cxl_memdev_rwsem); } -EXPORT_SYMBOL_NS_GPL (clear_exclusive_cxl_commands,CXL ); +EXPORT_SYMBOL_NS_GPL (clear_exclusive_cxl_commands,"CXL" );static void cxl_memdev_shutdown (struct device *dev) {
@@ -1006,7 +1006,7 @@ int devm_cxl_setup_fw_upload(struct device *host, struct cxl_memdev_state *mds)return PTR_ERR (fwl);return devm_add_action_or_reset (host, cxl_remove_fw_upload, fwl); } -EXPORT_SYMBOL_NS_GPL (devm_cxl_setup_fw_upload,CXL ); +EXPORT_SYMBOL_NS_GPL (devm_cxl_setup_fw_upload,"CXL" );static const struct file_operations cxl_memdev_fops = { .owner =THIS_MODULE ,
@@ -1060,7 +1060,7 @@ struct cxl_memdev *devm_cxl_add_memdev(struct device *host,put_device (dev);return ERR_PTR (rc); } -EXPORT_SYMBOL_NS_GPL (devm_cxl_add_memdev,CXL ); +EXPORT_SYMBOL_NS_GPL (devm_cxl_add_memdev,"CXL" );static void sanitize_teardown_notifier (void *data) {
@@ -1105,7 +1105,7 @@ int devm_cxl_sanitize_setup_notifier(struct device *host,return devm_add_action_or_reset (host, sanitize_teardown_notifier, mds); } -EXPORT_SYMBOL_NS_GPL (devm_cxl_sanitize_setup_notifier,CXL ); +EXPORT_SYMBOL_NS_GPL (devm_cxl_sanitize_setup_notifier,"CXL" );__init int cxl_memdev_init (void ) {
drivers/cxl/core/pci.c +9 -9
@@ -101,7 +101,7 @@ int devm_cxl_port_enumerate_dports(struct cxl_port *port)return ctx.error;return ctx.count; } -EXPORT_SYMBOL_NS_GPL (devm_cxl_port_enumerate_dports,CXL ); +EXPORT_SYMBOL_NS_GPL (devm_cxl_port_enumerate_dports,"CXL" );static int cxl_dvsec_mem_range_valid (struct cxl_dev_state *cxlds,int id) {
@@ -209,7 +209,7 @@ int cxl_await_media_ready(struct cxl_dev_state *cxlds)return 0 ; } -EXPORT_SYMBOL_NS_GPL (cxl_await_media_ready,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_await_media_ready,"CXL" );static int cxl_set_mem_enable (struct cxl_dev_state *cxlds,u16 val) {
@@ -386,7 +386,7 @@ int cxl_dvsec_rr_decode(struct device *dev, struct cxl_port *port,return 0 ; } -EXPORT_SYMBOL_NS_GPL (cxl_dvsec_rr_decode,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_dvsec_rr_decode,"CXL" );/** * cxl_hdm_decode_init() - Setup HDM decoding for the endpoint
@@ -464,7 +464,7 @@ int cxl_hdm_decode_init(struct cxl_dev_state *cxlds, struct cxl_hdm *cxlhdm,*/ return 0 ; } -EXPORT_SYMBOL_NS_GPL (cxl_hdm_decode_init,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_hdm_decode_init,"CXL" );#define CXL_DOE_TABLE_ACCESS_REQ_CODE 0x000000ff#define CXL_DOE_TABLE_ACCESS_REQ_CODE_READ 0
@@ -648,7 +648,7 @@ void read_cdat_data(struct cxl_port *port)devm_kfree (dev, buf);dev_err (dev,"Failed to read/validate CDAT.\n" ); } -EXPORT_SYMBOL_NS_GPL (read_cdat_data,CXL ); +EXPORT_SYMBOL_NS_GPL (read_cdat_data,"CXL" );static void __cxl_handle_cor_ras (struct cxl_dev_state *cxlds,void __iomem *ras_base)
@@ -805,7 +805,7 @@ void cxl_dport_init_ras_reporting(struct cxl_dport *dport, struct device *host)cxl_disable_rch_root_ints (dport); } } -EXPORT_SYMBOL_NS_GPL (cxl_dport_init_ras_reporting,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_dport_init_ras_reporting,"CXL" );static void cxl_handle_rdport_cor_ras (struct cxl_dev_state *cxlds,struct cxl_dport *dport)
@@ -916,7 +916,7 @@ void cxl_cor_error_detected(struct pci_dev *pdev)cxl_handle_endpoint_cor_ras (cxlds); } } -EXPORT_SYMBOL_NS_GPL (cxl_cor_error_detected,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_cor_error_detected,"CXL" );pci_ers_result_t cxl_error_detected (struct pci_dev *pdev,pci_channel_state_t state)
@@ -966,7 +966,7 @@ pci_ers_result_t cxl_error_detected(struct pci_dev *pdev, }return PCI_ERS_RESULT_NEED_RESET ; } -EXPORT_SYMBOL_NS_GPL (cxl_error_detected,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_error_detected,"CXL" );static int cxl_flit_size (struct pci_dev *pdev) {
@@ -1030,7 +1030,7 @@ bool cxl_endpoint_decoder_reset_detected(struct cxl_port *port)return device_for_each_child (&port->dev, port, __cxl_endpoint_decoder_reset_detected); } -EXPORT_SYMBOL_NS_GPL (cxl_endpoint_decoder_reset_detected,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_endpoint_decoder_reset_detected,"CXL" );int cxl_pci_get_bandwidth (struct pci_dev *pdev,struct access_coordinate *c) {
drivers/cxl/core/pmem.c +7 -7
@@ -49,13 +49,13 @@ struct cxl_nvdimm_bridge *to_cxl_nvdimm_bridge(struct device *dev)return NULL ; return container_of(dev, struct cxl_nvdimm_bridge, dev); } -EXPORT_SYMBOL_NS_GPL (to_cxl_nvdimm_bridge,CXL ); +EXPORT_SYMBOL_NS_GPL (to_cxl_nvdimm_bridge,"CXL" );bool is_cxl_nvdimm_bridge (struct device *dev) {return dev->type == &cxl_nvdimm_bridge_type; } -EXPORT_SYMBOL_NS_GPL (is_cxl_nvdimm_bridge,CXL ); +EXPORT_SYMBOL_NS_GPL (is_cxl_nvdimm_bridge,"CXL" );static int match_nvdimm_bridge (struct device *dev,void *data) {
@@ -82,7 +82,7 @@ struct cxl_nvdimm_bridge *cxl_find_nvdimm_bridge(struct cxl_port *port)return to_cxl_nvdimm_bridge (dev); } -EXPORT_SYMBOL_NS_GPL (cxl_find_nvdimm_bridge,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_find_nvdimm_bridge,"CXL" );static struct lock_class_key cxl_nvdimm_bridge_key;
@@ -164,7 +164,7 @@ struct cxl_nvdimm_bridge *devm_cxl_add_nvdimm_bridge(struct device *host,put_device (dev);return ERR_PTR (rc); } -EXPORT_SYMBOL_NS_GPL (devm_cxl_add_nvdimm_bridge,CXL ); +EXPORT_SYMBOL_NS_GPL (devm_cxl_add_nvdimm_bridge,"CXL" );static void cxl_nvdimm_release (struct device *dev) {
@@ -188,7 +188,7 @@ bool is_cxl_nvdimm(struct device *dev) {return dev->type == &cxl_nvdimm_type; } -EXPORT_SYMBOL_NS_GPL (is_cxl_nvdimm,CXL ); +EXPORT_SYMBOL_NS_GPL (is_cxl_nvdimm,"CXL" );struct cxl_nvdimm *to_cxl_nvdimm (struct device *dev) {
@@ -197,7 +197,7 @@ struct cxl_nvdimm *to_cxl_nvdimm(struct device *dev)return NULL ; return container_of(dev, struct cxl_nvdimm, dev); } -EXPORT_SYMBOL_NS_GPL (to_cxl_nvdimm,CXL ); +EXPORT_SYMBOL_NS_GPL (to_cxl_nvdimm,"CXL" );static struct lock_class_key cxl_nvdimm_key;
@@ -293,4 +293,4 @@ int devm_cxl_add_nvdimm(struct cxl_port *parent_port,return rc; } -EXPORT_SYMBOL_NS_GPL (devm_cxl_add_nvdimm,CXL ); +EXPORT_SYMBOL_NS_GPL (devm_cxl_add_nvdimm,"CXL" );
drivers/cxl/core/pmu.c +1 -1
@@ -65,4 +65,4 @@ int devm_cxl_pmu_add(struct device *parent, struct cxl_pmu_regs *regs,put_device (&pmu->dev);return rc; } -EXPORT_SYMBOL_NS_GPL (devm_cxl_pmu_add,CXL ); +EXPORT_SYMBOL_NS_GPL (devm_cxl_pmu_add,"CXL" );
drivers/cxl/core/port.c +36 -36
280 lines not on this page · raw message
drivers/cxl/core/region.c +7 -7
@@ -2299,7 +2299,7 @@ bool is_cxl_region(struct device *dev) {return dev->type == &cxl_region_type; } -EXPORT_SYMBOL_NS_GPL (is_cxl_region,CXL ); +EXPORT_SYMBOL_NS_GPL (is_cxl_region,"CXL" );static struct cxl_region *to_cxl_region (struct device *dev) {
@@ -2658,7 +2658,7 @@ bool is_cxl_pmem_region(struct device *dev) {return dev->type == &cxl_pmem_region_type; } -EXPORT_SYMBOL_NS_GPL (is_cxl_pmem_region,CXL ); +EXPORT_SYMBOL_NS_GPL (is_cxl_pmem_region,"CXL" );struct cxl_pmem_region *to_cxl_pmem_region (struct device *dev) {
@@ -2667,7 +2667,7 @@ struct cxl_pmem_region *to_cxl_pmem_region(struct device *dev)return NULL ; return container_of(dev, struct cxl_pmem_region, dev); } -EXPORT_SYMBOL_NS_GPL (to_cxl_pmem_region,CXL ); +EXPORT_SYMBOL_NS_GPL (to_cxl_pmem_region,"CXL" );struct cxl_poison_context {struct cxl_port *port;
@@ -3021,7 +3021,7 @@ struct cxl_dax_region *to_cxl_dax_region(struct device *dev)return NULL ; return container_of(dev, struct cxl_dax_region, dev); } -EXPORT_SYMBOL_NS_GPL (to_cxl_dax_region,CXL ); +EXPORT_SYMBOL_NS_GPL (to_cxl_dax_region,"CXL" );static struct lock_class_key cxl_dax_region_key;
@@ -3365,7 +3365,7 @@ int cxl_add_to_region(struct cxl_port *root, struct cxl_endpoint_decoder *cxled)put_device (cxlrd_dev);return rc; } -EXPORT_SYMBOL_NS_GPL (cxl_add_to_region,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_add_to_region,"CXL" );static int is_system_ram (struct resource *res,void *arg) {
@@ -3468,6 +3468,6 @@ void cxl_region_exit(void)cxl_driver_unregister (&cxl_region_driver); } -MODULE_IMPORT_NS (CXL ); -MODULE_IMPORT_NS (DEVMEM ); +MODULE_IMPORT_NS ("CXL" ); +MODULE_IMPORT_NS ("DEVMEM" );MODULE_ALIAS_CXL (CXL_DEVICE_REGION );
drivers/cxl/core/regs.c +10 -10
@@ -106,7 +106,7 @@ void cxl_probe_component_regs(struct device *dev, void __iomem *base, rmap->size = length; } } -EXPORT_SYMBOL_NS_GPL (cxl_probe_component_regs,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_probe_component_regs,"CXL" );/** * cxl_probe_device_regs() - Detect CXL Device register blocks
@@ -174,7 +174,7 @@ void cxl_probe_device_regs(struct device *dev, void __iomem *base, rmap->size = length; } } -EXPORT_SYMBOL_NS_GPL (cxl_probe_device_regs,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_probe_device_regs,"CXL" );void __iomem *devm_cxl_iomap_block (struct device *dev,resource_size_t addr,resource_size_t length)
@@ -232,7 +232,7 @@ int cxl_map_component_regs(const struct cxl_register_map *map,return 0 ; } -EXPORT_SYMBOL_NS_GPL (cxl_map_component_regs,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_map_component_regs,"CXL" );int cxl_map_device_regs (const struct cxl_register_map *map,struct cxl_device_regs *regs)
@@ -266,7 +266,7 @@ int cxl_map_device_regs(const struct cxl_register_map *map,return 0 ; } -EXPORT_SYMBOL_NS_GPL (cxl_map_device_regs,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_map_device_regs,"CXL" );static bool cxl_decode_regblock (struct pci_dev *pdev,u32 reg_lo,u32 reg_hi,struct cxl_register_map *map)
@@ -344,7 +344,7 @@ int cxl_find_regblock_instance(struct pci_dev *pdev, enum cxl_regloc_type type, map->resource =CXL_RESOURCE_NONE ;return -ENODEV ; } -EXPORT_SYMBOL_NS_GPL (cxl_find_regblock_instance,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_find_regblock_instance,"CXL" );/** * cxl_find_regblock() - Locate register blocks by type
@@ -362,7 +362,7 @@ int cxl_find_regblock(struct pci_dev *pdev, enum cxl_regloc_type type, {return cxl_find_regblock_instance (pdev, type, map,0 ); } -EXPORT_SYMBOL_NS_GPL (cxl_find_regblock,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_find_regblock,"CXL" );/** * cxl_count_regblock() - Count instances of a given regblock type.
@@ -385,7 +385,7 @@ int cxl_count_regblock(struct pci_dev *pdev, enum cxl_regloc_type type) count++; } } -EXPORT_SYMBOL_NS_GPL (cxl_count_regblock,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_count_regblock,"CXL" );int cxl_map_pmu_regs (struct cxl_register_map *map,struct cxl_pmu_regs *regs) {
@@ -399,7 +399,7 @@ int cxl_map_pmu_regs(struct cxl_register_map *map, struct cxl_pmu_regs *regs)return 0 ; } -EXPORT_SYMBOL_NS_GPL (cxl_map_pmu_regs,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_map_pmu_regs,"CXL" );static int cxl_map_regblock (struct cxl_register_map *map) {
@@ -468,7 +468,7 @@ int cxl_setup_regs(struct cxl_register_map *map)return rc; } -EXPORT_SYMBOL_NS_GPL (cxl_setup_regs,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_setup_regs,"CXL" );u16 cxl_rcrb_to_aer (struct device *dev,resource_size_t rcrb) {
@@ -577,4 +577,4 @@ resource_size_t cxl_rcd_component_reg_phys(struct device *dev,return CXL_RESOURCE_NONE ;return __rcrb_to_component (dev, &dport->rcrb,CXL_RCRB_UPSTREAM ); } -EXPORT_SYMBOL_NS_GPL (cxl_rcd_component_reg_phys,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_rcd_component_reg_phys,"CXL" );
drivers/cxl/core/suspend.c +2 -2
@@ -15,10 +15,10 @@ void cxl_mem_active_inc(void) {atomic_inc (&mem_active); } -EXPORT_SYMBOL_NS_GPL (cxl_mem_active_inc,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_mem_active_inc,"CXL" );void cxl_mem_active_dec (void ) {atomic_dec (&mem_active); } -EXPORT_SYMBOL_NS_GPL (cxl_mem_active_dec,CXL ); +EXPORT_SYMBOL_NS_GPL (cxl_mem_active_dec,"CXL" );
drivers/cxl/mem.c +1 -1
@@ -252,7 +252,7 @@ module_cxl_driver(cxl_mem_driver);MODULE_DESCRIPTION ("CXL: Memory Expansion" );MODULE_LICENSE ("GPL v2" ); -MODULE_IMPORT_NS (CXL ); +MODULE_IMPORT_NS ("CXL" );MODULE_ALIAS_CXL (CXL_DEVICE_MEMORY_EXPANDER );/* * create_endpoint() wants to validate port driver attach immediately after
drivers/cxl/pci.c +1 -1
@@ -1093,4 +1093,4 @@ module_init(cxl_pci_driver_init);module_exit (cxl_pci_driver_exit);MODULE_DESCRIPTION ("CXL: PCI manageability" );MODULE_LICENSE ("GPL v2" ); -MODULE_IMPORT_NS (CXL ); +MODULE_IMPORT_NS ("CXL" );
drivers/cxl/pmem.c +1 -1
@@ -459,7 +459,7 @@ MODULE_DESCRIPTION("CXL PMEM: Persistent Memory Support");MODULE_LICENSE ("GPL v2" );module_init (cxl_pmem_init);module_exit (cxl_pmem_exit); -MODULE_IMPORT_NS (CXL ); +MODULE_IMPORT_NS ("CXL" );MODULE_ALIAS_CXL (CXL_DEVICE_NVDIMM_BRIDGE );MODULE_ALIAS_CXL (CXL_DEVICE_NVDIMM );MODULE_ALIAS_CXL (CXL_DEVICE_PMEM_REGION );
drivers/cxl/port.c +1 -1
@@ -226,5 +226,5 @@ module_exit(cxl_port_exit);MODULE_DESCRIPTION ("CXL: Port enumeration and services" );MODULE_LICENSE ("GPL v2" ); -MODULE_IMPORT_NS (CXL ); +MODULE_IMPORT_NS ("CXL" );MODULE_ALIAS_CXL (CXL_DEVICE_PORT );
drivers/dax/cxl.c +1 -1
@@ -46,4 +46,4 @@ MODULE_ALIAS_CXL(CXL_DEVICE_DAX_REGION);MODULE_DESCRIPTION ("CXL DAX: direct access to CXL regions" );MODULE_LICENSE ("GPL" );MODULE_AUTHOR ("Intel Corporation" ); -MODULE_IMPORT_NS (CXL ); +MODULE_IMPORT_NS ("CXL" );
drivers/dma-buf/dma-buf.c +21 -21
168 lines not on this page · raw message
drivers/dma/idxd/compat.c +1 -1
@@ -103,4 +103,4 @@ struct idxd_device_driver dsa_drv = { };module_idxd_driver (dsa_drv); -MODULE_IMPORT_NS (IDXD ); +MODULE_IMPORT_NS ("IDXD" );
drivers/dma/idxd/device.c +7 -7
@@ -161,7 +161,7 @@ int idxd_wq_alloc_resources(struct idxd_wq *wq)free_hw_descs (wq);return rc; } -EXPORT_SYMBOL_NS_GPL (idxd_wq_alloc_resources,IDXD ); +EXPORT_SYMBOL_NS_GPL (idxd_wq_alloc_resources,"IDXD" );void idxd_wq_free_resources (struct idxd_wq *wq) {
@@ -175,7 +175,7 @@ void idxd_wq_free_resources(struct idxd_wq *wq)dma_free_coherent (dev, wq->compls_size, wq->compls, wq->compls_addr);sbitmap_queue_free (&wq->sbq); } -EXPORT_SYMBOL_NS_GPL (idxd_wq_free_resources,IDXD ); +EXPORT_SYMBOL_NS_GPL (idxd_wq_free_resources,"IDXD" );int idxd_wq_enable (struct idxd_wq *wq) {
@@ -407,7 +407,7 @@ int idxd_wq_init_percpu_ref(struct idxd_wq *wq)reinit_completion (&wq->wq_resurrect);return 0 ; } -EXPORT_SYMBOL_NS_GPL (idxd_wq_init_percpu_ref,IDXD ); +EXPORT_SYMBOL_NS_GPL (idxd_wq_init_percpu_ref,"IDXD" );void __idxd_wq_quiesce (struct idxd_wq *wq) {
@@ -417,7 +417,7 @@ void __idxd_wq_quiesce(struct idxd_wq *wq)complete_all (&wq->wq_resurrect);wait_for_completion (&wq->wq_dead); } -EXPORT_SYMBOL_NS_GPL (__idxd_wq_quiesce,IDXD ); +EXPORT_SYMBOL_NS_GPL (__idxd_wq_quiesce,"IDXD" );void idxd_wq_quiesce (struct idxd_wq *wq) {
@@ -425,7 +425,7 @@ void idxd_wq_quiesce(struct idxd_wq *wq)__idxd_wq_quiesce (wq);mutex_unlock (&wq->wq_lock); } -EXPORT_SYMBOL_NS_GPL (idxd_wq_quiesce,IDXD ); +EXPORT_SYMBOL_NS_GPL (idxd_wq_quiesce,"IDXD" );/* Device control bits */ static inline bool idxd_is_enabled (struct idxd_device *idxd)
@@ -1494,7 +1494,7 @@ int idxd_drv_enable_wq(struct idxd_wq *wq) err:return rc; } -EXPORT_SYMBOL_NS_GPL (idxd_drv_enable_wq,IDXD ); +EXPORT_SYMBOL_NS_GPL (idxd_drv_enable_wq,"IDXD" );void idxd_drv_disable_wq (struct idxd_wq *wq) {
@@ -1516,7 +1516,7 @@ void idxd_drv_disable_wq(struct idxd_wq *wq) wq->type =IDXD_WQT_NONE ; wq->client_count =0 ; } -EXPORT_SYMBOL_NS_GPL (idxd_drv_disable_wq,IDXD ); +EXPORT_SYMBOL_NS_GPL (idxd_drv_disable_wq,"IDXD" );int idxd_device_drv_probe (struct idxd_dev *idxd_dev) {
drivers/dma/idxd/init.c +1 -1
@@ -25,7 +25,7 @@ MODULE_VERSION(IDXD_DRIVER_VERSION);MODULE_DESCRIPTION ("Intel Data Streaming Accelerator and In-Memory Analytics Accelerator common driver" );MODULE_LICENSE ("GPL v2" );MODULE_AUTHOR ("Intel Corporation" ); -MODULE_IMPORT_NS (IDXD ); +MODULE_IMPORT_NS ("IDXD" );static bool sva = true;module_param (sva, bool,0644 );
drivers/dma/idxd/submit.c +3 -3
@@ -61,7 +61,7 @@ struct idxd_desc *idxd_alloc_desc(struct idxd_wq *wq, enum idxd_op_type optype)return __get_desc (wq, idx, cpu); } -EXPORT_SYMBOL_NS_GPL (idxd_alloc_desc,IDXD ); +EXPORT_SYMBOL_NS_GPL (idxd_alloc_desc,"IDXD" );void idxd_free_desc (struct idxd_wq *wq,struct idxd_desc *desc) {
@@ -70,7 +70,7 @@ void idxd_free_desc(struct idxd_wq *wq, struct idxd_desc *desc) desc->cpu =-1 ;sbitmap_queue_clear (&wq->sbq, desc->id, cpu); } -EXPORT_SYMBOL_NS_GPL (idxd_free_desc,IDXD ); +EXPORT_SYMBOL_NS_GPL (idxd_free_desc,"IDXD" );static struct idxd_desc *list_abort_desc (struct idxd_wq *wq,struct idxd_irq_entry *ie,struct idxd_desc *desc)
@@ -219,4 +219,4 @@ int idxd_submit_desc(struct idxd_wq *wq, struct idxd_desc *desc)percpu_ref_put (&wq->wq_active);return 0 ; } -EXPORT_SYMBOL_NS_GPL (idxd_submit_desc,IDXD ); +EXPORT_SYMBOL_NS_GPL (idxd_submit_desc,"IDXD" );
drivers/firmware/cirrus/cs_dsp.c +34 -34
268 lines not on this page · raw message
drivers/firmware/efi/efi-pstore.c +1 -1
@@ -6,7 +6,7 @@#include <linux/slab.h> #include <linux/ucs2_string.h> -MODULE_IMPORT_NS (EFIVAR ); +MODULE_IMPORT_NS ("EFIVAR" );#define DUMP_NAME_LEN 66
drivers/firmware/efi/embedded-firmware.c +2 -2
@@ -16,9 +16,9 @@/* Exported for use by lib/test_firmware.c only */ LIST_HEAD (efi_embedded_fw_list); -EXPORT_SYMBOL_NS_GPL (efi_embedded_fw_list,TEST_FIRMWARE ); +EXPORT_SYMBOL_NS_GPL (efi_embedded_fw_list,"TEST_FIRMWARE" );bool efi_embedded_fw_checked; -EXPORT_SYMBOL_NS_GPL (efi_embedded_fw_checked,TEST_FIRMWARE ); +EXPORT_SYMBOL_NS_GPL (efi_embedded_fw_checked,"TEST_FIRMWARE" );static const struct dmi_system_id *const embedded_fw_table[] = { #ifdef CONFIG_TOUCHSCREEN_DMI
drivers/firmware/efi/vars.c +8 -8
@@ -149,7 +149,7 @@ int efivar_lock(void) }return 0 ; } -EXPORT_SYMBOL_NS_GPL (efivar_lock,EFIVAR ); +EXPORT_SYMBOL_NS_GPL (efivar_lock,"EFIVAR" );/* * efivar_lock() - obtain the efivar lock if it is free
@@ -165,7 +165,7 @@ int efivar_trylock(void) }return 0 ; } -EXPORT_SYMBOL_NS_GPL (efivar_trylock,EFIVAR ); +EXPORT_SYMBOL_NS_GPL (efivar_trylock,"EFIVAR" );/* * efivar_unlock() - release the efivar lock
@@ -174,7 +174,7 @@ void efivar_unlock(void) {up (&efivars_lock); } -EXPORT_SYMBOL_NS_GPL (efivar_unlock,EFIVAR ); +EXPORT_SYMBOL_NS_GPL (efivar_unlock,"EFIVAR" );/* * efivar_get_variable() - retrieve a variable identified by name/vendor
@@ -186,7 +186,7 @@ efi_status_t efivar_get_variable(efi_char16_t *name, efi_guid_t *vendor, {return __efivars->ops->get_variable (name, vendor, attr, size, data); } -EXPORT_SYMBOL_NS_GPL (efivar_get_variable,EFIVAR ); +EXPORT_SYMBOL_NS_GPL (efivar_get_variable,"EFIVAR" );/* * efivar_get_next_variable() - enumerate the next name/vendor pair
@@ -198,7 +198,7 @@ efi_status_t efivar_get_next_variable(unsigned long *name_size, {return __efivars->ops->get_next_variable (name_size, name, vendor); } -EXPORT_SYMBOL_NS_GPL (efivar_get_next_variable,EFIVAR ); +EXPORT_SYMBOL_NS_GPL (efivar_get_next_variable,"EFIVAR" );/* * efivar_set_variable_locked() - set a variable identified by name/vendor
@@ -230,7 +230,7 @@ efi_status_t efivar_set_variable_locked(efi_char16_t *name, efi_guid_t *vendor,return setvar (name, vendor, attr, data_size, data); } -EXPORT_SYMBOL_NS_GPL (efivar_set_variable_locked,EFIVAR ); +EXPORT_SYMBOL_NS_GPL (efivar_set_variable_locked,"EFIVAR" );/* * efivar_set_variable() - set a variable identified by name/vendor
@@ -252,7 +252,7 @@ efi_status_t efivar_set_variable(efi_char16_t *name, efi_guid_t *vendor,efivar_unlock ();return status; } -EXPORT_SYMBOL_NS_GPL (efivar_set_variable,EFIVAR ); +EXPORT_SYMBOL_NS_GPL (efivar_set_variable,"EFIVAR" );
Lines of this file are not shown. View the raw message.
drivers/fpga/intel-m10-bmc-sec-update.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/drm_gem_framebuffer_helper.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/etnaviv/etnaviv_gem_prime.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/exynos/exynos_drm_gem.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/intel_gvt.c +37 -37
74 lines not on this page · raw message
drivers/gpu/drm/i915/intel_gvt_mmio_table.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/xe/tests/xe_live_test_mod.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/hwmon/pmbus/delta-ahe50dc-fan.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/hwmon/pmbus/pmbus_core.c +21 -21
42 lines not on this page · raw message
drivers/i2c/busses/i2c-designware-master.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/i2c/busses/i2c-designware-pcidrv.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/i2c/busses/i2c-designware-platdrv.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/i2c/busses/i2c-designware-slave.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/iio/accel/hid-sensor-accel-3d.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/iio/buffer/industrialio-buffer-dma.c +18 -18
Lines of this file are not shown. View the raw message.
drivers/iio/buffer/industrialio-buffer-dmaengine.c +4 -4
Lines of this file are not shown. View the raw message.
drivers/iio/common/hid-sensors/hid-sensor-attributes.c +13 -13
Lines of this file are not shown. View the raw message.
drivers/iio/common/hid-sensors/hid-sensor-trigger.c +5 -5
Lines of this file are not shown. View the raw message.
drivers/iio/common/inv_sensors/inv_sensors_timestamp.c +4 -4
Lines of this file are not shown. View the raw message.
drivers/iio/common/ms_sensors/ms_sensors_i2c.c +12 -12
Lines of this file are not shown. View the raw message.
drivers/iio/common/ssp_sensors/ssp_dev.c +5 -5
Lines of this file are not shown. View the raw message.
drivers/iio/common/ssp_sensors/ssp_iio.c +4 -4
Lines of this file are not shown. View the raw message.
drivers/iio/common/st_sensors/st_sensors_buffer.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/iio/common/st_sensors/st_sensors_core.c +14 -14
Lines of this file are not shown. View the raw message.
drivers/iio/common/st_sensors/st_sensors_i2c.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/iio/common/st_sensors/st_sensors_spi.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/iio/common/st_sensors/st_sensors_trigger.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/iio/humidity/hid-sensor-humidity.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/iio/imu/bno055/bno055_ser_core.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/iio/imu/inv_icm42600/inv_icm42600_core.c +3 -3
Lines of this file are not shown. View the raw message.
drivers/iio/imu/inv_icm42600/inv_icm42600_i2c.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/iio/imu/inv_icm42600/inv_icm42600_spi.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/iio/imu/inv_mpu6050/inv_mpu_core.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/iio/imu/inv_mpu6050/inv_mpu_spi.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i3c.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_spi.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/iio/imu/st_lsm9ds0/st_lsm9ds0_core.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/iio/imu/st_lsm9ds0/st_lsm9ds0_i2c.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/iio/imu/st_lsm9ds0/st_lsm9ds0_spi.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/iio/industrialio-backend.c +24 -24
48 lines not on this page · raw message
drivers/iio/industrialio-gts-helper.c +13 -13
Lines of this file are not shown. View the raw message.
drivers/iio/magnetometer/bmc150_magn_i2c.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/iio/magnetometer/bmc150_magn_spi.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/iio/magnetometer/hid-sensor-magn-3d.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/iio/magnetometer/hmc5843_core.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/iio/magnetometer/st_magn_core.c +3 -3
Lines of this file are not shown. View the raw message.
drivers/iio/orientation/hid-sensor-incl-3d.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/iio/orientation/hid-sensor-rotation.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/iio/position/hid-sensor-custom-intel-hinge.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/iio/pressure/hid-sensor-press.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/iio/pressure/st_pressure_core.c +3 -3
Lines of this file are not shown. View the raw message.
drivers/iio/temperature/hid-sensor-temperature.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-test.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/media/common/videobuf2/videobuf2-core.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/media/common/videobuf2/videobuf2-dma-contig.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/media/common/videobuf2/videobuf2-dma-sg.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/media/common/videobuf2/videobuf2-vmalloc.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/media/pci/intel/ipu3/ipu3-cio2.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/media/pci/intel/ipu6/ipu6-buttress.c +6 -6
Lines of this file are not shown. View the raw message.
drivers/media/pci/intel/ipu6/ipu6-cpd.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/media/pci/intel/ipu6/ipu6-fw-com.c +9 -9
Lines of this file are not shown. View the raw message.
drivers/media/pci/intel/ipu6/ipu6-isys.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/media/pci/intel/ipu6/ipu6-mmu.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/media/platform/nvidia/tegra-vde/dmabuf-cache.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/dsa/realtek/rtl8366-core.c +11 -11
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/i40e/i40e_main.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/iavf/iavf_main.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/ice/ice_main.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/idpf/idpf_main.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/microsoft/mana/gdma_main.c +6 -6
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/microsoft/mana/mana_en.c +5 -5
Lines of this file are not shown. View the raw message.
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bca/module.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.h +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cyw/module.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/broadcom/brcm80211/brcmfmac/wcc/module.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/dvm/main.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/iwl-drv.h +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/ops.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/tests/links.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/tests/scan.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/tests/devinfo.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/pinctrl/intel/pinctrl-alderlake.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/pinctrl/intel/pinctrl-baytrail.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/pinctrl/intel/pinctrl-broxton.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/pinctrl/intel/pinctrl-cannonlake.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/pinctrl/intel/pinctrl-cedarfork.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/pinctrl/intel/pinctrl-cherryview.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/pinctrl/intel/pinctrl-denverton.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/pinctrl/intel/pinctrl-elkhartlake.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/pinctrl/intel/pinctrl-emmitsburg.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/pinctrl/intel/pinctrl-geminilake.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/pinctrl/intel/pinctrl-icelake.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/pinctrl/intel/pinctrl-intel-platform.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/pinctrl/intel/pinctrl-intel.c +11 -11
Lines of this file are not shown. View the raw message.
drivers/pinctrl/intel/pinctrl-jasperlake.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/pinctrl/intel/pinctrl-lakefield.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/pinctrl/intel/pinctrl-lewisburg.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/pinctrl/intel/pinctrl-lynxpoint.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/pinctrl/intel/pinctrl-merrifield.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/pinctrl/intel/pinctrl-meteorlake.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/pinctrl/intel/pinctrl-meteorpoint.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/pinctrl/intel/pinctrl-moorefield.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/pinctrl/intel/pinctrl-sunrisepoint.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/pinctrl/intel/pinctrl-tangier.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/pinctrl/intel/pinctrl-tigerlake.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/platform/x86/intel/intel_plr_tpmi.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/platform/x86/intel/pmc/core_ssram.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/platform/x86/intel/pmt/crashlog.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/platform/x86/intel/pmt/telemetry.c +8 -8
Lines of this file are not shown. View the raw message.
drivers/platform/x86/intel/speed_select_if/isst_tpmi.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/platform/x86/intel/speed_select_if/isst_tpmi_core.c +8 -8
Lines of this file are not shown. View the raw message.
drivers/platform/x86/intel/tpmi_power_domains.c +4 -4
Lines of this file are not shown. View the raw message.
drivers/platform/x86/intel/uncore-frequency/uncore-frequency-common.c +4 -4
Lines of this file are not shown. View the raw message.
drivers/platform/x86/intel/uncore-frequency/uncore-frequency-tpmi.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/platform/x86/intel/uncore-frequency/uncore-frequency.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/staging/media/atomisp/pci/atomisp_v4l2.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/thermal/intel/int340x_thermal/processor_thermal_device.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/thermal/intel/int340x_thermal/processor_thermal_mbox.c +3 -3
Lines of this file are not shown. View the raw message.
drivers/thermal/intel/int340x_thermal/processor_thermal_power_floor.c +6 -6
Lines of this file are not shown. View the raw message.
drivers/thermal/intel/int340x_thermal/processor_thermal_rfim.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/thermal/intel/int340x_thermal/processor_thermal_wt_hint.c +5 -5
Lines of this file are not shown. View the raw message.
drivers/thermal/intel/int340x_thermal/processor_thermal_wt_req.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/thermal/intel/intel_powerclamp.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/thermal/intel/intel_soc_dts_iosf.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/thermal/intel/intel_tcc_cooling.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/thermal/intel/x86_pkg_temp_thermal.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/tty/serial/8250/8250_pci1xxxx.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/video/backlight/ktd2801-backlight.c +1 -1
Lines of this file are not shown. View the raw message.
scripts/coccinelle/misc/add_namespace.cocci +2 -2
Lines of this file are not shown. View the raw message.
sound/soc/codecs/cs35l56-shared.c +26 -26
52 lines not on this page · raw message
sound/soc/intel/boards/hda_dsp_common.c +1 -1
Lines of this file are not shown. View the raw message.
sound/soc/intel/boards/skl_hda_dsp_generic.c +1 -1
Lines of this file are not shown. View the raw message.
sound/soc/intel/boards/sof_board_helpers.c +5 -5
Lines of this file are not shown. View the raw message.
sound/soc/intel/boards/sof_cirrus_common.c +2 -2
Lines of this file are not shown. View the raw message.
sound/soc/intel/boards/sof_maxim_common.c +6 -6
Lines of this file are not shown. View the raw message.
sound/soc/intel/boards/sof_nuvoton_common.c +1 -1
Lines of this file are not shown. View the raw message.
sound/soc/intel/boards/sof_realtek_common.c +8 -8
Lines of this file are not shown. View the raw message.
sound/soc/intel/common/soc-acpi-intel-ssp-common.c +5 -5
Lines of this file are not shown. View the raw message.
sound/soc/sdw_utils/soc_sdw_bridge_cs35l56.c +3 -3
Lines of this file are not shown. View the raw message.
sound/soc/sdw_utils/soc_sdw_rt712_sdca.c +1 -1
Lines of this file are not shown. View the raw message.
sound/soc/sdw_utils/soc_sdw_rt722_sdca.c +1 -1
Lines of this file are not shown. View the raw message.
sound/soc/sdw_utils/soc_sdw_rt_sdca_jack_common.c +3 -3
Lines of this file are not shown. View the raw message.
sound/soc/sdw_utils/soc_sdw_utils.c +21 -21
42 lines not on this page · raw message
sound/soc/sof/intel/hda-dsp.c +31 -31
62 lines not on this page · raw message
sound/soc/sof/intel/hda-mlink.c +33 -33
66 lines not on this page · raw message
sound/soc/sof/sof-client-ipc-flood-test.c +1 -1
Lines of this file are not shown. View the raw message.
sound/soc/sof/sof-client-ipc-kernel-injector.c +1 -1
Lines of this file are not shown. View the raw message.
sound/soc/sof/sof-client-ipc-msg-injector.c +1 -1
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Part of the diff is not shown here. View the raw message.
Quoted 2 lines · Peter Zijlstra
It reserves and disallows imports on any "MODULE_${name}" namespace, while it implicitly adds the same namespace to every module.
Ah nice. This is pretty similar to what I want and had badly prototyped a while ago.
Quoted 4 lines
This allows exports targeted at specific modules and no others -- one random example included. I've hated the various kvm exports we've had for a while, and strictly limiting them to the kvm module helps alleviate some abuse potential.
And this was one of the targets on my list. Specific kunits tests would be another category.
Quoted 1 line
+EXPORT_SYMBOL_NS_GPL(fpu_swap_kvm_fpstate,
MODULE_kvm);
I would have preferred a syntax that has the MODULE in the export macro instead of the namespace, but I do care more about actually having the functionality, and this seems way simpler than what I had.
Geert Uytterhoeven
reviewerQuoted 7 lines · Christoph Hellwig
Quoted 2 lines · Peter Zijlstra
It reserves and disallows imports on any "MODULE_${name}" namespace, while it implicitly adds the same namespace to every module.
Ah nice. This is pretty similar to what I want and had badly prototyped a while ago.
Quoted 7 lines
Quoted 4 lines
This allows exports targeted at specific modules and no others -- one random example included. I've hated the various kvm exports we've had for a while, and strictly limiting them to the kvm module helps alleviate some abuse potential.
And this was one of the targets on my list. Specific kunits tests would be another category.
Indeed. E.g. making the scsi_lib KUnit tests modular would require exporting an internal symbol[1], which the SCSI maintainers don't like.
[1] "[PATCH] scsi: core: Make scsi_lib KUnit tests modular for real"
https://lore.kernel.org/all/48ca5e827ca420bbdbabb1643e2179dc95c9e0b7.1710849638.git.geert@linux-m68k.org/
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
Greg KH
maintainerQuoted 6 lines · Peter Zijlstra
Hi,
I've been wanting $topic for a while, and having just stumbled into the whole namespace thing by accident, I figured I'd give it a go, most if the hard parts seem to have already been done.
Quoted 7 lines
It reserves and disallows imports on any "MODULE_${name}" namespace, while it implicitly adds the same namespace to every module.
This allows exports targeted at specific modules and no others -- one random example included. I've hated the various kvm exports we've had for a while, and strictly limiting them to the kvm module helps alleviate some abuse potential.
Very nice! I like it too, no objection from me, should make it easier to clean up a lot of stuff.
greg k-h
Quoted 120 lines · Peter Zijlstra
Hi,
I've been wanting $topic for a while, and having just stumbled into the whole namespace thing by accident, I figured I'd give it a go, most if the hard parts seem to have already been done.
It reserves and disallows imports on any "MODULE_${name}" namespace, while it implicitly adds the same namespace to every module.
This allows exports targeted at specific modules and no others -- one random example included. I've hated the various kvm exports we've had for a while, and strictly limiting them to the kvm module helps alleviate some abuse potential.
--- arch/x86/kernel/fpu/core.c | 2 +- kernel/module/main.c | 28 ++++++++++++++++++++++++++-- scripts/mod/modpost.c | 29 ++++++++++++++++++++--------- 3 files changed, 47 insertions(+), 12 deletions(-)arch/x86/kernel/fpu/core.c +1
-1@@ -366,7 +366,7 @@ int fpu_swap_kvm_fpstate(struct fpu_guest *guest_fpu, bool enter_guest)fpregs_unlock ();return 0 ; } -EXPORT_SYMBOL_GPL (fpu_swap_kvm_fpstate); +EXPORT_SYMBOL_NS_GPL (fpu_swap_kvm_fpstate, MODULE_kvm);void fpu_copy_guest_fpstate_to_uabi (struct fpu_guest *gfpu,void *buf,unsigned int size,u64 xfeatures,u32 pkru)kernel/module/main.c +26
-2@@ -1070,6 +1070,13 @@ static int verify_namespace_is_imported(const struct load_info *info, namespace =kernel_symbol_namespace (sym);if (namespace && namespace[0 ]) { +/* +* Implicitly import MODULE_${mod->name} namespace. +*/ +if (strncmp (namespace,"MODULE_" ,7 ) ==0 && +strcmp (namespace+7 , mod->name) ==0 ) +return 0 ; +for_each_modinfo_entry (imported_namespace, info,"import_ns" ) {if (strcmp (namespace, imported_namespace) ==0 )return 0 ;@@ -1613,15 +1620,30 @@ static void module_license_taint_check(struct module *mod, const char *license) } } -static void setup_modinfo (struct module *mod,struct load_info *info) +static int setup_modinfo (struct module *mod,struct load_info *info) {struct module_attribute *attr; +char *imported_namespace;int i;for (i =0 ; (attr = modinfo_attrs[i]); i++) {if (attr->setup) attr->setup (mod,get_modinfo (info, attr->attr.name)); } + +for_each_modinfo_entry (imported_namespace, info,"import_ns" ) { +/* +* 'MODULE_' prefixed namespaces are implicit, disallow +* explicit imports. +*/ +if (strstarts (imported_namespace,"MODULE_" )) { +pr_err ("%s: module tries to import module namespace: %s\n" , + mod->name, imported_namespace); +return -EPERM ; + } + } + +return 0 ; }static void free_modinfo (struct module *mod)@@ -2935,7 +2957,9 @@ static int load_module(struct load_info *info, const char __user *uargs, goto free_unload;/* Set up MODINFO_ATTR fields */ -setup_modinfo (mod, info); + err =setup_modinfo (mod, info); +if (err) + goto free_modinfo;/* Fix up syms, so that st_value is a pointer to location. */ err =simplify_symbols (mod, info);scripts/mod/modpost.c +11
-0@@ -1553,8 +1553,19 @@ static void mod_set_crcs(struct module *mod)free (buf); } +static const char *mod_basename (const char *modname) +{ +const char *basename =strrchr (modname,'/' ); +if (basename) + basename++; +else + basename = modname; +return basename; +} +static void read_symbols (const char *modname) { +char module_namespace[MODULE_NAME_LEN +8 ];const char *symname;char *version;char *license;
scripts/mod/modpost.c static void read_symbols(const char *modname) · line 1601
Quoted 7 lines
scripts/mod/modpost.c +2
-2@@ -1586,12 +1597,16 @@ static void read_symbols(const char *modname) license =get_next_modinfo (&info,"license" , license); } - namespace =get_modinfo (&info,"import_ns" ); -while (namespace) { +for (namespace =get_modinfo (&info,"import_ns" ); namespace; + namespace =get_next_modinfo (&info,"import_ns" , namespace)) {
The conversion from while() to for() is an unrelated change. Split it to a separate patch if you want to change it.
Quoted 14 lines
scripts/mod/modpost.c +6
-2+if (strstarts (namespace,"MODULE_" )) +error ("importing implicit module namespace: %s\n" , namespace); +add_namespace (&mod->imported_namespaces, namespace); - namespace =get_next_modinfo (&info,"import_ns" , - namespace); } +snprintf (module_namespace,sizeof (module_namespace),"MODULE_%s" , +mod_basename (mod->name)); +add_namespace (&mod->imported_namespaces, module_namespace);if (extra_warn && !get_modinfo (&info,"description" ))warn ("missing MODULE_DESCRIPTION() in %s\n" , modname);
scripts/mod/modpost.c static void check_exports(struct module *mod) · line 1718
Quoted 9 lines
scripts/mod/modpost.c +1
-5@@ -1700,11 +1715,7 @@ static void check_exports(struct module *mod) s->crc_valid = exp->crc_valid; s->crc = exp->crc; - basename =strrchr (mod->name,'/' ); -if (basename) - basename++; -else - basename = mod->name; + basename =mod_basename (mod->name);
This is an unrelated change.
So, it should be split into a separate prerequisite patch, something like, "modpost: introduce mod_basename() helper"
Quoted 2 lines
scripts/mod/modpost.c +0
-0if (!contains_namespace (&mod->imported_namespaces, exp->namespace)) { modpost_log(!allow_missing_ns_imports,
Signature · 2 lines
Best Regards Masahiro Yamada
Peter Zijlstra
maintainerQuoted 28 lines · Masahiro Yamada
Quoted 28 lines
scripts/mod/modpost.c +11
-0@@ -1553,8 +1553,19 @@ static void mod_set_crcs(struct module *mod)free (buf); } +static const char *mod_basename (const char *modname) +{ +const char *basename =strrchr (modname,'/' ); +if (basename) + basename++; +else + basename = modname; +return basename; +} +static void read_symbols (const char *modname) { +char module_namespace[MODULE_NAME_LEN +8 ];const char *symname;char *version;char *license;@@ -1586,12 +1597,16 @@ static void read_symbols(const char *modname) license =get_next_modinfo (&info,"license" , license); }
Quoted 7 lines
scripts/mod/modpost.c static void read_symbols(const char *modname) · line 1601
Quoted 4 lines
scripts/mod/modpost.c +2
-2- namespace =get_modinfo (&info,"import_ns" ); -while (namespace) { +for (namespace =get_modinfo (&info,"import_ns" ); namespace; + namespace =get_next_modinfo (&info,"import_ns" , namespace)) {The conversion from
while()tofor()is an unrelated change. Split it to a separate patch if you want to change it.
Yeah, at some point I had a break or continue in there I think, it didn't live. If you like I can keep it a split it out.
Quoted 9 lines
scripts/mod/modpost.c static void read_symbols(const char *modname) · line 1608
Quoted 9 lines
scripts/mod/modpost.c +5
-2+if (strstarts (namespace,"MODULE_" )) +error ("importing implicit module namespace: %s\n" , namespace); +add_namespace (&mod->imported_namespaces, namespace); - namespace =get_next_modinfo (&info,"import_ns" , - namespace); } +snprintf (module_namespace,sizeof (module_namespace),"MODULE_%s" , +mod_basename (mod->name));
.. here ..
Quoted 8 lines
Quoted 8 lines
scripts/mod/modpost.c +1
-0+add_namespace (&mod->imported_namespaces, module_namespace);if (extra_warn && !get_modinfo (&info,"description" ))warn ("missing MODULE_DESCRIPTION() in %s\n" , modname);@@ -1700,11 +1715,7 @@ static void check_exports(struct module *mod) s->crc_valid = exp->crc_valid; s->crc = exp->crc;
Quoted 8 lines
scripts/mod/modpost.c static void check_exports(struct module *mod) · line 1718
Quoted 6 lines
scripts/mod/modpost.c +1
-5- basename =strrchr (mod->name,'/' ); -if (basename) - basename++; -else - basename = mod->name; + basename =mod_basename (mod->name);This is an unrelated change.
Hardly unrelated, I added a second usage above. So you're saying I should've just copy pasted the whole thing and then it would've been fine?
Quoted 2 lines
So, it should be split into a separate prerequisite patch, something like, "modpost: introduce
mod_basename()helper"
Well, I can...
Anyway, let me see about doing that whole ',' parsing thing people seem to want.
Peter Zijlstra
maintainerQuoted 2 lines · Peter Zijlstra
Anyway, let me see about doing that whole ',' parsing thing people seem to want.
git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git module/namespace
Seems to work with very limited testing.
H. Peter Anvin
reviewerQuoted 142 lines · Peter Zijlstra
Hi,
I've been wanting $topic for a while, and having just stumbled into the whole namespace thing by accident, I figured I'd give it a go, most if the hard parts seem to have already been done.
It reserves and disallows imports on any "MODULE_${name}" namespace, while it implicitly adds the same namespace to every module.
This allows exports targeted at specific modules and no others -- one random example included. I've hated the various kvm exports we've had for a while, and strictly limiting them to the kvm module helps alleviate some abuse potential.
---
arch/x86/kernel/fpu/core.c | 2 +- kernel/module/main.c | 28 ++++++++++++++++++++++++++-- scripts/mod/modpost.c | 29 ++++++++++++++++++++--------- 3 files changed, 47 insertions(+), 12 deletions(-)arch/x86/kernel/fpu/core.c +1
-1@@ -366,7 +366,7 @@ int fpu_swap_kvm_fpstate(struct fpu_guest *guest_fpu, bool enter_guest)fpregs_unlock ();return 0 ; } -EXPORT_SYMBOL_GPL (fpu_swap_kvm_fpstate); +EXPORT_SYMBOL_NS_GPL (fpu_swap_kvm_fpstate, MODULE_kvm);void fpu_copy_guest_fpstate_to_uabi (struct fpu_guest *gfpu,void *buf,unsigned int size,u64 xfeatures,u32 pkru)kernel/module/main.c +26
-2@@ -1070,6 +1070,13 @@ static int verify_namespace_is_imported(const struct load_info *info, namespace =kernel_symbol_namespace (sym);if (namespace && namespace[0 ]) { +/* +* Implicitly import MODULE_${mod->name} namespace. +*/ +if (strncmp (namespace,"MODULE_" ,7 ) ==0 && +strcmp (namespace+7 , mod->name) ==0 ) +return 0 ; +for_each_modinfo_entry (imported_namespace, info,"import_ns" ) {if (strcmp (namespace, imported_namespace) ==0 )return 0 ;@@ -1613,15 +1620,30 @@ static void module_license_taint_check(struct module *mod, const char *license) } } -static void setup_modinfo (struct module *mod,struct load_info *info) +static int setup_modinfo (struct module *mod,struct load_info *info) {struct module_attribute *attr; +char *imported_namespace;int i;for (i =0 ; (attr = modinfo_attrs[i]); i++) {if (attr->setup) attr->setup (mod,get_modinfo (info, attr->attr.name)); } + +for_each_modinfo_entry (imported_namespace, info,"import_ns" ) { +/* +* 'MODULE_' prefixed namespaces are implicit, disallow +* explicit imports. +*/ +if (strstarts (imported_namespace,"MODULE_" )) { +pr_err ("%s: module tries to import module namespace: %s\n" , + mod->name, imported_namespace); +return -EPERM ; + } + } + +return 0 ; }static void free_modinfo (struct module *mod)@@ -2935,7 +2957,9 @@ static int load_module(struct load_info *info, const char __user *uargs, goto free_unload;/* Set up MODINFO_ATTR fields */ -setup_modinfo (mod, info); + err =setup_modinfo (mod, info); +if (err) + goto free_modinfo;/* Fix up syms, so that st_value is a pointer to location. */ err =simplify_symbols (mod, info);scripts/mod/modpost.c +19
-4@@ -1553,8 +1553,19 @@ static void mod_set_crcs(struct module *mod)free (buf); } +static const char *mod_basename (const char *modname) +{ +const char *basename =strrchr (modname,'/' ); +if (basename) + basename++; +else + basename = modname; +return basename; +} +static void read_symbols (const char *modname) { +char module_namespace[MODULE_NAME_LEN +8 ];const char *symname;char *version;char *license;@@ -1586,12 +1597,16 @@ static void read_symbols(const char *modname) license =get_next_modinfo (&info,"license" , license); } - namespace =get_modinfo (&info,"import_ns" ); -while (namespace) { +for (namespace =get_modinfo (&info,"import_ns" ); namespace; + namespace =get_next_modinfo (&info,"import_ns" , namespace)) { +if (strstarts (namespace,"MODULE_" )) +error ("importing implicit module namespace: %s\n" , namespace); +add_namespace (&mod->imported_namespaces, namespace); - namespace =get_next_modinfo (&info,"import_ns" , - namespace); } +snprintf (module_namespace,sizeof (module_namespace),"MODULE_%s" , +mod_basename (mod->name)); +add_namespace (&mod->imported_namespaces, module_namespace);if (extra_warn && !get_modinfo (&info,"description" ))warn ("missing MODULE_DESCRIPTION() in %s\n" , modname);@@ -1700,11 +1715,7 @@ static void check_exports(struct module *mod) s->crc_valid = exp->crc_valid; s->crc = exp->crc;
scripts/mod/modpost.c static void check_exports(struct module *mod) · line 1721
Quoted 10 lines
scripts/mod/modpost.c +1
-5- basename =strrchr (mod->name,'/' ); -if (basename) - basename++; -else - basename = mod->name; + basename =mod_basename (mod->name);if (!contains_namespace (&mod->imported_namespaces, exp->namespace)) { modpost_log(!allow_missing_ns_imports,
I presume this only applies to code compiled as dynamic modules, not compiled into the kernel?
Peter Zijlstra
maintainerQuoted 11 lines · H. Peter Anvin
Quoted 11 lines
scripts/mod/modpost.c +1
-5@@ -1700,11 +1715,7 @@ static void check_exports(struct module *mod) s->crc_valid = exp->crc_valid; s->crc = exp->crc; - basename =strrchr (mod->name,'/' ); -if (basename) - basename++; -else - basename = mod->name; + basename =mod_basename (mod->name);
Quoted 4 lines
scripts/mod/modpost.c static void check_exports(struct module *mod) · line 1721
Quoted 2 lines
scripts/mod/modpost.c +0
-0if (!contains_namespace (&mod->imported_namespaces, exp->namespace)) { modpost_log(!allow_missing_ns_imports,I presume this only applies to code compiled as dynamic modules, not compiled into the kernel?
Yes, the built-in modules get the regular linker to resolve relocations. Nothing much we can do about that.