All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Krzysztof Kozlowski" <krzysztof.kozlowski@oss.qualcomm.com>
Cc: robh@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH] dt-bindings: soc: qcom,wcnss: Drop redundant $ref of firmware-name property
Date: Sun, 12 Jul 2026 15:07:06 +0000	[thread overview]
Message-ID: <20260712150707.83A411F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260712145654.126171-2-krzysztof.kozlowski@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] Schema validation error: `default` value for `firmware-name` is a scalar string but should be a string array.
--

--- Patch [1]: [PATCH] dt-bindings: soc: qcom,wcnss: Drop redundant $ref of firmware-name property ---
commit ee3e2676da46575844622ab43164871fd3c8d4ab
Author: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>

dt-bindings: soc: qcom,wcnss: Drop redundant $ref of firmware-name property

This commit removes the explicit string reference for the firmware-name
property and replaces it with maxItems: 1, implicitly adopting the
string-array type from the core schema.

> diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.yaml
> --- a/Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.yaml
> +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.yaml
> @@ -19,7 +19,7 @@ properties:
>      const: qcom,wcnss
>  
>    firmware-name:
> -    $ref: /schemas/types.yaml#/definitions/string
> +    maxItems: 1
>      default: wlan/prima/WCNSS_qcom_wlan_nv.bin

[Severity: Low]
Will this cause dt_binding_check to fail? Since the property type is now
implicitly a string-array due to maxItems, should the default value be
updated to an array format like [ wlan/prima/WCNSS_qcom_wlan_nv.bin ] to
avoid a JSON schema validation error?

>      description:
>        Relative firmware image path for the WLAN NV blob.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260712145654.126171-2-krzysztof.kozlowski@oss.qualcomm.com?part=1

  reply	other threads:[~2026-07-12 15:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-12 14:56 [PATCH] dt-bindings: soc: qcom,wcnss: Drop redundant $ref of firmware-name property Krzysztof Kozlowski
2026-07-12 15:07 ` sashiko-bot [this message]
2026-07-12 16:21   ` Krzysztof Kozlowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260712150707.83A411F000E9@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzysztof.kozlowski@oss.qualcomm.com \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.