Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Bhargav Joshi" <j.bhargav.u@gmail.com>
Cc: conor+dt@kernel.org, devicetree@vger.kernel.org, robh@kernel.org
Subject: Re: [PATCH 2/3] irqchip: irq-crossbar: Handle renamed irqs-reserved property
Date: Fri, 05 Jun 2026 21:04:49 +0000	[thread overview]
Message-ID: <20260605210449.81F601F00893@smtp.kernel.org> (raw)
In-Reply-To: <20260606-crossbar-v1-2-f67f7cb9ee50@gmail.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] The patch uses double quotes for including a system kernel header (`#include "linux/of.h"`) instead of angle brackets (`#include <linux/of.h>`).
--

commit 45bcc0524f9b113a66a6033e639fbb294bcfc7da
Author: Bhargav Joshi <j.bhargav.u@gmail.com>

irqchip: irq-crossbar: Handle renamed irqs-reserved property

This commit updates the TI IRQ Crossbar driver to handle a renamed device
tree property. It tries ti,crossbar-irqs-reserved first and falls back to
ti,irqs-reserved to maintain backward compatibility with older device trees.

> diff --git a/drivers/irqchip/irq-crossbar.c b/drivers/irqchip/irq-crossbar.c
> index cd1134101ace0..64b042ce11a9a 100644
> --- a/drivers/irqchip/irq-crossbar.c
> +++ b/drivers/irqchip/irq-crossbar.c
> @@ -5,6 +5,7 @@
>   *  Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com
>   *  Author: Sricharan R <r.sricharan@ti.com>
>   */
> +#include "linux/of.h"

[Severity: Low]
This isn't a bug, but looking at the global includes in
drivers/irqchip/irq-crossbar.c, should this include use angle brackets
instead of double quotes? Standard kernel coding style expects <linux/of.h>
for system headers, as using double quotes forces the preprocessor to search
the local directory first.

>  #include <linux/err.h>
>  #include <linux/io.h>
>  #include <linux/irqchip.h>

[ ... ]

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260606-crossbar-v1-0-f67f7cb9ee50@gmail.com?part=2

  reply	other threads:[~2026-06-05 21:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-05 20:56 [PATCH 0/3] Convert ti,irq-crossbar binding to DT schema Bhargav Joshi
2026-06-05 20:56 ` [PATCH 1/3] dt-bindings: interrupt-controller: ti,irq-crossbar: Convert " Bhargav Joshi
2026-06-05 20:56 ` [PATCH 2/3] irqchip: irq-crossbar: Handle renamed irqs-reserved property Bhargav Joshi
2026-06-05 21:04   ` sashiko-bot [this message]
2026-06-05 20:56 ` [PATCH 3/3] ARM: dts: omap: dra7: Use new property name ti,crossbar-irqs-reserved Bhargav Joshi
2026-06-05 21:06   ` sashiko-bot

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=20260605210449.81F601F00893@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=j.bhargav.u@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox