Skip to content

-Wframe-larger-than in drivers/media/platform/rockchip/rkvdec/rkvdec-vdpu383-h264.c #2151

Description

@nathanchance
$ make -skj"$(nproc)" ARCH=loongarch LLVM=1 clean allmodconfig drivers/media/platform/rockchip/rkvdec/rkvdec-vdpu383-h264.o
drivers/media/platform/rockchip/rkvdec/rkvdec-vdpu383-h264.c:485:12: error: stack frame size (2064) exceeds limit (2048) in 'rkvdec_h264_run' [-Werror,-Wframe-larger-than]
  485 | static int rkvdec_h264_run(struct rkvdec_ctx *ctx)
      |            ^
1 error generated.

There have been other instances of -Wframe-larger-than in this driver:

https://lore.kernel.org/20260202094804.1231706-1-arnd@kernel.org/
https://lore.kernel.org/20260202094804.1231706-2-arnd@kernel.org/

and the maintainers have said they want to rework it:

https://lore.kernel.org/90e62bf797b0532e5556adaf9e15cc7b73e18411.camel@ndufresne.ca/

So I will disable this driver in CI for ARCH=loongarch allmodconfig and we will see where those developments go before attempting to workaround this in another way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions