aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBhaumik Bhatt <[email protected]>2020-05-21 22:32:43 +0530
committerGreg Kroah-Hartman <[email protected]>2020-05-22 09:35:43 +0200
commit0ab9fcd0e7b2b45dd407e145f50fd55091405d3c (patch)
tree0d980982c2a46c9a2eb12caa5949f2874f00faaf /tools/perf/scripts/python
parent0a895f091ebd943555efce3d7b0e96d667208fdc (diff)
bus: mhi: core: Ensure non-zero session or sequence ID values are used
While writing any sequence or session identifiers, it is possible that the host could write a zero value, whereas only non-zero values should be supported writes to those registers. Ensure that the host does not write a non-zero value for them and also log them in debug messages. A macro is introduced to simplify this check and the existing checks are also converted to use this macro. Signed-off-by: Bhaumik Bhatt <[email protected]> Reviewed-by: Jeffrey Hugo <[email protected]> Reviewed-by: Manivannan Sadhasivam <[email protected]> Signed-off-by: Manivannan Sadhasivam <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions