]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
tee: optee: ffa: fix a typo of "optee_ffa_api_is_compatible"
authorSungbae Yoo <sungbaey@nvidia.com>
Wed, 6 Aug 2025 12:47:35 +0000 (12:47 +0000)
committerJens Wiklander <jens.wiklander@linaro.org>
Mon, 18 Aug 2025 13:05:49 +0000 (15:05 +0200)
Fixes optee_ffa_api_is_compatbile() to optee_ffa_api_is_compatible()
because compatbile is a typo of compatible.

Fixes: 4615e5a34b95 ("optee: add FF-A support")
Signed-off-by: Sungbae Yoo <sungbaey@nvidia.com>
Reviewed-by: Sumit Garg <sumit.garg@oss.qualcomm.com>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
drivers/tee/optee/ffa_abi.c

index f9ef7d94cebd7a02156a353304be62044f7ac505..a963eed70c1d4c097de8a49dbb1548b45e16145a 100644 (file)
@@ -657,7 +657,7 @@ static int optee_ffa_do_call_with_arg(struct tee_context *ctx,
  * with a matching configuration.
  */
 
-static bool optee_ffa_api_is_compatbile(struct ffa_device *ffa_dev,
+static bool optee_ffa_api_is_compatible(struct ffa_device *ffa_dev,
                                        const struct ffa_ops *ops)
 {
        const struct ffa_msg_ops *msg_ops = ops->msg_ops;
@@ -908,7 +908,7 @@ static int optee_ffa_probe(struct ffa_device *ffa_dev)
        ffa_ops = ffa_dev->ops;
        notif_ops = ffa_ops->notifier_ops;
 
-       if (!optee_ffa_api_is_compatbile(ffa_dev, ffa_ops))
+       if (!optee_ffa_api_is_compatible(ffa_dev, ffa_ops))
                return -EINVAL;
 
        if (!optee_ffa_exchange_caps(ffa_dev, ffa_ops, &sec_caps,