From: Jarkko Sakkinen <jarkko@kernel.org>
To: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
Cc: Jason Gunthorpe <jgg@ziepe.ca>, Peter Huewe <peterhuewe@gmx.de>,
linux-integrity@vger.kernel.org, kernel@pengutronix.de
Subject: Re: [PATCH] char: tpm: cr50_i2c: Suppress duplicated error message in .remove()
Date: Wed, 4 May 2022 06:53:14 +0300 [thread overview]
Message-ID: <YnH4qge2KmmM27sC@kernel.org> (raw)
In-Reply-To: <20220426080602.wdquj6ra3vhufur4@pengutronix.de>
On Tue, Apr 26, 2022 at 10:06:02AM +0200, Uwe Kleine-König wrote:
> - dev_err(dev, "Could not get client data at remove\n");
> - return -ENODEV;
> + dev_crit(dev, "Could not get client data at remove, memory corruption ahead\n");
> + return 0;
Just change the return value 0 and log-level, message can be as it is.
BR, Jarkko
next prev parent reply other threads:[~2022-05-04 3:54 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-12 22:53 [PATCH] char: tpm: cr50_i2c: Drop if with an always false condition Uwe Kleine-König
2021-11-13 10:53 ` Jarkko Sakkinen
2021-11-13 21:53 ` Uwe Kleine-König
2021-11-16 15:55 ` Jarkko Sakkinen
2021-11-16 17:30 ` Uwe Kleine-König
2022-03-31 13:22 ` Uwe Kleine-König
2022-04-25 19:11 ` Uwe Kleine-König
2022-04-26 4:35 ` Jarkko Sakkinen
2022-04-26 8:06 ` [PATCH] char: tpm: cr50_i2c: Suppress duplicated error message in .remove() Uwe Kleine-König
2022-05-04 3:53 ` Jarkko Sakkinen [this message]
2022-05-04 4:06 ` Jarkko Sakkinen
2022-04-26 11:35 ` [PATCH] char: tpm: cr50_i2c: Drop if with an always false condition Jason Gunthorpe
2022-05-04 4:02 ` Jarkko Sakkinen
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=YnH4qge2KmmM27sC@kernel.org \
--to=jarkko@kernel.org \
--cc=jgg@ziepe.ca \
--cc=kernel@pengutronix.de \
--cc=linux-integrity@vger.kernel.org \
--cc=peterhuewe@gmx.de \
--cc=u.kleine-koenig@pengutronix.de \
/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.