aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorChunyan Zhang <[email protected]>2019-08-26 15:29:27 +0800
committerGreg Kroah-Hartman <[email protected]>2019-09-04 12:43:55 +0200
commit99038fe75afaef59e20417d593a9d618d3ea14e6 (patch)
treef36c428effce9da529eadb61e16d142977e5eece /scripts/gcc-plugins/cyc_complexity_plugin.c
parentd2d8d4c049db46d7100b508764acad1e4f9547d3 (diff)
serial: sprd: check the right port and membase
When calling sprd_console_setup(), sprd_uart_port probably is NULL, we should check that first instead of checking its items directly. Also we should check membase to avoid accessing uart device before its initialization finished. Signed-off-by: Chunyan Zhang <[email protected]> Signed-off-by: Chunyan Zhang <[email protected]> Reviewed-by: Baolin Wang <[email protected]> Tested-by: Baolin Wang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions