From: Doug Anderson <dianders@chromium.org>
To: Jiri Kosina <jkosina@suse.cz>,
Benjamin Tissoires <benjamin.tissoires@redhat.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Kai-Heng Feng <kai.heng.feng@canonical.com>,
Hans de Goede <hdegoede@redhat.com>,
Rob Herring <robh+dt@kernel.org>,
"open list:HID CORE LAYER" <linux-input@vger.kernel.org>,
Stephen Boyd <swboyd@chromium.org>,
Andrea Borgia <andrea@borgia.bo.it>,
Jiri Kosina <jikos@kernel.org>,
Masahiro Yamada <masahiroy@kernel.org>,
Pavel Balan <admin@kryma.net>,
Xiaofei Tan <tanxiaofei@huawei.com>,
You-Sheng Yang <vicamo.yang@canonical.com>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v5 1/4] HID: i2c-hid: Reorganize so ACPI and OF are separate modules
Date: Mon, 9 Nov 2020 15:23:39 -0800 [thread overview]
Message-ID: <CAD=FV=UUS1U5YmOFjioU12o3ayb8W2rFh9bPTfaeGiBxZ0cXHg@mail.gmail.com> (raw)
In-Reply-To: <20201109133526.v5.1.Ied4ce10d229cd7c69abf13a0361ba0b8d82eb9c4@changeid>
Hi,
On Mon, Nov 9, 2020 at 1:37 PM Douglas Anderson <dianders@chromium.org> wrote:
>
> +int i2c_hid_acpi_probe(struct i2c_client *client,
> + const struct i2c_device_id *dev_id)
> +{
> + struct device *dev = &client->dev;
> + struct i2c_hid_acpi *ihid_acpi;
> + u16 hid_descriptor_address;
> + int ret;
> +
> + ihid_acpi = devm_kzalloc(&client->dev, sizeof(*ihid_acpi), GFP_KERNEL);
> + if (!ihid_acpi)
> + return -ENOMEM;
> +
Turns out one way to find some folks to help me test this code is to
break them. Maybe not a good way, but a way. :(
There should have been a:
ihid_acpi->client = client;
...here. If you're willing to look at Chrome OS gerrit pages, you can
find the fix at <https://crrev.com/c/2527946>.
If everything about this patch looks good, I'm OK w/ a maintainer
fixing this when applying. I'm also happy to send out a v6, but I'll
wait a little bit in case there are other comments.
-Doug
next prev parent reply other threads:[~2020-11-09 23:23 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-09 21:36 [PATCH v5 0/4] HID: i2c-hid: Reorganize to allow supporting goodix,gt7375p Douglas Anderson
2020-11-09 21:36 ` [PATCH v5 1/4] HID: i2c-hid: Reorganize so ACPI and OF are separate modules Douglas Anderson
2020-11-09 23:23 ` Doug Anderson [this message]
2020-11-10 9:01 ` Hans de Goede
2020-11-10 22:17 ` Doug Anderson
2020-11-11 0:04 ` Dmitry Torokhov
2020-11-11 11:10 ` Hans de Goede
2020-11-11 11:13 ` Hans de Goede
2020-11-09 21:36 ` [PATCH v5 2/4] arm64: defconfig: Update config names for i2c-hid rejigger Douglas Anderson
2020-11-09 21:36 ` [PATCH v5 3/4] dt-bindings: input: HID: i2c-hid: Introduce bindings for the Goodix GT7375P Douglas Anderson
2020-11-09 21:36 ` [PATCH v5 4/4] HID: i2c-hid: Introduce goodix-i2c-hid using i2c-hid core Douglas Anderson
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='CAD=FV=UUS1U5YmOFjioU12o3ayb8W2rFh9bPTfaeGiBxZ0cXHg@mail.gmail.com' \
--to=dianders@chromium.org \
--cc=admin@kryma.net \
--cc=andrea@borgia.bo.it \
--cc=benjamin.tissoires@redhat.com \
--cc=dmitry.torokhov@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=hdegoede@redhat.com \
--cc=jikos@kernel.org \
--cc=jkosina@suse.cz \
--cc=kai.heng.feng@canonical.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=masahiroy@kernel.org \
--cc=robh+dt@kernel.org \
--cc=swboyd@chromium.org \
--cc=tanxiaofei@huawei.com \
--cc=vicamo.yang@canonical.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 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 NNTP newsgroup(s).