Skip to content

ASoC: Intel: Use proper namespace identifiers#5410

Closed
naveen-manohar wants to merge 3 commits intothesofproject:topic/sof-devfrom
naveen-manohar:ns-correction
Closed

ASoC: Intel: Use proper namespace identifiers#5410
naveen-manohar wants to merge 3 commits intothesofproject:topic/sof-devfrom
naveen-manohar:ns-correction

Conversation

@naveen-manohar
Copy link

'EXPORT_SYMBOL_NS' expects namespace identifier directly, not as a string literal. Patch updates macro calls in sound/soc/sof/intel/hda-mlink.c
sound/soc/sof/intel/hda-sdw-bpt.c
sound/soc/sof/intel/mtl.c

Suggested-by: Bard Liao yung-chuan.liao@linux.intel.com

h2link->mic_privacy_mask = mask;
}
EXPORT_SYMBOL_NS(hdac_bus_eml_set_mic_privacy_mask, "SND_SOC_SOF_HDA_MLINK");
EXPORT_SYMBOL_NS(hdac_bus_eml_set_mic_privacy_mask, SND_SOC_SOF_HDA_MLINK);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, this is not correct, see:
cdd30eb ("module: Convert symbol namespace to string literal")

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@naveen-manohar This is only for your 6.12 kernel, not for topic/sof-dev branch

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ujfalusi Thanks for the info.
As the build fails on v6.12, for now i have posted a DONOT_MERGE series

…pers for SoundWire BPT DMA

Patch Applicable only on v6.12
'EXPORT_SYMBOL_NS' expects namespace identifier directly,
not as a string literal.
Patch Fixes:
ERROR: modpost: module snd-sof-intel-hda-sdw-bpt uses symbol hdac_bus_eml_sdw_map_stream_ch from namespace SND_SOC_SOF_HDA_MLINK, but does not import it.
ERROR: modpost: module snd-sof-intel-hda-sdw-bpt uses symbol hda_cl_prepare from namespace SND_SOC_SOF_INTEL_HDA_COMMON, but does not import it.
ERROR: modpost: module snd-sof-intel-hda-sdw-bpt uses symbol hdac_bus_eml_sdw_get_hlink from namespace SND_SOC_SOF_HDA_MLINK, but does not import it.
ERROR: modpost: module snd-sof-intel-hda-sdw-bpt uses symbol hda_cl_cleanup from namespace SND_SOC_SOF_INTEL_HDA_COMMON, but does not import it.
ERROR: modpost: module snd-sof-intel-hda-sdw-bpt uses symbol hda_cl_trigger from namespace SND_SOC_SOF_INTEL_HDA_COMMON, but does not import it.
ERROR: modpost: module snd-sof-intel-hda-sdw-bpt uses symbol hda_dsp_stream_get_position from namespace SND_SOC_SOF_INTEL_HDA_COMMON, but does not import it.

Patch updates macro calls in `sound/soc/sof/intel/da-sdw-bpt.c`
Fixes: 5d5cb86 ("ASoC: SOF: Intel: hda-sdw-bpt: add helpers for SoundWire BPT DMA")

Suggested-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Naveen Manohar <naveen.m@intel.com>
…rt for mic privacy in VS SHIM registers

Patch Applicable only on v6.12
'EXPORT_SYMBOL_NS' expects namespace identifier directly,
not as a string literal.
Patch Fixes:
sound/soc/sof/intel/snd-sof-intel-hda-mlink.mod.c:49:55: error: expected ')'

Patch updates macro calls in `sound/soc/sof/intel/hda-mlink.c`
Fixes: 0978e82 ("ASoC: SOF: Intel: hda-mlink: Add support for mic privacy in VS SHIM registers")

Signed-off-by: Naveen Manohar <naveen.m@intel.com>
…s setup code

Patch Applicable only on v6.12
'EXPORT_SYMBOL_NS' expects namespace identifier directly,
not as a string literal.
Patch Fixes:
sound/soc/sof/intel/snd-sof-pci-intel-mtl.mod.c:34:37: error: expected ')'

Patch updates macro calls in `sound/soc/sof/intel/mtl.c`
Fixes: 6982333 ("ASoC: SOF: Intel: mtl: Split up dsp_ops setup code")

Signed-off-by: Naveen Manohar <naveen.m@intel.com>
@naveen-manohar naveen-manohar force-pushed the ns-correction branch 2 times, most recently from 06b42dc to dd34212 Compare May 9, 2025 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants