All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alejandro Colomar <alx@kernel.org>
To: dri-devel@lists.freedesktop.org
Subject: [MAILER-DAEMON@tor.source.kernel.org: Undelivered Mail Returned to Sender]
Date: Wed, 25 Nov 2026 19:07:44 +0100	[thread overview]
Message-ID: <awcjWRYyPAyI2oQU@devuan> (raw)
In-Reply-To: <20261125174008.9710362667@tor.source.kernel.org>

[-- Attachment #1: Type: text/plain, Size: 4482 bytes --]

I got this email bounced when sending to the listed maintainers.
Are the addresses ok?


Cheers,
Alex

----- Forwarded message from Mail Delivery System <MAILER-DAEMON@tor.source.kernel.org> -----

Date: Wed, 25 Nov 2026 17:40:08 +0000 (UTC)
From: Mail Delivery System <MAILER-DAEMON@tor.source.kernel.org>
To: alx@kernel.org
Subject: Undelivered Mail Returned to Sender
Message-Id: <20261125174008.9710362667@tor.source.kernel.org>

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

<koby.elbaz@intel.com>: host mgamail.eglb.intel.com[198.175.65.9] said: 550
    #5.1.0 Address rejected. (in reply to RCPT TO command)

<konstantin.sinyuk@intel.com>: 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; alx@kernel.org
Arrival-Date: Wed, 25 Nov 2026 17:40:02 +0000 (UTC)

Final-Recipient: rfc822; koby.elbaz@intel.com
Original-Recipient: rfc822;koby.elbaz@intel.com
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; konstantin.sinyuk@intel.com
Original-Recipient: rfc822;konstantin.sinyuk@intel.com
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 <alx@kernel.org>
To: Koby Elbaz <koby.elbaz@intel.com>,  Konstantin Sinyuk
 <konstantin.sinyuk@intel.com>, dri-devel@lists.freedesktop.org
Cc: Alejandro Colomar <alx@kernel.org>
Subject: [PATCH] accel/habanalabs: Add missing const
Return-Path: <alx@kernel.org>
Message-ID: <a284672589d00aa039a8c53ccf43bd1a5fd8e8f9.1795628340.git.alx@kernel.org>
X-Mailer: git-send-email 2.55.0

These pointers are derived from other const pointers.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
---

Hi,

These were found while changing some <linux/string.h> APIs to preserve
the const qualifier in the return type.


Have a lovely night!
Alex

 drivers/accel/habanalabs/common/firmware_if.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/drivers/accel/habanalabs/common/firmware_if.c b/drivers/accel/habanalabs/common/firmware_if.c
index c8f1e252241d..8ae1e0e4dae1 100644
--- a/drivers/accel/habanalabs/common/firmware_if.c
+++ b/drivers/accel/habanalabs/common/firmware_if.c
@@ -68,7 +68,8 @@ int hl_fw_version_cmp(struct hl_device *hdev, u32 major, u32 minor, u32 subminor
 
 static char *extract_fw_ver_from_str(const char *fw_str)
 {
-	char *str, *fw_ver, *whitespace;
+	char *fw_ver;
+	const char *str, *whitespace;
 	u32 ver_offset;
 
 	fw_ver = kmalloc(VERSION_MAX_LEN, GFP_KERNEL);
@@ -105,7 +106,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;
 
@@ -136,7 +137,7 @@ static char *extract_u32_until_given_char(char *str, u32 *ver_num, char given_ch
  */
 static int hl_get_sw_major_minor_subminor(struct hl_device *hdev, const char *fw_str)
 {
-	char *end, *start;
+	const char *end, *start;
 
 	end = strnstr(fw_str, "-rc-", VERSION_MAX_LEN);
 	if (end == fw_str)
@@ -194,7 +195,7 @@ static int hl_get_sw_major_minor_subminor(struct hl_device *hdev, const char *fw
  *
  * Return: 0 on success, negative error code for failure.
  */
-static int hl_get_preboot_major_minor(struct hl_device *hdev, char *preboot_ver)
+static int hl_get_preboot_major_minor(struct hl_device *hdev, const char *preboot_ver)
 {
 	preboot_ver = extract_u32_until_given_char(preboot_ver, &hdev->fw_inner_major_ver, '.');
 	if (!preboot_ver) {
-- 
2.55.0





----- End forwarded message -----

-- 
<https://www.alejandro-colomar.es>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

       reply	other threads:[~2026-11-25 18:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20261125174008.9710362667@tor.source.kernel.org>
2026-11-25 18:07 ` Alejandro Colomar [this message]
2026-11-25 18:17   ` [MAILER-DAEMON@tor.source.kernel.org: Undelivered Mail Returned to Sender] 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=awcjWRYyPAyI2oQU@devuan \
    --to=alx@kernel.org \
    --cc=dri-devel@lists.freedesktop.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 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.