Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [Low] accel/habanalabs: missing const on ch in
  extract_u32_until_given_char()
- [Low] accel/habanalabs: commit message contains forwarded bounce email
  headers
--

commit f76538cd407940b9ca6028e08da7f1439d718808
Author: Alejandro Colomar <[email protected]>

> I got this email bounced when sending to the listed maintainers.
> Are the addresses ok?
> 
> Cheers,
> Alex
> 
> ----- Forwarded message from Mail Delivery System 
> <[email protected]> -----
> 
> Date: Wed, 25 Nov 2026 17:40:08 +0000 (UTC)
> From: Mail Delivery System <[email protected]>
> To: [email protected]
> Subject: Undelivered Mail Returned to Sender
> Message-Id: <[email protected]>
> 
> This is the mail system at host tor.source.kernel.org.
> 
> I'm sorry to have to inform you that your message could not
> be delivered to one or more recipients. It's attached below.
> 
> For further assistance, please send mail to postmaster.
> 
> If you do so, please include this problem report. You can
> delete your own text from the attached returned message.
> 
>                    The mail system
> 
> <[email protected]>: host mgamail.eglb.intel.com[198.175.65.9] said: 550
>     #5.1.0 Address rejected. (in reply to RCPT TO command)
> 
> <[email protected]>: host mgamail.eglb.intel.com[198.175.65.9] said:
>     550 #5.1.0 Address rejected. (in reply to RCPT TO command)
> 
> Reporting-MTA: dns; tor.source.kernel.org
> X-Postfix-Queue-ID: 8A98A62391
> X-Postfix-Sender: rfc822; [email protected]
> Arrival-Date: Wed, 25 Nov 2026 17:40:02 +0000 (UTC)
> 
> Final-Recipient: rfc822; [email protected]
> Original-Recipient: rfc822;[email protected]
> Action: failed
> Status: 5.0.0
> Remote-MTA: dns; mgamail.eglb.intel.com
> Diagnostic-Code: smtp; 550 #5.1.0 Address rejected.
> 
> Final-Recipient: rfc822; [email protected]
> Original-Recipient: rfc822;[email protected]
> Action: failed
> Status: 5.0.0
> Remote-MTA: dns; mgamail.eglb.intel.com
> Diagnostic-Code: smtp; 550 #5.1.0 Address rejected.
> 
> Date: Wed, 25 Nov 2026 18:39:58 +0100
> From: Alejandro Colomar <[email protected]>
> To: Koby Elbaz <[email protected]>,  Konstantin Sinyuk
>  <[email protected]>, [email protected]
> Cc: Alejandro Colomar <[email protected]>
> Subject: [PATCH] accel/habanalabs: Add missing const
> Return-Path: <[email protected]>
> Message-ID: 
> <a284672589d00aa039a8c53ccf43bd1a5fd8e8f9.1795628340.git....@kernel.org>
> X-Mailer: git-send-email 2.55.0
> 
> These pointers are derived from other const pointers.
> 
> Signed-off-by: Alejandro Colomar <[email protected]>

[Severity: Low]
The commit subject and changelog contain the forwarded mail delivery bounce
report and embedded email headers rather than the patch subject
"accel/habanalabs: Add missing const" and description.

> diff --git a/drivers/accel/habanalabs/common/firmware_if.c 
> b/drivers/accel/habanalabs/common/firmware_if.c
> index 29f5652d60433..69d39a8789d4c 100644
> --- a/drivers/accel/habanalabs/common/firmware_if.c
> +++ b/drivers/accel/habanalabs/common/firmware_if.c

[ ... ]

> @@ -112,7 +113,7 @@ static char *extract_fw_ver_from_str(const char *fw_str)
>   *
>   * Return: Upon success, return a pointer to the given_char in the string. 
> Upon failure, return NULL
>   */
> -static char *extract_u32_until_given_char(char *str, u32 *ver_num, char 
> given_char)
> +static const char *extract_u32_until_given_char(const char *str, u32 
> *ver_num, char given_char)
>  {
>       char num_str[8] = {}, *ch;
>  

[Severity: Low]
Should ch in extract_u32_until_given_char() also be declared as const char *?
It receives the result of strchrnul(str, given_char) on the const char *
argument str and is returned directly, so leaving ch as char * will trigger a
-Wdiscarded-qualifiers warning once strchrnul() preserves const.

-- 
Sashiko AI review ยท 
https://sashiko.dev/#/patchset/awcjWRYyPAyI2oQU@devuan?part=1

Reply via email to