Skip to content

drivers/misc/optee: fix compile error - #21800

Merged
xiaoxiang781216 merged 1 commit into
apache:masterfrom
hujun260:apache_20261110
Nov 12, 2026
Merged

xiaoxiang781216 merged 1 commit into
apache:masterfrom
hujun260:apache_20261110

Conversation

@hujun260

Copy link
Copy Markdown
Contributor

Note: Please adhere to Contributing Guidelines.

Summary

CC: vfs/fs_dup2.c misc/optee.c: In function 'optee_shm_mmap': misc/optee.c:543:23: error: implicit declaration of function 'this_task'; did you mean 'up_this_task'? [-Werror=implicit-function-declaration]
543 | shm->munmap(this_task()->group, entry,
| ^~~~~~~~~
| up_this_task
misc/optee.c:543:34: error: invalid type argument of '->' (have 'int')
543 | shm->munmap(this_task()->group, entry,
| ^~

@jerpelea jerpelea changed the title fix compile error drivers/misc/optee: fix compile error Nov 12, 2026

@jerpelea jerpelea left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please change commit title to
drivers/misc/optee: fix compile error

CC:  vfs/fs_dup2.c misc/optee.c: In function 'optee_shm_mmap':
misc/optee.c:543:23: error: implicit declaration of function 'this_task'; did you mean 'up_this_task'? [-Werror=implicit-function-declaration]
  543 |           shm->munmap(this_task()->group, entry,
      |                       ^~~~~~~~~
      |                       up_this_task
misc/optee.c:543:34: error: invalid type argument of '->' (have 'int')
  543 |           shm->munmap(this_task()->group, entry,
      |                                  ^~

Signed-off-by: hujun5 <[email protected]>
@hujun260

Copy link
Copy Markdown
Contributor Author

please change commit title to drivers/misc/optee: fix compile error

ok

@hujun260
hujun260 requested a review from jerpelea November 12, 2026 12:45
This was referenced Nov 12, 2026
@github-actions github-actions Bot added Area: Drivers Drivers issues Size: XS The size of the change in this PR is very small labels Nov 12, 2026
@xiaoxiang781216
xiaoxiang781216 merged commit 9af02b8 into apache:master Nov 12, 2026
49 of 52 checks passed
@github-actions

Copy link
Copy Markdown

MemBrowse Memory Report · Explore what changed →

No memory changes detected for:


Catch memory regressions in CI with MemBrowse. Free for open source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: Drivers Drivers issues Size: XS The size of the change in this PR is very small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants