diff options
author | Filipe Brandenburger <filbranden@google.com> | 2014-02-28 21:32:16 -0800 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2014-03-07 10:06:10 -0500 |
commit | 5859fa1a146ef5bf79953767f4ceb546fe4214b3 (patch) | |
tree | 7e46fd7e6faa3baa903a5b3fea1649b7d5d7d6bc /lib/plist.c | |
parent | b2e285fcb46ab4d91ebbc3a9bd5900f544972a47 (diff) | |
download | op-kernel-dev-5859fa1a146ef5bf79953767f4ceb546fe4214b3.zip op-kernel-dev-5859fa1a146ef5bf79953767f4ceb546fe4214b3.tar.gz |
tracing: Correctly expand len expressions from __dynamic_array macro
This fixes expansion of the len argument in __dynamic_array macros.
The previous code from commit 7d536cb3f would not fully evaluate the
expression before multiplying its result by the size of the type.
This went unnoticed because the length stored in the high 16 bits of the
offset (which is the one that was broken here) is only used by
filter_pred_strloc which only acts on strings for which the size of the
type is 1.
Link: http://lkml.kernel.org/r/1393651938-16418-2-git-send-email-filbranden@google.com
Signed-off-by: Filipe Brandenburger <filbranden@google.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'lib/plist.c')
0 files changed, 0 insertions, 0 deletions