diff options
author | Elena Reshetova <elena.reshetova@intel.com> | 2017-03-06 16:21:15 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-14 11:01:40 +0800 |
commit | 22a33651a56fa2a66339db059dcc247aa7131ced (patch) | |
tree | b2f88df9ef5133a74ed90a26870ca5c6a96587ef /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 8961df8950b1235cb7594e143a31bcc63757b660 (diff) |
drivers: convert sbd_duart.map_guard from atomic_t to refcount_t
refcount_t type and corresponding API should be
used instead of atomic_t when the variable is used as
a reference counter. This allows to avoid accidental
refcounter overflows that might lead to use-after-free
situations.
Signed-off-by: Elena Reshetova <elena.reshetova@intel.com>
Signed-off-by: Hans Liljestrand <ishkamiel@gmail.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David Windsor <dwindsor@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions