mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] optee: ioctl takes unsigned int argument
@ 2024-07-29 14:34 Sascha Hauer
  2024-07-30  7:49 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Sascha Hauer @ 2024-07-29 14:34 UTC (permalink / raw)
  To: Barebox List

Fix incompatible pointer warning. the ioctl() op now takes a unsigned
int as command argument.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 drivers/tee/tee_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/tee/tee_core.c b/drivers/tee/tee_core.c
index 45fa9b5670..e9b99c990d 100644
--- a/drivers/tee/tee_core.c
+++ b/drivers/tee/tee_core.c
@@ -448,7 +448,7 @@ tee_ioctl_close_session(struct tee_context *ctx,
 	return ctx->teedev->desc->ops->close_session(ctx, arg.session);
 }
 
-static int tee_ioctl(struct cdev *cdev, int cmd, void *arg)
+static int tee_ioctl(struct cdev *cdev, unsigned int cmd, void *arg)
 {
 	struct tee_context *ctx = cdev->priv;
 	void __user *uarg = (void __user *)arg;
-- 
2.39.2




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

* Re: [PATCH] optee: ioctl takes unsigned int argument
  2024-07-29 14:34 [PATCH] optee: ioctl takes unsigned int argument Sascha Hauer
@ 2024-07-30  7:49 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2024-07-30  7:49 UTC (permalink / raw)
  To: Barebox List, Sascha Hauer


On Mon, 29 Jul 2024 16:34:39 +0200, Sascha Hauer wrote:
> Fix incompatible pointer warning. the ioctl() op now takes a unsigned
> int as command argument.
> 
> 

Applied, thanks!

[1/1] optee: ioctl takes unsigned int argument
      https://git.pengutronix.de/cgit/barebox/commit/?id=aa650bf29486 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




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

end of thread, other threads:[~2024-07-30  7:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-29 14:34 [PATCH] optee: ioctl takes unsigned int argument Sascha Hauer
2024-07-30  7:49 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox