[PATCH 00/10] Correct return type for mem2mem buffer helpers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



As the subject says, we want to fix the return type
of these mem2mem buffer helpers. They are currently returning
a void pointer, which prevents type checking.

The patchset turned out to be much bigger than I was expecting,
so it's splitted in per-driver patches.

It'd be awesome if driver maintainers can take review
the changes.

Thanks!

Ezequiel Garcia (10):
  mtk-jpeg: Correct return type for mem2mem buffer helpers
  mtk-mdp: Correct return type for mem2mem buffer helpers
  mtk-vcodec: Correct return type for mem2mem buffer helpers
  mx2_emmaprp: Correct return type for mem2mem buffer helpers
  rockchip/rga: Correct return type for mem2mem buffer helpers
  s5p-g2d: Correct return type for mem2mem buffer helpers
  s5p-jpeg: Correct return type for mem2mem buffer helpers
  sh_veu: Correct return type for mem2mem buffer helpers
  rockchip/vpu: Correct return type for mem2mem buffer helpers
  media: v4l2-mem2mem: Correct return type for mem2mem buffer helpers

 .../media/platform/mtk-jpeg/mtk_jpeg_core.c   | 40 +++++------
 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c  | 20 ++----
 .../platform/mtk-vcodec/mtk_vcodec_dec.c      | 62 +++++++---------
 .../platform/mtk-vcodec/mtk_vcodec_enc.c      | 72 ++++++++-----------
 drivers/media/platform/mx2_emmaprp.c          |  6 +-
 drivers/media/platform/rockchip/rga/rga.c     |  6 +-
 drivers/media/platform/s5p-g2d/g2d.c          |  6 +-
 drivers/media/platform/s5p-jpeg/jpeg-core.c   | 38 +++++-----
 drivers/media/platform/sh_veu.c               |  4 +-
 drivers/media/v4l2-core/v4l2-mem2mem.c        |  6 +-
 .../rockchip/vpu/rk3288_vpu_hw_jpeg_enc.c     |  6 +-
 .../rockchip/vpu/rk3399_vpu_hw_jpeg_enc.c     |  6 +-
 include/media/v4l2-mem2mem.h                  | 18 ++---
 13 files changed, 129 insertions(+), 161 deletions(-)

-- 
2.20.1




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux