* [PATCH -next] include/linux: delete duplicated kernel.h in nodemask.h
@ 2020-04-26 15:42 Bo YU
2020-04-26 17:09 ` Greg KH
0 siblings, 1 reply; 3+ messages in thread
From: Bo YU @ 2020-04-26 15:42 UTC (permalink / raw)
To: linux-kernel, gregkh
In nodemask.h, it includes bitmap.h which has included kernel.h,
so delete kernel.h from nodemask file.
Signed-off-by: Bo YU <tsu.yubo@gmail.com>
---
BTW, I do not get maintainer of the get_maintainer file, so i do
not know who can accept the patch if it is right.
---
include/linux/nodemask.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/include/linux/nodemask.h b/include/linux/nodemask.h
index 27e7fa36f707..980b48e05d05 100644
--- a/include/linux/nodemask.h
+++ b/include/linux/nodemask.h
@@ -46,7 +46,7 @@
* int next_node(node, mask) Next node past 'node', or MAX_NUMNODES
* int next_node_in(node, mask) Next node past 'node', or wrap to first,
* or MAX_NUMNODES
- * int first_unset_node(mask) First node not set in mask, or
+ * int first_unset_node(mask) First node not set in mask, or
* MAX_NUMNODES
*
* nodemask_t nodemask_of_node(node) Return nodemask with bit 'node' set
@@ -90,7 +90,6 @@
* for such situations. See below and CPUMASK_ALLOC also.
*/
-#include <linux/kernel.h>
#include <linux/threads.h>
#include <linux/bitmap.h>
#include <linux/numa.h>
--
2.11.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH -next] include/linux: delete duplicated kernel.h in nodemask.h
2020-04-26 15:42 [PATCH -next] include/linux: delete duplicated kernel.h in nodemask.h Bo YU
@ 2020-04-26 17:09 ` Greg KH
2020-04-27 0:32 ` Bo YU
0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2020-04-26 17:09 UTC (permalink / raw)
To: Bo YU; +Cc: linux-kernel
On Sun, Apr 26, 2020 at 11:42:35PM +0800, Bo YU wrote:
> In nodemask.h, it includes bitmap.h which has included kernel.h,
> so delete kernel.h from nodemask file.
>
> Signed-off-by: Bo YU <tsu.yubo@gmail.com>
> ---
> BTW, I do not get maintainer of the get_maintainer file, so i do
> not know who can accept the patch if it is right.
> ---
> include/linux/nodemask.h | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/include/linux/nodemask.h b/include/linux/nodemask.h
> index 27e7fa36f707..980b48e05d05 100644
> --- a/include/linux/nodemask.h
> +++ b/include/linux/nodemask.h
> @@ -46,7 +46,7 @@
> * int next_node(node, mask) Next node past 'node', or MAX_NUMNODES
> * int next_node_in(node, mask) Next node past 'node', or wrap to first,
> * or MAX_NUMNODES
> - * int first_unset_node(mask) First node not set in mask, or
> + * int first_unset_node(mask) First node not set in mask, or
> * MAX_NUMNODES
> *
> * nodemask_t nodemask_of_node(node) Return nodemask with bit 'node' set
That change is not described above :(
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH -next] include/linux: delete duplicated kernel.h in nodemask.h
2020-04-26 17:09 ` Greg KH
@ 2020-04-27 0:32 ` Bo YU
0 siblings, 0 replies; 3+ messages in thread
From: Bo YU @ 2020-04-27 0:32 UTC (permalink / raw)
To: Greg KH; +Cc: linux-kernel
On Sun, Apr 26, 2020 at 07:09:42PM +0200, Greg KH wrote:
>On Sun, Apr 26, 2020 at 11:42:35PM +0800, Bo YU wrote:
>> In nodemask.h, it includes bitmap.h which has included kernel.h,
>> so delete kernel.h from nodemask file.
>>
>> Signed-off-by: Bo YU <tsu.yubo@gmail.com>
>> ---
>> BTW, I do not get maintainer of the get_maintainer file, so i do
>> not know who can accept the patch if it is right.
>> ---
>> include/linux/nodemask.h | 3 +--
>> 1 file changed, 1 insertion(+), 2 deletions(-)
>>
>> diff --git a/include/linux/nodemask.h b/include/linux/nodemask.h
>> index 27e7fa36f707..980b48e05d05 100644
>> --- a/include/linux/nodemask.h
>> +++ b/include/linux/nodemask.h
>> @@ -46,7 +46,7 @@
>> * int next_node(node, mask) Next node past 'node', or MAX_NUMNODES
>> * int next_node_in(node, mask) Next node past 'node', or wrap to first,
>> * or MAX_NUMNODES
>> - * int first_unset_node(mask) First node not set in mask, or
>> + * int first_unset_node(mask) First node not set in mask, or
>> * MAX_NUMNODES
>> *
>> * nodemask_t nodemask_of_node(node) Return nodemask with bit 'node' set
>
>That change is not described above :(
I promise i just delete kernel.h in the nodemask file. I am wonder why
change the comment also :)
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-04-27 0:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-26 15:42 [PATCH -next] include/linux: delete duplicated kernel.h in nodemask.h Bo YU
2020-04-26 17:09 ` Greg KH
2020-04-27 0:32 ` Bo YU
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).