Project

General

Profile

Actions

Bug #823

closed

Compilation warnings on 3.16.0 kernel

Added by David Goulet almost 10 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
08/04/2014
Due date:
% Done:

0%

Estimated time:

Description

  CC [M]  /home/dgoulet/Documents/git/lttng-modules/lib/ringbuffer/ring_buffer_frontend.o
/home/dgoulet/Documents/git/lttng-modules/lib/ringbuffer/ring_buffer_frontend.c: In function ‘lib_ring_buffer_open_read’:
/home/dgoulet/Documents/git/lttng-modules/lib/ringbuffer/ring_buffer_frontend.c:795:2: warning: ‘smp_mb__after_atomic_inc’ is deprecated (declared at include/linux/atomic.h:19) [-Wdeprecated-declarations]
  smp_mb__after_atomic_inc();
  ^
/home/dgoulet/Documents/git/lttng-modules/lib/ringbuffer/ring_buffer_frontend.c: In function ‘lib_ring_buffer_release_read’:
/home/dgoulet/Documents/git/lttng-modules/lib/ringbuffer/ring_buffer_frontend.c:805:2: warning: ‘smp_mb__before_atomic_dec’ is deprecated (declared at include/linux/atomic.h:27) [-Wdeprecated-declarations]
  smp_mb__before_atomic_dec();
  ^

Actions

Also available in: Atom PDF