mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* drivers/acpi/x86/apple.c:30:6: warning: no previous declaration for 'acpi_extract_apple_properties'
@ 2022-09-01 20:41 kernel test robot
  2022-09-02  2:15 ` [PATCH] ACPI / property: Silence missing-declarations warning in apple.c Lukas Wunner
  0 siblings, 1 reply; 4+ messages in thread
From: kernel test robot @ 2022-09-01 20:41 UTC (permalink / raw)
  To: Lukas Wunner; +Cc: kbuild-all, linux-kernel, Rafael J. Wysocki, Andy Shevchenko

Hi Lukas,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   42e66b1cc3a070671001f8a1e933a80818a192bf
commit: 899596e090ea21918c55cbccea594be840af44ea ACPI / property: Support Apple _DSM properties
date:   5 years ago
config: i386-randconfig-a002 (https://download.01.org/0day-ci/archive/20220902/202209020412.Ts31BZrs-lkp@intel.com/config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=899596e090ea21918c55cbccea594be840af44ea
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 899596e090ea21918c55cbccea594be840af44ea
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash arch/x86/kernel/cpu/ arch/x86/kvm/ drivers/acpi/ virt/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/acpi/x86/apple.c:30:6: warning: no previous declaration for 'acpi_extract_apple_properties' [-Wmissing-declarations]
    void acpi_extract_apple_properties(struct acpi_device *adev)
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/acpi_extract_apple_properties +30 drivers/acpi/x86/apple.c

    14	
    15	/* Apple _DSM device properties GUID */
    16	static const guid_t apple_prp_guid =
    17		GUID_INIT(0xa0b5b7c6, 0x1318, 0x441c,
    18			  0xb0, 0xc9, 0xfe, 0x69, 0x5e, 0xaf, 0x94, 0x9b);
    19	
    20	/**
    21	 * acpi_extract_apple_properties - retrieve and convert Apple _DSM properties
    22	 * @adev: ACPI device for which to retrieve the properties
    23	 *
    24	 * Invoke Apple's custom _DSM once to check the protocol version and once more
    25	 * to retrieve the properties.  They are marshalled up in a single package as
    26	 * alternating key/value elements, unlike _DSD which stores them as a package
    27	 * of 2-element packages.  Convert to _DSD format and make them available under
    28	 * the primary fwnode.
    29	 */
  > 30	void acpi_extract_apple_properties(struct acpi_device *adev)

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-09-03 19:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-01 20:41 drivers/acpi/x86/apple.c:30:6: warning: no previous declaration for 'acpi_extract_apple_properties' kernel test robot
2022-09-02  2:15 ` [PATCH] ACPI / property: Silence missing-declarations warning in apple.c Lukas Wunner
2022-09-02  9:47   ` Andy Shevchenko
2022-09-03 19:00     ` Rafael J. Wysocki

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®