From: "Ivan T. Ivanov" <iivanov@suse.de>
To: corey@minyard.net
Cc: minyard@acm.org, openipmi-developer@lists.sourceforge.net,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ipmi:ssif: Exit early when there is a SMBus error
Date: Tue, 20 Aug 2024 13:20:05 +0300 [thread overview]
Message-ID: <20240820102005.4l2j73jpt7lmwloh@localhost.localdomain> (raw)
In-Reply-To: <84eb700ee647cc40e9e99b086a8648e3@suse.de>
On 08-18 12:27, Ivan T. Ivanov wrote:
>
> >
> > 3) It appears the response to the GET_DEVICE_ID command, though a
> > response is returned, is not valid. The right way to handle this would
> > be to do more validation in the ssif_detect() function. It doesn't do
> > any validation of the response data, and that's really what needs to be
> > done.
> >
>
> do_cmd() in ssif_detect() already do validation. Perhaps,
> ssif_probe() should just not return ENODEV in case of error.
>
Oh, I wanted to say ssif_detect, not ssif_probe.
Regards,
Ivan
next prev parent reply other threads:[~2024-08-20 10:15 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-16 6:54 Ivan T. Ivanov
2024-08-16 18:04 ` Corey Minyard
2024-08-18 9:27 ` Ivan T. Ivanov
2024-08-20 10:20 ` Ivan T. Ivanov [this message]
2024-08-20 15:31 ` Corey Minyard
2024-08-20 15:42 ` Ivan T. Ivanov
2024-08-21 1:05 ` [PATCH] ipmi:ssif: Improve detecting during probing Corey Minyard
2024-08-22 7:22 ` Ivan T. Ivanov
2024-08-22 14:40 ` Corey Minyard
2024-08-26 11:31 ` Ivan T. Ivanov
2024-09-10 10:25 ` Ivan T. Ivanov
2024-09-10 11:30 ` Corey Minyard
2024-09-10 12:05 ` Ivan T. Ivanov
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=20240820102005.4l2j73jpt7lmwloh@localhost.localdomain \
--to=iivanov@suse.de \
--cc=corey@minyard.net \
--cc=linux-kernel@vger.kernel.org \
--cc=minyard@acm.org \
--cc=openipmi-developer@lists.sourceforge.net \
/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
all inboxes | Powered by JetHome®