aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2017-06-22 17:05:35 -0500
committerBorislav Petkov <[email protected]>2017-06-23 09:48:50 +0200
commitee514c7a2379385fcec363f2f5f8db4eb56bc48c (patch)
tree5a36ac3d8368dab11f80b94ab63863b86fdc84d7 /tools/perf/util/scripting-engines/trace-event-python.c
parentff0abed4922ffbd40dc4e5a78b8ea56a5eb68ec7 (diff)
EDAC, pnd2: Return proper error value from apl_rd_reg()
Add code comment to make it clear that the fall-through is intentional and, OR ret with its previous value to avoid overwriting it so that callers can check the correct return value. Signed-off-by: Gustavo A. R. Silva <[email protected]> Cc: Qiuxu Zhuo <[email protected]> Cc: Tony Luck <[email protected]> Cc: linux-edac <[email protected]> Link: http://lkml.kernel.org/r/20170622220535.GA4896@embeddedgus [ Massage a bit. ] Signed-off-by: Borislav Petkov <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions