Skip to content

[Backport v4.0-branch] drivers: led: lp50xx: check the number of LED colors #176723

[Backport v4.0-branch] drivers: led: lp50xx: check the number of LED colors

[Backport v4.0-branch] drivers: led: lp50xx: check the number of LED colors #176723

Triggered via pull request February 18, 2025 08:20
Status Success
Total duration 2m 33s
Artifacts 1

compliance.yml

on: pull_request
Run compliance checks on patch series (PR)
2m 26s
Run compliance checks on patch series (PR)
Fit to window
Zoom out
Zoom in

Annotations

1 error, 2 warnings, and 1 notice
Run compliance checks on patch series (PR)
Process completed with exit code 1.
Run compliance checks on patch series (PR)
Cache not found for keys: Linux-pip-4bab123cfa8061843da3491e70ce59870567a56e8baf5c281253fa61f682202c
Run compliance checks on patch series (PR): ClangFormat.txt#L1
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details. You may want to run clang-format on this change: - const struct led_info *led_info = - lp50xx_led_to_info(config, led); + const struct led_info *led_info = lp50xx_led_to_info(config, led); if (led_info->num_colors > LP50XX_COLORS_PER_LED) { - LOG_ERR("%s: LED %d: invalid number of colors (max %d)", - dev->name, led, LP50XX_COLORS_PER_LED); + LOG_ERR("%s: LED %d: invalid number of colors (max %d)", dev->name, led, + LP50XX_COLORS_PER_LED); File:drivers/led/lp50xx.c Line:293
You may want to run clang-format on this change: drivers/led/lp50xx.c#L293
drivers/led/lp50xx.c:293 - const struct led_info *led_info = - lp50xx_led_to_info(config, led); + const struct led_info *led_info = lp50xx_led_to_info(config, led); if (led_info->num_colors > LP50XX_COLORS_PER_LED) { - LOG_ERR("%s: LED %d: invalid number of colors (max %d)", - dev->name, led, LP50XX_COLORS_PER_LED); + LOG_ERR("%s: LED %d: invalid number of colors (max %d)", dev->name, led, + LP50XX_COLORS_PER_LED);

Artifacts

Produced during runtime
Name Size
compliance.xml
757 Bytes