All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] MAINTAINERS: Hibernation or S2R doesn't cover entire power directory
@ 2017-09-20 15:58 Viresh Kumar
  2017-09-24 22:44 ` Rafael J. Wysocki
  0 siblings, 1 reply; 4+ messages in thread
From: Viresh Kumar @ 2017-09-20 15:58 UTC (permalink / raw)
  To: Rafael Wysocki
  Cc: linux-pm, Vincent Guittot, pavel, len.brown, Viresh Kumar, linux-kernel

The command:

 $ scripts/get_maintainer.pl -f drivers/base/power/opp/core.c

is incorrectly picking maintainers from Hibernation and Suspend to RAM
as well, simply because the entries in MAINTAINERS file contains the
entire power directory. Though the only concerning file is main.c
really. Mention the exact file name to fix it.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
---
 MAINTAINERS | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/MAINTAINERS b/MAINTAINERS
index 2281af4b41b6..59521c15c65e 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -6150,7 +6150,7 @@ L:	linux-pm@vger.kernel.org
 B:	https://bugzilla.kernel.org
 S:	Supported
 F:	arch/x86/power/
-F:	drivers/base/power/
+F:	drivers/base/power/main.c
 F:	kernel/power/
 F:	include/linux/suspend.h
 F:	include/linux/freezer.h
@@ -12809,7 +12809,7 @@ B:	https://bugzilla.kernel.org
 S:	Supported
 F:	Documentation/power/
 F:	arch/x86/kernel/acpi/
-F:	drivers/base/power/
+F:	drivers/base/power/main.c
 F:	kernel/power/
 F:	include/linux/suspend.h
 F:	include/linux/freezer.h
-- 
2.7.4

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

* Re: [PATCH] MAINTAINERS: Hibernation or S2R doesn't cover entire power directory
  2017-09-20 15:58 [PATCH] MAINTAINERS: Hibernation or S2R doesn't cover entire power directory Viresh Kumar
@ 2017-09-24 22:44 ` Rafael J. Wysocki
  2017-09-25 23:10   ` Viresh Kumar
  0 siblings, 1 reply; 4+ messages in thread
From: Rafael J. Wysocki @ 2017-09-24 22:44 UTC (permalink / raw)
  To: Viresh Kumar
  Cc: Rafael Wysocki, Linux PM, Vincent Guittot, Pavel Machek,
	Len Brown, Linux Kernel Mailing List

On Wed, Sep 20, 2017 at 5:58 PM, Viresh Kumar <viresh.kumar@linaro.org> wrote:
> The command:
>
>  $ scripts/get_maintainer.pl -f drivers/base/power/opp/core.c
>
> is incorrectly picking maintainers from Hibernation and Suspend to RAM
> as well, simply because the entries in MAINTAINERS file contains the
> entire power directory. Though the only concerning file is main.c
> really.

No, it is not the only one.  The others are common.c, trace.c,
wakeup.c, wakeirq.c, sysfs.c, generic_ops.c and power.h (if I have not
overlooked any).

I'm not actually sure how to fix this issue other than by listing all
of the files in question directly in there.

Thanks,
Rafael

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

* Re: [PATCH] MAINTAINERS: Hibernation or S2R doesn't cover entire power directory
  2017-09-24 22:44 ` Rafael J. Wysocki
@ 2017-09-25 23:10   ` Viresh Kumar
  2017-09-25 23:18     ` Rafael J. Wysocki
  0 siblings, 1 reply; 4+ messages in thread
From: Viresh Kumar @ 2017-09-25 23:10 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Rafael Wysocki, Linux PM, Vincent Guittot, Pavel Machek,
	Len Brown, Linux Kernel Mailing List

On 25-09-17, 00:44, Rafael J. Wysocki wrote:
> On Wed, Sep 20, 2017 at 5:58 PM, Viresh Kumar <viresh.kumar@linaro.org> wrote:
> > The command:
> >
> >  $ scripts/get_maintainer.pl -f drivers/base/power/opp/core.c
> >
> > is incorrectly picking maintainers from Hibernation and Suspend to RAM
> > as well, simply because the entries in MAINTAINERS file contains the
> > entire power directory. Though the only concerning file is main.c
> > really.
> 
> No, it is not the only one.  The others are common.c, trace.c,
> wakeup.c, wakeirq.c, sysfs.c, generic_ops.c and power.h (if I have not
> overlooked any).
> 
> I'm not actually sure how to fix this issue other than by listing all
> of the files in question directly in there.

Should I just use *.c for now? Yeah, that will still cover lot more files, but
at least the directories, like OPP, are not going to show those maintainers.

Or I was actually thinking of moving the entire OPP directory out of
drivers/base/power, and move to drivers/opp, just like cpufreq and cpuidle. Will
that be okay?

-- 
viresh

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

* Re: [PATCH] MAINTAINERS: Hibernation or S2R doesn't cover entire power directory
  2017-09-25 23:10   ` Viresh Kumar
@ 2017-09-25 23:18     ` Rafael J. Wysocki
  0 siblings, 0 replies; 4+ messages in thread
From: Rafael J. Wysocki @ 2017-09-25 23:18 UTC (permalink / raw)
  To: Viresh Kumar
  Cc: Rafael J. Wysocki, Rafael Wysocki, Linux PM, Vincent Guittot,
	Pavel Machek, Len Brown, Linux Kernel Mailing List

On Tue, Sep 26, 2017 at 1:10 AM, Viresh Kumar <viresh.kumar@linaro.org> wrote:
> On 25-09-17, 00:44, Rafael J. Wysocki wrote:
>> On Wed, Sep 20, 2017 at 5:58 PM, Viresh Kumar <viresh.kumar@linaro.org> wrote:
>> > The command:
>> >
>> >  $ scripts/get_maintainer.pl -f drivers/base/power/opp/core.c
>> >
>> > is incorrectly picking maintainers from Hibernation and Suspend to RAM
>> > as well, simply because the entries in MAINTAINERS file contains the
>> > entire power directory. Though the only concerning file is main.c
>> > really.
>>
>> No, it is not the only one.  The others are common.c, trace.c,
>> wakeup.c, wakeirq.c, sysfs.c, generic_ops.c and power.h (if I have not
>> overlooked any).
>>
>> I'm not actually sure how to fix this issue other than by listing all
>> of the files in question directly in there.
>
> Should I just use *.c for now? Yeah, that will still cover lot more files, but
> at least the directories, like OPP, are not going to show those maintainers.
>
> Or I was actually thinking of moving the entire OPP directory out of
> drivers/base/power, and move to drivers/opp, just like cpufreq and cpuidle. Will
> that be okay?

Yes, that should be fine.

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

end of thread, other threads:[~2017-09-25 23:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-20 15:58 [PATCH] MAINTAINERS: Hibernation or S2R doesn't cover entire power directory Viresh Kumar
2017-09-24 22:44 ` Rafael J. Wysocki
2017-09-25 23:10   ` Viresh Kumar
2017-09-25 23:18     ` Rafael J. Wysocki

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.