All of lore.kernel.org
 help / color / mirror / Atom feed
* pinctrl-msm build error on Linus' tree
@ 2014-10-08 22:42 Josh Boyer
  2014-10-08 22:49 ` Josh Cartwright
  2014-10-08 23:12 ` Guenter Roeck
  0 siblings, 2 replies; 11+ messages in thread
From: Josh Boyer @ 2014-10-08 22:42 UTC (permalink / raw)
  To: Josh Cartwright, Pramod Gurav, Bjorn Andersson, Guenter Roeck,
	Linus Walleij
  Cc: Linux-Kernel@Vger. Kernel. Org

We're hitting a build error on ARM with Linus' tree as of Linux
v3.17-2860-gef0625b70dac :

drivers/pinctrl/qcom/pinctrl-msm.c: In function 'msm_pinctrl_setup_pm_reset':
drivers/pinctrl/qcom/pinctrl-msm.c:875:4: error: implicit declaration
of function 'register_restart_handler'
[-Werror=implicit-function-declaration]
    if (register_restart_handler(&pctrl->restart_nb))
    ^
drivers/pinctrl/qcom/pinctrl-msm.c: In function 'msm_pinctrl_remove':
drivers/pinctrl/qcom/pinctrl-msm.c:949:2: error: implicit declaration
of function 'unregister_restart_handler'
[-Werror=implicit-function-declaration]
  unregister_restart_handler(&pctrl->restart_nb);
  ^
cc1: some warnings being treated as errors

Looking at the git logs it seems this was added via:

commit cf1fc187628913070c3e418ce0e205732435aa2f
Author: Josh Cartwright <joshc@codeaurora.org>
Date:   Tue Sep 23 15:59:53 2014 -0500

    pinctrl: qcom: use restart_notifier mechanism for ps_hold


However, there is literally nothing else in the tree that calls or
provides those functions:

[jwboyer@vader linux]$ git grep unregister_restart_handler
drivers/pinctrl/qcom/pinctrl-msm.c:     unregister_restart_handler(&pctrl->resta
[jwboyer@vader linux]$


I'm rather confused.  How was this commit built and tested?

josh

Full build log here:
http://koji.fedoraproject.org/koji/getfile?taskID=7803166&name=build.log

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

end of thread, other threads:[~2014-10-10 16:22 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-08 22:42 pinctrl-msm build error on Linus' tree Josh Boyer
2014-10-08 22:49 ` Josh Cartwright
2014-10-08 23:09   ` Josh Boyer
2014-10-08 23:18     ` Guenter Roeck
2014-10-08 23:12 ` Guenter Roeck
2014-10-09  7:34   ` Linus Walleij
2014-10-09 16:07     ` Guenter Roeck
2014-10-10  8:42       ` Linus Walleij
2014-10-10 16:02         ` Guenter Roeck
2014-10-10 16:05           ` Josh Boyer
2014-10-10 16:22             ` Guenter Roeck

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.