Skip to content

Commit 5d5cc7f

Browse files
ysbnimgregkh
authored andcommitted
tee: optee: ffa: fix a typo of "optee_ffa_api_is_compatible"
[ Upstream commit 75dbd43 ] Fixes optee_ffa_api_is_compatbile() to optee_ffa_api_is_compatible() because compatbile is a typo of compatible. Fixes: 4615e5a ("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> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent d885fd7 commit 5d5cc7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/tee/optee/ffa_abi.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ static int optee_ffa_do_call_with_arg(struct tee_context *ctx,
657657
* with a matching configuration.
658658
*/
659659

660-
static bool optee_ffa_api_is_compatbile(struct ffa_device *ffa_dev,
660+
static bool optee_ffa_api_is_compatible(struct ffa_device *ffa_dev,
661661
const struct ffa_ops *ops)
662662
{
663663
const struct ffa_msg_ops *msg_ops = ops->msg_ops;
@@ -908,7 +908,7 @@ static int optee_ffa_probe(struct ffa_device *ffa_dev)
908908
ffa_ops = ffa_dev->ops;
909909
notif_ops = ffa_ops->notifier_ops;
910910

911-
if (!optee_ffa_api_is_compatbile(ffa_dev, ffa_ops))
911+
if (!optee_ffa_api_is_compatible(ffa_dev, ffa_ops))
912912
return -EINVAL;
913913

914914
if (!optee_ffa_exchange_caps(ffa_dev, ffa_ops, &sec_caps,

0 commit comments

Comments
 (0)