Hi Mauro, These patches begin using refcount_t in counting references to VB2 buffers as well as cx88 core. Please pull. The following changes since commit c3d4fb0fb41f4b5eafeee51173c14e50be12f839: [media] rc: sunxi-cir: simplify optional reset handling (2017-03-24 08:30:03 -0300) are available in the git repository at: ssh://linuxtv.org/git/sailus/media_tree.git refcount_t for you to fetch changes up to e1588d503639483a5a826dc0a2cd17eab0e44504: vb2: convert vb2_vmarea_handler refcount from atomic_t to refcount_t (2017-03-27 19:55:35 +0300) ---------------------------------------------------------------- Elena Reshetova (2): cx88: convert struct cx88_core.refcount from atomic_t to refcount_t vb2: convert vb2_vmarea_handler refcount from atomic_t to refcount_t drivers/media/pci/cx88/cx88-cards.c | 2 +- drivers/media/pci/cx88/cx88-core.c | 4 ++-- drivers/media/pci/cx88/cx88.h | 3 ++- drivers/media/v4l2-core/videobuf2-dma-contig.c | 11 ++++++----- drivers/media/v4l2-core/videobuf2-dma-sg.c | 11 ++++++----- drivers/media/v4l2-core/videobuf2-memops.c | 6 +++--- drivers/media/v4l2-core/videobuf2-vmalloc.c | 11 ++++++----- include/media/videobuf2-memops.h | 3 ++- 8 files changed, 28 insertions(+), 23 deletions(-) -- Kind regards, Sakari Ailus e-mail: sakari.ailus@xxxxxx XMPP: sailus@xxxxxxxxxxxxxx