Skip to content

5.15 failed to compile #265

Closed
Closed

Description

@SlavaGavrilin
  CC [M]  drivers/input/rmi4/rmi_f03.o
drivers/i2c/busses/i2c-nct6775.c: In function ‘nct6775_access’:
drivers/i2c/busses/i2c-nct6775.c:221:18: error: this statement may fall through [-Werror=implicit-fallthrough=]
  221 |    tmp_data.byte = data->byte;
      |    ~~~~~~~~~~~~~~^~~~~~~~~~~~
drivers/i2c/busses/i2c-nct6775.c:222:3: note: here
  222 |   case I2C_SMBUS_BYTE:
      |   ^~~~
cc1: all warnings being treated as errors
make[4]: *** [scripts/Makefile.build:277: drivers/i2c/busses/i2c-nct6775.o] Ошибка 1
make[3]: *** [scripts/Makefile.build:540: drivers/i2c/busses] Ошибка 2
make[2]: *** [scripts/Makefile.build:540: drivers/i2c] Ошибка 2
make[2]: *** Ожидание завершения заданий…
  CC [M]  drivers/input/ff-memless.o

Activity

  1. heftig commented on Dec 7, 2021

    @heftig

    Turn off CONFIG_WERROR.

  2. damentz commented on Dec 20, 2021

    @damentz
    Member

    Turn off CONFIG_WERROR.

    That is the real issue, closing.

  3. SlavaGavrilin commented on Dec 20, 2021

    @SlavaGavrilin
    Author

    thanks, it works.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions