linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/7] staging: vc04_services: Remove custom return values
@ 2022-12-19 11:57 Umang Jain
  2022-12-19 11:57 ` [PATCH v2 1/7] staging: vc04_services: Replace vchiq_status return type to int Umang Jain
                   ` (7 more replies)
  0 siblings, 8 replies; 13+ messages in thread
From: Umang Jain @ 2022-12-19 11:57 UTC (permalink / raw)
  To: linux-staging, linux-rpi-kernel, linux-arm-kernel, linux-media,
	linux-kernel
  Cc: Kees Cook, Stefan Wahren, Greg Kroah-Hartman, Florian Fainelli,
	Adrien Thierry, Dan Carpenter, Dave Stevenson, Kieran Bingham,
	Laurent Pinchart, Umang Jain

The series removes the custom return values from functions
and replaces them with linux error codes. This address the TODO
 vchiq interface:
* Get rid of custom function return values

Changes in V2:
- Patch 3/7 now reports for specific errors like -ENOMEM, -EHOSTDOWN
- Patch 5/7 reports -ENOTCONN instead of -EINVAL and adds a "Fixes" tag

Umang Jain (7):
  staging: vc04_services: Replace vchiq_status return type to int
  staging: vc04_services: Drop VCHIQ_SUCCESS usage
  staging: vc04_services: Drop VCHIQ_ERROR usage
  staging: vc04_services: Drop VCHIQ_RETRY usage
  vc04_services: vchiq_arm: Drop VCHIQ_RETRY usage on disconnect
  staging: vc04_services: Drop enum vchiq_status remnants
  staging: vc04_services: vchiq: Drop custom return values from TODO

 .../bcm2835-audio/bcm2835-vchiq.c             |  12 +-
 .../include/linux/raspberrypi/vchiq.h         |  65 +++---
 drivers/staging/vc04_services/interface/TODO  |   5 -
 .../interface/vchiq_arm/vchiq_arm.c           | 124 +++++-----
 .../interface/vchiq_arm/vchiq_arm.h           |  12 +-
 .../interface/vchiq_arm/vchiq_core.c          | 216 +++++++++---------
 .../interface/vchiq_arm/vchiq_core.h          |  18 +-
 .../interface/vchiq_arm/vchiq_dev.c           |  36 +--
 .../interface/vchiq_arm/vchiq_ioctl.h         |   8 +-
 .../vc04_services/vchiq-mmal/mmal-vchiq.c     |  11 +-
 10 files changed, 246 insertions(+), 261 deletions(-)

-- 
2.38.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2022-12-23 15:26 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-19 11:57 [PATCH v2 0/7] staging: vc04_services: Remove custom return values Umang Jain
2022-12-19 11:57 ` [PATCH v2 1/7] staging: vc04_services: Replace vchiq_status return type to int Umang Jain
2022-12-19 11:57 ` [PATCH v2 2/7] staging: vc04_services: Drop VCHIQ_SUCCESS usage Umang Jain
2022-12-19 11:57 ` [PATCH v2 3/7] staging: vc04_services: Drop VCHIQ_ERROR usage Umang Jain
2022-12-19 11:57 ` [PATCH v2 4/7] staging: vc04_services: Drop VCHIQ_RETRY usage Umang Jain
2022-12-19 11:57 ` [PATCH v2 5/7] vc04_services: vchiq_arm: Drop VCHIQ_RETRY usage on disconnect Umang Jain
2022-12-22 11:07   ` Stefan Wahren
2022-12-22 12:04     ` Umang Jain
2022-12-22 12:27       ` Stefan Wahren
2022-12-23 15:25     ` Dan Carpenter
2022-12-19 11:57 ` [PATCH v2 6/7] staging: vc04_services: Drop enum vchiq_status remnants Umang Jain
2022-12-19 11:57 ` [PATCH v2 7/7] staging: vc04_services: vchiq: Drop custom return values from TODO Umang Jain
2022-12-22 11:12 ` [PATCH v2 0/7] staging: vc04_services: Remove custom return values Stefan Wahren

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).