linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/10] Correct return type for mem2mem buffer helpers
@ 2019-02-08 16:17 Ezequiel Garcia
  2019-02-08 16:17 ` [PATCH 01/10] mtk-jpeg: " Ezequiel Garcia
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Ezequiel Garcia @ 2019-02-08 16:17 UTC (permalink / raw)
  To: linux-media; +Cc: Hans Verkuil, kernel, Ezequiel Garcia

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2019-02-08 16:21 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-08 16:17 [PATCH 00/10] Correct return type for mem2mem buffer helpers Ezequiel Garcia
2019-02-08 16:17 ` [PATCH 01/10] mtk-jpeg: " Ezequiel Garcia
2019-02-08 16:17 ` [PATCH 02/10] mtk-mdp: " Ezequiel Garcia
2019-02-08 16:17 ` [PATCH 03/10] mtk-vcodec: " Ezequiel Garcia
2019-02-08 16:17 ` [PATCH 04/10] mx2_emmaprp: " Ezequiel Garcia
2019-02-08 16:17 ` [PATCH 05/10] rockchip/rga: " Ezequiel Garcia
2019-02-08 16:17 ` [PATCH 06/10] s5p-g2d: " Ezequiel Garcia
2019-02-08 16:17 ` [PATCH 07/10] s5p-jpeg: " Ezequiel Garcia
2019-02-08 16:17 ` [PATCH 08/10] sh_veu: " Ezequiel Garcia
2019-02-08 16:17 ` [PATCH 09/10] rockchip/vpu: " Ezequiel Garcia
2019-02-08 16:17 ` [PATCH 10/10] media: v4l2-mem2mem: " Ezequiel Garcia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).