aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <[email protected]>2015-11-23 22:35:24 +0000
committerSteven Rostedt <[email protected]>2015-11-24 14:27:25 +0000
commitbd1b7cd360f529394936f28746eb4aaa12d6770a (patch)
tree7ff2c87020172dee449997bda223f1900b43a5f3 /drivers/fpga
parentring-buffer: Update read stamp with first real commit on page (diff)
downloadkernel-bd1b7cd360f529394936f28746eb4aaa12d6770a.tar.gz
kernel-bd1b7cd360f529394936f28746eb4aaa12d6770a.zip
ring-buffer: Put back the length if crossed page with add_timestamp
Commit fcc742eaad7c "ring-buffer: Add event descriptor to simplify passing data" added a descriptor that holds various data instead of passing around several variables through parameters. The problem was that one of the parameters was modified in a function and the code was designed not to have an effect on that modified parameter. Now that the parameter is a descriptor and any modifications to it are non-volatile, the size of the data could be unnecessarily expanded. Remove the extra space added if a timestamp was added and the event went across the page. Cc: [email protected] # 4.3+ Fixes: fcc742eaad7c "ring-buffer: Add event descriptor to simplify passing data" Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'drivers/fpga')
0 files changed, 0 insertions, 0 deletions