Skip to content

warning: tentative array definition assumed to have one element #45

Closed
@nickdesaulniers

Description

@nickdesaulniers
  CC      drivers/crypto/ccp/sp-platform.o
drivers/crypto/ccp/sp-platform.c:36:36: warning: tentative array definition assumed to
      have one element
static const struct acpi_device_id sp_acpi_match[];
                                   ^

I have never seen this construct before.

Probably needs to be defined to length 1, but it's used case needs to be checked (I have not yet done so). cc @kees

Maybe needs CONFIG_CRYPTO_DEV_SP_CCP=y.

Metadata

Metadata

Assignees

Labels

[BUG] linuxA bug that should be fixed in the mainline kernel.[FIXED][LINUX] 4.20This bug was fixed in Linux 4.20

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions