All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] intel-hid: Fix build failure when CONFIG_INTEL_HID_EVENT=m
       [not found] <1451559413-30977-1-git-send-email-sedat.dilek@gmail.com>
@ 2015-12-31 12:28 ` Andy Lutomirski
  2016-01-04 19:28   ` Darren Hart
  0 siblings, 1 reply; 5+ messages in thread
From: Andy Lutomirski @ 2015-12-31 12:28 UTC (permalink / raw)
  To: Sedat Dilek, Darren Hart, platform-driver-x86; +Cc: Alex Hung, Andy Lutomirski

Hi Darren-

It looks like your tree will need this fix.

Thanks,
Andy

On Thu, Dec 31, 2015 at 2:56 AM, Sedat Dilek <sedat.dilek@gmail.com> wrote:
> When building with CONFIG_INTEL_HID_EVENT=m on Andy's luto.git#xps13
> Git branch I see the following build failure:
>
> ERROR: "sparse_keymap_setup" [drivers/platform/x86/intel-hid.ko] undefined!
> ERROR: "sparse_keymap_report_event" [drivers/platform/x86/intel-hid.ko] undefined!
>
> Looks like 'select INPUT_SPARSEKMAP' is missing.
>
> Fixes: e06871da47db ("intel-hid: new hid event driver for hotkeys")
> CC: Alex Hung <alex.hung@canonical.com>
> CC: Andy Lutomirski <luto@kernel.org>
> Signed-off-by: Sedat Dilek <sedat.dilek@gmail.com>
> ---
>  drivers/platform/x86/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
> index 96a4f18a1c35..ee0ff9287159 100644
> --- a/drivers/platform/x86/Kconfig
> +++ b/drivers/platform/x86/Kconfig
> @@ -747,6 +747,7 @@ config INTEL_HID_EVENT
>         tristate "INTEL HID Event Filter"
>         depends on ACPI
>         depends on INPUT
> +       select INPUT_SPARSEKMAP
>         help
>          This driver provides supports for Intel HID event. Some laptops
>          require this driver for hotkey supports.
> --
> 2.6.4
>



-- 
Andy Lutomirski
AMA Capital Management, LLC

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

* [PATCH] intel-hid: Fix build failure when CONFIG_INTEL_HID_EVENT=m
@ 2016-01-03 14:54 Andy Lutomirski
  2016-01-04  5:56 ` Alex Hung
  2016-01-04  6:34 ` Sedat Dilek
  0 siblings, 2 replies; 5+ messages in thread
From: Andy Lutomirski @ 2016-01-03 14:54 UTC (permalink / raw)
  To: platform-driver-x86; +Cc: Alex Hung, Darren Hart, Sedat Dilek, Andy Lutomirski

From: Sedat Dilek <sedat.dilek@gmail.com>

When building with CONFIG_INTEL_HID_EVENT=m on Andy's luto.git#xps13
Git branch I see the following build failure:

ERROR: "sparse_keymap_setup" [drivers/platform/x86/intel-hid.ko] undefined!
ERROR: "sparse_keymap_report_event" [drivers/platform/x86/intel-hid.ko] undefined!

Looks like 'select INPUT_SPARSEKMAP' is missing.

Fixes: cd8d25841a65 ("intel-hid: new hid event driver for hotkeys")
[andy: fixed commit hash above]
CC: Alex Hung <alex.hung@canonical.com>
CC: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Sedat Dilek <sedat.dilek@gmail.com>
Signed-off-by: Andy Lutomirski <luto@kernel.org>
---

Hi Alex and Darren-

I'm relaying this fix from Sedat with a trivial correction.

drivers/platform/x86/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
index d0bfcf8e8b8e..9d7704e51366 100644
--- a/drivers/platform/x86/Kconfig
+++ b/drivers/platform/x86/Kconfig
@@ -736,6 +736,7 @@ config INTEL_HID_EVENT
 	tristate "INTEL HID Event"
 	depends on ACPI
 	depends on INPUT
+	select INPUT_SPARSEKMAP
 	help
 	  This driver provides support for the Intel HID Event hotkey interface.
 	  Some laptops require this driver for hotkey support.
-- 
2.5.0

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

* Re: [PATCH] intel-hid: Fix build failure when CONFIG_INTEL_HID_EVENT=m
  2016-01-03 14:54 Andy Lutomirski
@ 2016-01-04  5:56 ` Alex Hung
  2016-01-04  6:34 ` Sedat Dilek
  1 sibling, 0 replies; 5+ messages in thread
From: Alex Hung @ 2016-01-04  5:56 UTC (permalink / raw)
  To: Andy Lutomirski
  Cc: platform-driver-x86@vger.kernel.org, Darren Hart, Sedat Dilek

It seems that I have "INPUT_SPARSEKMAP" in my .config and therefore I
did not have any problems when compiling the kernel with previous
patch.

I tried this patch and it works fine for me.

Tested-by: Alex Hung <alex.hung@canonical.com>

On Sun, Jan 3, 2016 at 10:54 PM, Andy Lutomirski <luto@kernel.org> wrote:
> From: Sedat Dilek <sedat.dilek@gmail.com>
>
> When building with CONFIG_INTEL_HID_EVENT=m on Andy's luto.git#xps13
> Git branch I see the following build failure:
>
> ERROR: "sparse_keymap_setup" [drivers/platform/x86/intel-hid.ko] undefined!
> ERROR: "sparse_keymap_report_event" [drivers/platform/x86/intel-hid.ko] undefined!
>
> Looks like 'select INPUT_SPARSEKMAP' is missing.
>
> Fixes: cd8d25841a65 ("intel-hid: new hid event driver for hotkeys")
> [andy: fixed commit hash above]
> CC: Alex Hung <alex.hung@canonical.com>
> CC: Andy Lutomirski <luto@kernel.org>
> Signed-off-by: Sedat Dilek <sedat.dilek@gmail.com>
> Signed-off-by: Andy Lutomirski <luto@kernel.org>
> ---
>
> Hi Alex and Darren-
>
> I'm relaying this fix from Sedat with a trivial correction.
>
> drivers/platform/x86/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
> index d0bfcf8e8b8e..9d7704e51366 100644
> --- a/drivers/platform/x86/Kconfig
> +++ b/drivers/platform/x86/Kconfig
> @@ -736,6 +736,7 @@ config INTEL_HID_EVENT
>         tristate "INTEL HID Event"
>         depends on ACPI
>         depends on INPUT
> +       select INPUT_SPARSEKMAP
>         help
>           This driver provides support for the Intel HID Event hotkey interface.
>           Some laptops require this driver for hotkey support.
> --
> 2.5.0
>



-- 
Cheers,
Alex Hung

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

* Re: [PATCH] intel-hid: Fix build failure when CONFIG_INTEL_HID_EVENT=m
  2016-01-03 14:54 Andy Lutomirski
  2016-01-04  5:56 ` Alex Hung
@ 2016-01-04  6:34 ` Sedat Dilek
  1 sibling, 0 replies; 5+ messages in thread
From: Sedat Dilek @ 2016-01-04  6:34 UTC (permalink / raw)
  To: Andy Lutomirski; +Cc: platform-driver-x86, Alex Hung, Darren Hart

On Sun, Jan 3, 2016 at 3:54 PM, Andy Lutomirski <luto@kernel.org> wrote:
> From: Sedat Dilek <sedat.dilek@gmail.com>
>
> When building with CONFIG_INTEL_HID_EVENT=m on Andy's luto.git#xps13
> Git branch I see the following build failure:
>
> ERROR: "sparse_keymap_setup" [drivers/platform/x86/intel-hid.ko] undefined!
> ERROR: "sparse_keymap_report_event" [drivers/platform/x86/intel-hid.ko] undefined!
>
> Looks like 'select INPUT_SPARSEKMAP' is missing.
>
> Fixes: cd8d25841a65 ("intel-hid: new hid event driver for hotkeys")
> [andy: fixed commit hash above]

Happy and prosperous new 2016,

OK, this was refreshed against linux-platform-drivers-x86.git#for-next
where intel-hid driver was already included.

[ Next/Trees ]
drivers-x86 git
git://git.infradead.org/users/dvhart/linux-platform-drivers-x86.git#for-next

Thanks Andy and all involved people.

- Sedat -

