public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cpumask: remove incorrect information from comment
@ 2016-02-21 18:32 Eric Biggers
  2016-02-29 12:30 ` Rusty Russell
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Biggers @ 2016-02-21 18:32 UTC (permalink / raw)
  To: rusty; +Cc: linux, akpm, amirv, davem, linux-kernel, Eric Biggers

Since commit cdfdef75e795f ("cpumask: only allocate nr_cpumask_bits."),
this comment above cpumask_size() is no longer relevant.

Signed-off-by: Eric Biggers <ebiggers3@gmail.com>
---
 include/linux/cpumask.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/linux/cpumask.h b/include/linux/cpumask.h
index fc14275..40cee6b 100644
--- a/include/linux/cpumask.h
+++ b/include/linux/cpumask.h
@@ -607,8 +607,6 @@ static inline int cpulist_parse(const char *buf, struct cpumask *dstp)
 
 /**
  * cpumask_size - size to allocate for a 'struct cpumask' in bytes
- *
- * This will eventually be a runtime variable, depending on nr_cpu_ids.
  */
 static inline size_t cpumask_size(void)
 {
-- 
2.7.1

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

* Re: [PATCH] cpumask: remove incorrect information from comment
  2016-02-21 18:32 [PATCH] cpumask: remove incorrect information from comment Eric Biggers
@ 2016-02-29 12:30 ` Rusty Russell
  0 siblings, 0 replies; 2+ messages in thread
From: Rusty Russell @ 2016-02-29 12:30 UTC (permalink / raw)
  To: Eric Biggers; +Cc: linux, akpm, amirv, davem, linux-kernel, Eric Biggers

Eric Biggers <ebiggers3@gmail.com> writes:
> Since commit cdfdef75e795f ("cpumask: only allocate nr_cpumask_bits."),
> this comment above cpumask_size() is no longer relevant.
>
> Signed-off-by: Eric Biggers <ebiggers3@gmail.com>

Acked-by: Rusty Russell <rusty@rustcorp.com.au>

> ---
>  include/linux/cpumask.h | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/include/linux/cpumask.h b/include/linux/cpumask.h
> index fc14275..40cee6b 100644
> --- a/include/linux/cpumask.h
> +++ b/include/linux/cpumask.h
> @@ -607,8 +607,6 @@ static inline int cpulist_parse(const char *buf, struct cpumask *dstp)
>  
>  /**
>   * cpumask_size - size to allocate for a 'struct cpumask' in bytes
> - *
> - * This will eventually be a runtime variable, depending on nr_cpu_ids.
>   */
>  static inline size_t cpumask_size(void)
>  {
> -- 
> 2.7.1

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

end of thread, other threads:[~2016-03-01  2:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-21 18:32 [PATCH] cpumask: remove incorrect information from comment Eric Biggers
2016-02-29 12:30 ` Rusty Russell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox