Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 281322
b: refs/heads/master
c: 6431674
h: refs/heads/master
v: v3
  • Loading branch information
Yannick Brosseau authored and Greg Kroah-Hartman committed Dec 8, 2011
1 parent 648fad2 commit 05bfa79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f7f9f4536a09f9f73c800663df2e600c9405e1ef
refs/heads/master: 643167423858052c26b2dfaf332c1ec0b472ea7a
4 changes: 2 additions & 2 deletions trunk/drivers/staging/lttng/probes/lttng-events.h
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ static __used struct lttng_probe_desc TP_ID(__probe_desc___, TRACE_SYSTEM) = {
#undef __string_from_user
#define __string_from_user(_item, _src) \
__event_len += __dynamic_len[__dynamic_len_idx++] = \
min_t(size_t, strlen_user(_src), 1);
max_t(size_t, strlen_user(_src), 1);

#undef TP_PROTO
#define TP_PROTO(args...) args
Expand Down Expand Up @@ -557,7 +557,7 @@ __assign_##dest##_2: \
(void) __typemap.dest; \
lib_ring_buffer_align_ctx(&__ctx, ltt_alignof(__typemap.dest));\
__ustrlen = __get_dynamic_array_len(dest); \
if (likely(__ustrlen) > 1) { \
if (likely(__ustrlen > 1)) { \
__chan->ops->event_write_from_user(&__ctx, src, \
__ustrlen - 1); \
} \
Expand Down

0 comments on commit 05bfa79

Please sign in to comment.