Devicetree
 help / color / mirror / Atom feed
From: Daniel Lezcano <daniel.lezcano@oss.qualcomm.com>
To: Caleb James DeLisle <cjd@cjdns.fr>, linux-mips@vger.kernel.org
Cc: conor+dt@kernel.org, daniel.lezcano@kernel.org,
	devicetree@vger.kernel.org, krzk+dt@kernel.org,
	linux-kernel@vger.kernel.org, naseefkm@gmail.com,
	robh@kernel.org, tglx@kernel.org, grandmaster@al2klimov.de
Subject: Re: [PATCH v7 0/5] clocksource/timer-econet-en751221: Support irq number per timer
Date: Fri, 18 Sep 2026 16:07:30 +0200	[thread overview]
Message-ID: <560064b6-73ca-4895-8415-b252b6824147@oss.qualcomm.com> (raw)
In-Reply-To: <f98f17aa-0f95-4b03-9f95-385e8af762df@cjdns.fr>


Hi Caleb,

sorry for the delay

On 8/12/26 21:32, Caleb James DeLisle wrote:

>>       |                ^~~~~~~~
>> /home/dlezcano/Work/src/linux/timers/drivers/clocksource/timer-econet- 
>> en751221.c:201:17: note: in expansion of macro ‘pr_err’
>>   201 |                 pr_err("%pOFn: Too many IRQs max %d got %d\n", 
>> np,
>>       |                 ^~~~~~
>> /home/dlezcano/Work/src/linux/timers/include/linux/kern_levels.h:5:25: 
>> warning: format ‘%d’ expects argument of type ‘int’, but argument 3 
>> has type ‘long unsigned int’ [-Wformat=]
>>     5 | #define KERN_SOH        "\001"          /* ASCII Start Of 
>> Header */
>>       |                         ^~~~~~
>> /home/dlezcano/Work/src/linux/timers/include/linux/printk.h:483:25: 
>> note: in definition of macro ‘printk_index_wrap’
>>   483 |                 _p_func(_fmt, ##__VA_ARGS__);         \
>>       |                         ^~~~
>> /home/dlezcano/Work/src/linux/timers/include/linux/printk.h:554:9: 
>> note: in expansion of macro ‘printk’
>>   554 |         printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
>>       |         ^~~~~~
>> /home/dlezcano/Work/src/linux/timers/include/linux/ 
>> kern_levels.h:11:25: note: in expansion of macro ‘KERN_SOH’
>>    11 | #define KERN_ERR        KERN_SOH "3"    /* error conditions */
>>       |                         ^~~~~~~~
>> /home/dlezcano/Work/src/linux/timers/include/linux/printk.h:554:16: 
>> note: in expansion of macro ‘KERN_ERR’
>>   554 |         printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
>>       |                ^~~~~~~~
>> /home/dlezcano/Work/src/linux/timers/drivers/clocksource/timer-econet- 
>> en751221.c:206:17: note: in expansion of macro ‘pr_err’
>>   206 |                 pr_err("%pOFn: Too many regs: max %d got 
>> %d\n", np,
>>       |                 ^~~~~~
>>
> 
> I gather you must have built this on a 64 bit machine, so the size_t of 
> ARRAY_SIZE() is a uint64_t (?)

[ ... ]

> Any suggestions would be appreciated.
   s/%d/%zd/ ?

  reply	other threads:[~2026-09-18 14:07 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-31 12:02 [PATCH v7 0/5] clocksource/timer-econet-en751221: Support irq number per timer Caleb James DeLisle
2026-07-31 12:02 ` [PATCH v7 1/5] clocksource/timer-econet-en751221: fix refcount leak Caleb James DeLisle
2026-07-31 12:13   ` sashiko-bot
2026-07-31 12:02 ` [PATCH v7 2/5] dt-bindings: timer: econet: Update EN751627 for multi-IRQ Caleb James DeLisle
2026-07-31 12:02 ` [PATCH v7 3/5] clocksource/timer-econet-en751221: Init teardown on error if possible Caleb James DeLisle
2026-07-31 12:14   ` sashiko-bot
2026-07-31 12:02 ` [PATCH v7 4/5] clocksource/timer-econet-en751221: Disable IRQ until cevt registered Caleb James DeLisle
2026-07-31 12:16   ` sashiko-bot
2026-07-31 12:02 ` [PATCH v7 5/5] clocksource/timer-econet-en751221: Support EN751627 without percpu IRQ Caleb James DeLisle
2026-07-31 12:17   ` sashiko-bot
2026-08-12  8:26 ` [PATCH v7 0/5] clocksource/timer-econet-en751221: Support irq number per timer Daniel Lezcano
2026-08-12 19:32   ` Caleb James DeLisle
2026-09-18 14:07     ` Daniel Lezcano [this message]
2026-09-18 15:30       ` Caleb James DeLisle

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=560064b6-73ca-4895-8415-b252b6824147@oss.qualcomm.com \
    --to=daniel.lezcano@oss.qualcomm.com \
    --cc=cjd@cjdns.fr \
    --cc=conor+dt@kernel.org \
    --cc=daniel.lezcano@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=grandmaster@al2klimov.de \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@vger.kernel.org \
    --cc=naseefkm@gmail.com \
    --cc=robh@kernel.org \
    --cc=tglx@kernel.org \
    /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