* Re: [PATCH RESEND] maibox:Remove unused functions in the file pcc.c [not found] <1452577283-30122-1-git-send-email-xerofoify@gmail.com> @ 2016-01-14 16:37 ` Jassi Brar 2016-01-14 17:03 ` Ashwin Chaugule 0 siblings, 1 reply; 4+ messages in thread From: Jassi Brar @ 2016-01-14 16:37 UTC (permalink / raw) To: Nicholas Krause; +Cc: Linux Kernel Mailing List, Ashwin Chaugule On Tue, Jan 12, 2016 at 11:11 AM, Nicholas Krause <xerofoify@gmail.com> wrote: > This removes the unused function pcc_mbox_request_channel > due to having no more callers in this driver or else where > in the kernel. In addition remove the function get_pcc_channel > now due to this function's only caller pcc_mbox_request_channel > being removed from the file pcc.c in this patch too. > CC'ing Ashwin, the author of this api. ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH RESEND] maibox:Remove unused functions in the file pcc.c 2016-01-14 16:37 ` [PATCH RESEND] maibox:Remove unused functions in the file pcc.c Jassi Brar @ 2016-01-14 17:03 ` Ashwin Chaugule 2016-01-14 17:32 ` Valdis.Kletnieks 0 siblings, 1 reply; 4+ messages in thread From: Ashwin Chaugule @ 2016-01-14 17:03 UTC (permalink / raw) To: Jassi Brar; +Cc: Nicholas Krause, Linux Kernel Mailing List On 14 January 2016 at 11:37, Jassi Brar <jassisinghbrar@gmail.com> wrote: > On Tue, Jan 12, 2016 at 11:11 AM, Nicholas Krause <xerofoify@gmail.com> wrote: >> This removes the unused function pcc_mbox_request_channel >> due to having no more callers in this driver or else where >> in the kernel. In addition remove the function get_pcc_channel >> now due to this function's only caller pcc_mbox_request_channel >> being removed from the file pcc.c in this patch too. >> > CC'ing Ashwin, the author of this api. Have you looked in - https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/acpi/cppc_acpi.c ? Ashwin ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH RESEND] maibox:Remove unused functions in the file pcc.c 2016-01-14 17:03 ` Ashwin Chaugule @ 2016-01-14 17:32 ` Valdis.Kletnieks [not found] ` <5697F683.7010606@gmail.com> 0 siblings, 1 reply; 4+ messages in thread From: Valdis.Kletnieks @ 2016-01-14 17:32 UTC (permalink / raw) To: Ashwin Chaugule; +Cc: Jassi Brar, Nicholas Krause, Linux Kernel Mailing List [-- Attachment #1: Type: text/plain, Size: 734 bytes --] On Thu, 14 Jan 2016 12:03:28 -0500, Ashwin Chaugule said: > On 14 January 2016 at 11:37, Jassi Brar <jassisinghbrar@gmail.com> wrote: > > On Tue, Jan 12, 2016 at 11:11 AM, Nicholas Krause <xerofoify@gmail.com> wrote: > >> This removes the unused function pcc_mbox_request_channel > >> due to having no more callers in this driver or else where > >> in the kernel. In addition remove the function get_pcc_channel > >> now due to this function's only caller pcc_mbox_request_channel > >> being removed from the file pcc.c in this patch too. > >> > > CC'ing Ashwin, the author of this api. > > Have you looked in - > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/acpi/cppc_acpi.c > ? Of course he didn't. [-- Attachment #2: Type: application/pgp-signature, Size: 848 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <5697F683.7010606@gmail.com>]
* Re: [PATCH RESEND] maibox:Remove unused functions in the file pcc.c [not found] ` <5697F683.7010606@gmail.com> @ 2016-01-14 20:32 ` Valdis.Kletnieks 0 siblings, 0 replies; 4+ messages in thread From: Valdis.Kletnieks @ 2016-01-14 20:32 UTC (permalink / raw) To: nick; +Cc: Ashwin Chaugule, Jassi Brar, Linux Kernel Mailing List [-- Attachment #1: Type: text/plain, Size: 1445 bytes --] On Thu, 14 Jan 2016 14:26:59 -0500, nick said: > > > On 2016-01-14 12:32 PM, Valdis.Kletnieks@vt.edu wrote: > >> Have you looked in - > >> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/acpi/cppc_acpi.c > >> ? > > > > Of course he didn't. > > > Or maybe he did a allmodconfig build on x86_64 bit and either that file builds correctly on x86 with That doesn't excuse not doing a 'git grep pcc_mbox_request_channel' or a 'grep -r pcc_mbox_request_channel .', both of which would have find the caller. > the patch applied due to it never being use on x86 or Kconfig files incorrectly set for allmodconfig > builds on x86 for this file, or maybe my compiler is broken but I doubt that as it works for all other > build errors similar to this. Or you don't have the foggiest clue how Kconfig works, and don't understand why in a 'allmodconfig' this file is *NOT* built. Hint 1: grep cppc drivers/acpi/Makefile obj-$(CONFIG_ACPI_CPPC_LIB) += cppc_acpi.o Hint 2: In the Kconfig: config ACPI_CPPC_LIB bool depends on ACPI_PROCESSOR depends on !ACPI_CPU_FREQ_PSS config ACPI_PROCESSOR tristate "Processor" depends on X86 || IA64 || ARM64 select ACPI_PROCESSOR_IDLE if X86 || IA64 select ACPI_CPU_FREQ_PSS if X86 || IA64 It's left as an exercise for the reader to figure out what happens to ACPI_CPPC_LIB when 'make allmodconfig' sets ACPI_PROCESSOR=m [-- Attachment #2: Type: application/pgp-signature, Size: 848 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-01-14 20:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1452577283-30122-1-git-send-email-xerofoify@gmail.com>
2016-01-14 16:37 ` [PATCH RESEND] maibox:Remove unused functions in the file pcc.c Jassi Brar
2016-01-14 17:03 ` Ashwin Chaugule
2016-01-14 17:32 ` Valdis.Kletnieks
[not found] ` <5697F683.7010606@gmail.com>
2016-01-14 20:32 ` Valdis.Kletnieks
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®