Skip to contentSkip to conversation

regex/octeontx2: fix driver name

PATCH Applied Thomas Monjalon 1 participant 2 messages Oct 23, 2020 – Nov 3, 2020 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 regex/octeontx2: fix driver name

Following the recent alignment of all driver names, this new driver get unaligned:
librte_regex_octeontx2_regex.so

The 'fmt_name' must be "octeontx2_regex", and if not provided, is taken from the 'name' variable.
But the variable 'name' should not be overwritten, to keep the automatic value from the directory name.

The library name will be composed of the class directory and the driver directory name:
librte_regex_octeontx2.so

---
 drivers/regex/octeontx2/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/regex/octeontx2/meson.build +1 -1
index 398a981c07..aada0b5601 100644
@@ -38,7 +38,7 @@ foreach flag: extra_flags
 	endif
 endforeach
 
-name = 'octeontx2_regex'
+fmt_name = 'octeontx2_regex'
 deps += ['bus_pci', 'common_octeontx2', 'regexdev']
 
 includes += include_directories('../../common/octeontx2')
Signature · 1 line
2.28.0
author Applied
#1 lore raw

23/10/2020 19:41, Thomas Monjalon:

Quoted 9 lines

Following the recent alignment of all driver names, this new driver get unaligned:
librte_regex_octeontx2_regex.so

The 'fmt_name' must be "octeontx2_regex", and if not provided, is taken from the 'name' variable.
But the variable 'name' should not be overwritten, to keep the automatic value from the directory name.

Quoted 7 lines

The library name will be composed of the class directory and the driver directory name:
librte_regex_octeontx2.so

Applied