From: Andy Shevchenko <andy@kernel.org>
To: Hans de Goede <hdegoede@redhat.com>
Cc: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
platform-driver-x86@vger.kernel.org,
"kernel test robot" <lkp@intel.com>
Subject: Re: [PATCH v3 2/8] platform/x86: x86-android-tablets: Make variables only used locally static
Date: Thu, 5 Dec 2024 11:03:04 +0200 [thread overview]
Message-ID: <Z1FsSKVp8SldyLre@smile.fi.intel.com> (raw)
In-Reply-To: <20241204204227.95757-3-hdegoede@redhat.com>
On Wed, Dec 04, 2024 at 09:42:13PM +0100, Hans de Goede wrote:
> Commit 06f876def346 ("platform/x86: x86-android-tablets: Add support for
> Vexia EDU ATLA 10 tablet") omitted the static keyword from some variables
> which are only used inside other.c .
>
> Add the missing static keyword to these, this fixes the following warnings:
>
> drivers/platform/x86/x86-android-tablets/other.c:605:12: sparse: sparse: symbol 'crystal_cove_pwrsrc_psy' was not declared. Should it be static?
> drivers/platform/x86/x86-android-tablets/other.c:612:28: sparse: sparse: symbol 'vexia_edu_atla10_ulpmc_node' was not declared. Should it be static?
I believe you can shorten these lines like
.../x86-android-tablets/<and so on>
(Note '...' instead of PDx86 root path.)
Reviewed-by: Andy Shevchenko <andy@kernel.org>
--
With Best Regards,
Andy Shevchenko
next prev parent reply other threads:[~2024-12-05 9:03 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-04 20:42 [PATCH v3 0/8] platform/x86: x86-android-tablets: Add Bluetooth support for Vexia EDU ATLA 10 Hans de Goede
2024-12-04 20:42 ` [PATCH v3 1/8] platform/x86: x86-android-tablets: Add missing __init to get_i2c_adap_by_*() Hans de Goede
2024-12-04 20:42 ` [PATCH v3 2/8] platform/x86: x86-android-tablets: Make variables only used locally static Hans de Goede
2024-12-05 9:03 ` Andy Shevchenko [this message]
2024-12-08 14:16 ` Hans de Goede
2024-12-04 20:42 ` [PATCH v3 3/8] platform/x86: serdev_helpers: Check for serial_ctrl_uid == NULL Hans de Goede
2024-12-05 9:05 ` Andy Shevchenko
2024-12-05 10:32 ` Ilpo Järvinen
2024-12-05 14:11 ` Andy Shevchenko
2024-12-04 20:42 ` [PATCH v3 4/8] platform/x86: serdev_helpers: Add get_serdev_controller_from_parent() helper Hans de Goede
2024-12-04 20:42 ` [PATCH v3 5/8] platform/x86: x86-android-tablets: Change x86_instantiate_serdev() prototype Hans de Goede
2024-12-04 20:42 ` [PATCH v3 6/8] platform/x86: x86-android-tablets: Store serdev-controller ACPI HID + UID in a union Hans de Goede
2024-12-04 20:42 ` [PATCH v3 7/8] platform/x86: x86-android-tablets: Add support for getting serdev-controller by PCI parent Hans de Goede
2024-12-04 20:42 ` [PATCH v3 8/8] platform/x86: x86-android-tablets: Add Bluetooth support for Vexia EDU ATLA 10 Hans de Goede
2024-12-10 14:03 ` [PATCH v3 0/8] " Ilpo Järvinen
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=Z1FsSKVp8SldyLre@smile.fi.intel.com \
--to=andy@kernel.org \
--cc=hdegoede@redhat.com \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=lkp@intel.com \
--cc=platform-driver-x86@vger.kernel.org \
/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