mirror of
https://github.com/openharmony/kernel_linux_build.git
synced 2026-07-16 05:30:26 -04:00
kernel_build.py: add new ignore of sdhci-esdhc-imx.c
The following warning is native from linux open source, so ignore it: drivers/mmc/host/sdhci-esdhc-imx.c: warning: 'sdhci_esdhc_imx_probe_nondt' defined but not used Signed-off-by: Ma Feng <mafeng.ma@huawei.com>
This commit is contained in:
+1
-1
@@ -29,6 +29,7 @@ ignores = [
|
||||
"include/trace/trace_events.h: note: in expansion of macro",
|
||||
"mm/vmscan.c: warning: suggest parentheses around assignment used as truth value [-Wparentheses]",
|
||||
"lib/bitfield_kunit.c: warning: the frame size of \d+ bytes is larger than \d+ bytes",
|
||||
"drivers/mmc/host/sdhci-esdhc-imx.c: warning: 'sdhci_esdhc_imx_probe_nondt' defined but not used",
|
||||
]
|
||||
|
||||
|
||||
@@ -238,7 +239,6 @@ def make_j(arch, cross_compile, knl_path):
|
||||
return ret, f'"{make}" errors --> \n {errmsg}'
|
||||
elif len(errmsg) > 0:
|
||||
print(f'"{make}" warnings --> \n {errmsg}')
|
||||
print("\nbuild log:\n%s", errmsg)
|
||||
result = "success"
|
||||
reporter = Reporter(arch, knl_path)
|
||||
known_issue = "\nKnown issue:\n"
|
||||
|
||||
Reference in New Issue
Block a user