aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/ralink/irq.c
diff options
context:
space:
mode:
authorMohamed Khalfella <[email protected]>2023-07-14 20:33:41 +0000
committerSteven Rostedt (Google) <[email protected]>2023-07-23 11:18:52 -0400
commit4b8b3905165ef98386a3c06f196c85d21292d029 (patch)
treeb933f374abed4c2110ea812439482240bc728703 /arch/mips/ralink/irq.c
parent8a96c0288d0737ad77882024974c075345c72011 (diff)
tracing/histograms: Return an error if we fail to add histogram to hist_vars list
Commit 6018b585e8c6 ("tracing/histograms: Add histograms to hist_vars if they have referenced variables") added a check to fail histogram creation if save_hist_vars() failed to add histogram to hist_vars list. But the commit failed to set ret to failed return code before jumping to unregister histogram, fix it. Link: https://lore.kernel.org/linux-trace-kernel/[email protected] Cc: [email protected] Fixes: 6018b585e8c6 ("tracing/histograms: Add histograms to hist_vars if they have referenced variables") Signed-off-by: Mohamed Khalfella <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'arch/mips/ralink/irq.c')
0 files changed, 0 insertions, 0 deletions