From: Markus Elfring <Markus.Elfring@web.de>
To: "Triet Hoang" <triet.hoang.dev@gmail.com>,
linux-i2c@vger.kernel.org, "Andi Shyti" <andi.shyti@kernel.org>,
"Bence Csókás" <bence98@sch.bme.hu>
Cc: LKML <linux-kernel@vger.kernel.org>, kernel-janitors@vger.kernel.org
Subject: Re: [PATCH v2] i2c: cp2615: handle allocation failure
Date: Wed, 19 Aug 2026 08:28:47 +0200 [thread overview]
Message-ID: <cb4985df-edec-442e-8882-060a3c2e18bc@web.de> (raw)
In-Reply-To: <20260818111703.19604-1-triet.hoang.dev@gmail.com>
> Check the result of kzalloc_obj() and return -ENOMEM
> when the allocation fails instead of passing a NULL pointer
> to the message initialization helpers, which would return -EINVAL.
* How do you think about to add any tags (like “Fixes” and “Cc”) accordingly?
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v7.2#n145
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/stable-kernel-rules.rst?h=v7.2#n34
* How do you think about to increase the application of scope-based resource management?
Regards,
Markus
next prev parent reply other threads:[~2026-08-19 6:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-16 16:17 [PATCH] i2c: cp2615: handle allocation failure Triet Hoang
2026-08-18 11:17 ` [PATCH v2] " Triet Hoang
2026-08-19 6:28 ` Markus Elfring [this message]
2026-08-28 12:08 ` Bence Csókás
2026-08-28 17:09 ` Andi Shyti
2026-08-28 20:12 ` Bence Csókás
2026-08-28 17:09 ` Andi Shyti
2026-08-28 20:40 ` Christophe JAILLET
2026-08-29 3:42 ` Triet Hoang
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=cb4985df-edec-442e-8882-060a3c2e18bc@web.de \
--to=markus.elfring@web.de \
--cc=andi.shyti@kernel.org \
--cc=bence98@sch.bme.hu \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=triet.hoang.dev@gmail.com \
/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.