tee: fix some comment typos in header files
authorElvira Khabirova <e.khabirova@omprussia.ru>
Sun, 20 Sep 2020 01:58:57 +0000 (04:58 +0300)
committerJens Wiklander <jens.wiklander@linaro.org>
Tue, 2 Feb 2021 13:50:15 +0000 (14:50 +0100)
struct tee_param: revc -> recv.
TEE_IOC_SUPPL_SEND: typo introduced by copy-pasting, replace invalid
description with description from the according argument struct.

Signed-off-by: Elvira Khabirova <e.khabirova@omprussia.ru>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
include/linux/tee_drv.h
include/uapi/linux/tee.h

index cdd049a724b10b5808aafbc09710d8ce81deebd3..54269e47ac9a301759a4fb07092c7014f101385e 100644 (file)
@@ -88,7 +88,7 @@ struct tee_param {
  * @close_session:     close a session
  * @invoke_func:       invoke a trusted function
  * @cancel_req:                request cancel of an ongoing invoke or open
- * @supp_revc:         called for supplicant to get a command
+ * @supp_recv:         called for supplicant to get a command
  * @supp_send:         called for supplicant to send a response
  * @shm_register:      register shared memory buffer in TEE
  * @shm_unregister:    unregister shared memory buffer in TEE
index d67cadf221fc21632f6cdab5b9c73b0a42c8df6a..25a6c534beb1b66713bcdb463ccb52e6179c0d02 100644 (file)
@@ -355,7 +355,7 @@ struct tee_iocl_supp_send_arg {
 };
 
 /**
- * TEE_IOC_SUPPL_SEND - Receive a request for a supplicant function
+ * TEE_IOC_SUPPL_SEND - Send a response to a received request
  *
  * Takes a struct tee_ioctl_buf_data which contains a struct
  * tee_iocl_supp_send_arg followed by any array of struct tee_param