From: Andi Shyti <andi.shyti@kernel.org>
To: Heiner Kallweit <hkallweit1@gmail.com>
Cc: Jean Delvare <jdelvare@suse.com>,
Wolfram Sang <wsa@the-dreams.de>,
"linux-i2c@vger.kernel.org" <linux-i2c@vger.kernel.org>
Subject: Re: [PATCH v2] i2c: i801: Fix using mux_pdev before it's set
Date: Mon, 4 Mar 2024 01:33:14 +0100 [thread overview]
Message-ID: <ezran53u2uths36tt2o36uh3bsoufo4n3zzlygwha7pazzx7hc@2focqd3wxtia> (raw)
In-Reply-To: <6db1e4ad-14b5-4d0e-ac06-46541970ce0e@gmail.com>
Hi Heiner,
On Sun, Mar 03, 2024 at 11:45:22AM +0100, Heiner Kallweit wrote:
> i801_probe_optional_slaves() is called before i801_add_mux().
> This results in mux_pdev being checked before it's set by
> i801_add_mux(). Fix this by changing the order of the calls.
> I consider this safe as I see no dependencies.
>
> Fixes: 80e56b86b59e ("i2c: i801: Simplify class-based client device instantiation")
> Cc: stable@vger.kernel.org
> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Thanks,
Andi
next prev parent reply other threads:[~2024-03-04 0:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-03 10:45 [PATCH v2] i2c: i801: Fix using mux_pdev before it's set Heiner Kallweit
2024-03-04 0:33 ` Andi Shyti [this message]
2024-03-06 11:55 ` Andi Shyti
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=ezran53u2uths36tt2o36uh3bsoufo4n3zzlygwha7pazzx7hc@2focqd3wxtia \
--to=andi.shyti@kernel.org \
--cc=hkallweit1@gmail.com \
--cc=jdelvare@suse.com \
--cc=linux-i2c@vger.kernel.org \
--cc=wsa@the-dreams.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).