bluetooth: mesh: distributor self-update #16747
compliance.yml
on: pull_request
Run compliance checks on patch series (PR)
3m 32s
Annotations
1 warning and 10 notices
|
Run compliance checks on patch series (PR):
ClangFormat.txt#L0
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
You may want to run clang-format on this change:
- cnt * sizeof(struct dfd_srv_persistent_target));
+ cnt * sizeof(struct dfd_srv_persistent_target));
File:subsys/bluetooth/mesh/dfd_srv.c
Line:102
You may want to run clang-format on this change:
-static void dfd_srv_find_cb(const struct bt_mesh_model *mod,
- const struct bt_mesh_elem *elem,
+static void dfd_srv_find_cb(const struct bt_mesh_model *mod, const struct bt_mesh_elem *elem,
File:subsys/bluetooth/mesh/dfd_srv.c
Line:909
You may want to run clang-format on this change:
-static int dfd_srv_settings_set(const struct bt_mesh_model *mod, const char *name,
- size_t len_rd, settings_read_cb read_cb,
- void *cb_arg)
+static int dfd_srv_settings_set(const struct bt_mesh_model *mod, const char *name, size_t len_rd,
+ settings_read_cb read_cb, void *cb_arg)
File:subsys/bluetooth/mesh/dfd_srv.c
Line:1210
You may want to run clang-format on this change:
- LOG_WRN("Stored target count %u exceeds max %u",
- state.target_cnt, (uint8_t)ARRAY_SIZE(srv->targets));
+ LOG_WRN("Stored target count %u exceeds max %u", state.target_cnt,
+ (uint8_t)ARRAY_SIZE(srv->targets));
return -EINVAL;
}
if (len < offsetof(struct dfd_srv_persistent_state, targets) +
- state.target_cnt * sizeof(struct dfd_srv_persistent_target)) {
+ state.target_cnt * sizeof(struct dfd_srv_persistent_target)) {
File:subsys/bluetooth/mesh/dfd_srv.c
Line:1232
You may want to run clang-format on this change:
- sys_slist_append(&srv->inputs.targets,
- &srv->targets[i].blob.n);
+ sys_slist_append(&srv->inputs.targets, &srv->targets[i].blob.n);
File:subsys/bluetooth/mesh/dfd_srv.c
Line:1264
You may want to run clang-format on this change:
- LOG_DBG("Recovered distribution (phase: %u, targets: %u, slot: %u)",
- srv->phase, srv->target_cnt, srv->slot_idx);
+ LOG_DBG("Recovered distribution (phase: %u, targets: %u, slot: %u)", srv->phase,
+ srv->target_cnt, srv->slot_idx);
File:subsys/bluetooth/mesh/dfd_srv.c
Line:1274
You may want to run clang-format on this change:
- const struct bt_mesh_blob_cli_inputs *inputs);
+ const struct bt_mesh_blob_cli_inputs *inputs);
File:subsys/bluetooth/mesh/dfu.h
Line:25
You may want to run clang-format on this change:
- if (dfu_srv &&
- dfu_srv->update.phase == BT_MESH_DFU_PHASE_APPLYING) {
+ if (dfu_srv && dfu_srv->update.phase == BT_MESH_DFU_PHASE_APPLYING) {
File:subsys/bluetooth/mesh/dfu_cli.c
Line:351
You may want to run clang-format on this change:
- LOG_DBG("Target 0x%04x accepted apply (phase %u)",
- target->blob.addr, phase);
+ LOG_DBG("Target 0x%04x accepted apply (phase %u)", target->blob.addr, phase);
File:subsys/bluetooth/mesh/dfu_cli.c
Line:850
You may want to run clang-format on this change:
- const struct bt_mesh_blob_cli_inputs *inputs)
+ const struct bt_mesh_blob_cli_inputs *inputs)
File:subsys/bluetooth/mesh/dfu_cli.c
Line:1321
You may want to run clang-format on this change:
- LOG_WRN("Apply response send failed (err %d), wait for retry",
- err);
+ LOG_WRN("Apply response send failed (err %d), wait for retry", err);
File:subsys/bluetooth/mesh/dfu_srv.c
Line:119
|
|
You may want to run clang-format on this change:
subsys/bluetooth/mesh/dfu_cli.c#L1321
subsys/bluetooth/mesh/dfu_cli.c:1321
- const struct bt_mesh_blob_cli_inputs *inputs)
+ const struct bt_mesh_blob_cli_inputs *inputs)
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
|
|
You may want to run clang-format on this change:
subsys/bluetooth/mesh/dfu_cli.c#L850
subsys/bluetooth/mesh/dfu_cli.c:850
- LOG_DBG("Target 0x%04x accepted apply (phase %u)",
- target->blob.addr, phase);
+ LOG_DBG("Target 0x%04x accepted apply (phase %u)", target->blob.addr, phase);
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
|
|
You may want to run clang-format on this change:
subsys/bluetooth/mesh/dfu_cli.c#L351
subsys/bluetooth/mesh/dfu_cli.c:351
- if (dfu_srv &&
- dfu_srv->update.phase == BT_MESH_DFU_PHASE_APPLYING) {
+ if (dfu_srv && dfu_srv->update.phase == BT_MESH_DFU_PHASE_APPLYING) {
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
|
|
You may want to run clang-format on this change:
subsys/bluetooth/mesh/dfu.h#L25
subsys/bluetooth/mesh/dfu.h:25
- const struct bt_mesh_blob_cli_inputs *inputs);
+ const struct bt_mesh_blob_cli_inputs *inputs);
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
|
|
You may want to run clang-format on this change:
subsys/bluetooth/mesh/dfd_srv.c#L1274
subsys/bluetooth/mesh/dfd_srv.c:1274
- LOG_DBG("Recovered distribution (phase: %u, targets: %u, slot: %u)",
- srv->phase, srv->target_cnt, srv->slot_idx);
+ LOG_DBG("Recovered distribution (phase: %u, targets: %u, slot: %u)", srv->phase,
+ srv->target_cnt, srv->slot_idx);
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
|
|
You may want to run clang-format on this change:
subsys/bluetooth/mesh/dfd_srv.c#L1264
subsys/bluetooth/mesh/dfd_srv.c:1264
- sys_slist_append(&srv->inputs.targets,
- &srv->targets[i].blob.n);
+ sys_slist_append(&srv->inputs.targets, &srv->targets[i].blob.n);
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
|
|
You may want to run clang-format on this change:
subsys/bluetooth/mesh/dfd_srv.c#L1232
subsys/bluetooth/mesh/dfd_srv.c:1232
- LOG_WRN("Stored target count %u exceeds max %u",
- state.target_cnt, (uint8_t)ARRAY_SIZE(srv->targets));
+ LOG_WRN("Stored target count %u exceeds max %u", state.target_cnt,
+ (uint8_t)ARRAY_SIZE(srv->targets));
return -EINVAL;
}
if (len < offsetof(struct dfd_srv_persistent_state, targets) +
- state.target_cnt * sizeof(struct dfd_srv_persistent_target)) {
+ state.target_cnt * sizeof(struct dfd_srv_persistent_target)) {
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
|
|
You may want to run clang-format on this change:
subsys/bluetooth/mesh/dfd_srv.c#L1210
subsys/bluetooth/mesh/dfd_srv.c:1210
-static int dfd_srv_settings_set(const struct bt_mesh_model *mod, const char *name,
- size_t len_rd, settings_read_cb read_cb,
- void *cb_arg)
+static int dfd_srv_settings_set(const struct bt_mesh_model *mod, const char *name, size_t len_rd,
+ settings_read_cb read_cb, void *cb_arg)
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
|
|
You may want to run clang-format on this change:
subsys/bluetooth/mesh/dfd_srv.c#L909
subsys/bluetooth/mesh/dfd_srv.c:909
-static void dfd_srv_find_cb(const struct bt_mesh_model *mod,
- const struct bt_mesh_elem *elem,
+static void dfd_srv_find_cb(const struct bt_mesh_model *mod, const struct bt_mesh_elem *elem,
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
|
|
You may want to run clang-format on this change:
subsys/bluetooth/mesh/dfd_srv.c#L102
subsys/bluetooth/mesh/dfd_srv.c:102
- cnt * sizeof(struct dfd_srv_persistent_target));
+ cnt * sizeof(struct dfd_srv_persistent_target));
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
compliance.xml
|
1.6 KB |
sha256:d886b153d10fe0343e674c620f187bb0e04c8abea8bcce57a10685b0c7fd3d72
|
|