Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

tee: <uapi/linux/tee.h: fix all kernel-doc issues

Fix kernel-doc warnings so that there no other kernel-doc issues
in <uapi/linux/tee.h>:

- add ending ':' to some struct members as needed for kernel-doc
- change struct name in kernel-doc to match the actual struct name (2x)
- add a @params: kernel-doc entry multiple times

Warning: tee.h:265 struct member 'ret_origin' not described
in 'tee_ioctl_open_session_arg'
Warning: tee.h:265 struct member 'num_params' not described
in 'tee_ioctl_open_session_arg'
Warning: tee.h:265 struct member 'params' not described
in 'tee_ioctl_open_session_arg'
Warning: tee.h:351 struct member 'num_params' not described
in 'tee_iocl_supp_recv_arg'
Warning: tee.h:351 struct member 'params' not described
in 'tee_iocl_supp_recv_arg'
Warning: tee.h:372 struct member 'num_params' not described
in 'tee_iocl_supp_send_arg'
Warning: tee.h:372 struct member 'params' not described
in 'tee_iocl_supp_send_arg'
Warning: tee.h:298: expecting prototype for struct
tee_ioctl_invoke_func_arg. Prototype was for
struct tee_ioctl_invoke_arg instead
Warning: tee.h:473: expecting prototype for struct
tee_ioctl_invoke_func_arg. Prototype was for struct
tee_ioctl_object_invoke_arg instead

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Sumit Garg <sumit.garg@oss.qualcomm.com>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>

authored by

Randy Dunlap and committed by
Jens Wiklander
aaf46c6a 3a866087

+14 -9
+14 -9
include/uapi/linux/tee.h
··· 249 249 * @cancel_id: [in] Cancellation id, a unique value to identify this request 250 250 * @session: [out] Session id 251 251 * @ret: [out] return value 252 - * @ret_origin [out] origin of the return value 253 - * @num_params [in] number of parameters following this struct 252 + * @ret_origin: [out] origin of the return value 253 + * @num_params: [in] number of &struct tee_ioctl_param entries in @params 254 + * @params: array of ioctl parameters 254 255 */ 255 256 struct tee_ioctl_open_session_arg { 256 257 __u8 uuid[TEE_IOCTL_UUID_LEN]; ··· 277 276 struct tee_ioctl_buf_data) 278 277 279 278 /** 280 - * struct tee_ioctl_invoke_func_arg - Invokes a function in a Trusted 281 - * Application 279 + * struct tee_ioctl_invoke_arg - Invokes a function in a Trusted Application 282 280 * @func: [in] Trusted Application function, specific to the TA 283 281 * @session: [in] Session id 284 282 * @cancel_id: [in] Cancellation id, a unique value to identify this request 285 283 * @ret: [out] return value 286 - * @ret_origin [out] origin of the return value 287 - * @num_params [in] number of parameters following this struct 284 + * @ret_origin: [out] origin of the return value 285 + * @num_params: [in] number of parameters following this struct 286 + * @params: array of ioctl parameters 288 287 */ 289 288 struct tee_ioctl_invoke_arg { 290 289 __u32 func; ··· 339 338 /** 340 339 * struct tee_iocl_supp_recv_arg - Receive a request for a supplicant function 341 340 * @func: [in] supplicant function 342 - * @num_params [in/out] number of parameters following this struct 341 + * @num_params: [in/out] number of &struct tee_ioctl_param entries in @params 342 + * @params: array of ioctl parameters 343 343 * 344 344 * @num_params is the number of params that tee-supplicant has room to 345 345 * receive when input, @num_params is the number of actual params ··· 365 363 /** 366 364 * struct tee_iocl_supp_send_arg - Send a response to a received request 367 365 * @ret: [out] return value 368 - * @num_params [in] number of parameters following this struct 366 + * @num_params: [in] number of &struct tee_ioctl_param entries in @params 367 + * @params: array of ioctl parameters 369 368 */ 370 369 struct tee_iocl_supp_send_arg { 371 370 __u32 ret; ··· 457 454 */ 458 455 459 456 /** 460 - * struct tee_ioctl_invoke_func_arg - Invokes an object in a Trusted Application 457 + * struct tee_ioctl_object_invoke_arg - Invokes an object in a 458 + * Trusted Application 461 459 * @id: [in] Object id 462 460 * @op: [in] Object operation, specific to the object 463 461 * @ret: [out] return value 464 462 * @num_params: [in] number of parameters following this struct 463 + * @params: array of ioctl parameters 465 464 */ 466 465 struct tee_ioctl_object_invoke_arg { 467 466 __u64 id;