P.S.: Personally, I do not need the intel-hid driver. I was interested
in 4 patches from luto.git/xps13 in the area acpi-pm/pci-aspm/hid/etc.
(as I have ACPI-OSC/ASPM troubles and with llvmlinux I see a hid
issue) which are all in the appropriate -next trees.
Looks like Dell's XPS13 9350 (Skylake) is well supported on Linux -
worth promoting.
( Maybe I try today's Linux-next tree. )

[1] http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/Next/Trees

> CC: Alex Hung <alex.hung@canonical.com>
> CC: Andy Lutomirski <luto@kernel.org>
> Signed-off-by: Sedat Dilek <sedat.dilek@gmail.com>
> Signed-off-by: Andy Lutomirski <luto@kernel.org>
> ---
>
> Hi Alex and Darren-
>
> I'm relaying this fix from Sedat with a trivial correction.
>
> drivers/platform/x86/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
> index d0bfcf8e8b8e..9d7704e51366 100644
> --- a/drivers/platform/x86/Kconfig
> +++ b/drivers/platform/x86/Kconfig
> @@ -736,6 +736,7 @@ config INTEL_HID_EVENT
>         tristate "INTEL HID Event"
>         depends on ACPI
>         depends on INPUT
> +       select INPUT_SPARSEKMAP
>         help
>           This driver provides support for the Intel HID Event hotkey interface.
>           Some laptops require this driver for hotkey support.
> --
> 2.5.0
>

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

* Re: [PATCH] intel-hid: Fix build failure when CONFIG_INTEL_HID_EVENT=m
  2015-12-31 12:28 ` [PATCH] intel-hid: Fix build failure when CONFIG_INTEL_HID_EVENT=m Andy Lutomirski
@ 2016-01-04 19:28   ` Darren Hart
  0 siblings, 0 replies; 5+ messages in thread
From: Darren Hart @ 2016-01-04 19:28 UTC (permalink / raw)
  To: Andy Lutomirski
  Cc: Sedat Dilek, platform-driver-x86, Alex Hung, Andy Lutomirski

On Thu, Dec 31, 2015 at 04:28:08AM -0800, Andy Lutomirski wrote:
> Hi Darren-
> 
> It looks like your tree will need this fix.
> 
> Thanks,
> Andy

Thanks, since this is still in for-next, I've merged the following, crediting
Sedat, with the original patch. We don't want to introduce a build breakage by
applying this as a separate patch.

Sedat, please Cc all maintainers listed by get_maintainer.pl in the future.

Thanks,

> 
> On Thu, Dec 31, 2015 at 2:56 AM, Sedat Dilek <sedat.dilek@gmail.com> wrote:
> > When building with CONFIG_INTEL_HID_EVENT=m on Andy's luto.git#xps13
> > Git branch I see the following build failure:
> >
> > ERROR: "sparse_keymap_setup" [drivers/platform/x86/intel-hid.ko] undefined!
> > ERROR: "sparse_keymap_report_event" [drivers/platform/x86/intel-hid.ko] undefined!
> >
> > Looks like 'select INPUT_SPARSEKMAP' is missing.
> >
> > Fixes: e06871da47db ("intel-hid: new hid event driver for hotkeys")
> > CC: Alex Hung <alex.hung@canonical.com>
> > CC: Andy Lutomirski <luto@kernel.org>
> > Signed-off-by: Sedat Dilek <sedat.dilek@gmail.com>
> > ---
> >  drivers/platform/x86/Kconfig | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
> > index 96a4f18a1c35..ee0ff9287159 100644
> > --- a/drivers/platform/x86/Kconfig
> > +++ b/drivers/platform/x86/Kconfig
> > @@ -747,6 +747,7 @@ config INTEL_HID_EVENT
> >         tristate "INTEL HID Event Filter"
> >         depends on ACPI
> >         depends on INPUT
> > +       select INPUT_SPARSEKMAP
> >         help
> >          This driver provides supports for Intel HID event. Some laptops
> >          require this driver for hotkey supports.
> > --
> > 2.6.4
> >
> 
> 
> 
> -- 
> Andy Lutomirski
> AMA Capital Management, LLC
> 

-- 
Darren Hart
Intel Open Source Technology Center

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

end of thread, other threads:[~2016-01-04 19:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1451559413-30977-1-git-send-email-sedat.dilek@gmail.com>
2015-12-31 12:28 ` [PATCH] intel-hid: Fix build failure when CONFIG_INTEL_HID_EVENT=m Andy Lutomirski
2016-01-04 19:28   ` Darren Hart
2016-01-03 14:54 Andy Lutomirski
2016-01-04  5:56 ` Alex Hung
2016-01-04  6:34 ` Sedat Dilek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.