Re: [PATCH] ipc_ind_to_str unused if !CONFIG_CHECKPOINT_DEBUG

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Added, thanks.

Serge E. Hallyn wrote:
> (compilation cleanup on top of
> 	fix-compile-with-CONFIG_CHECKPOINT_DEBUG-n.patch
> )
> 
> Signed-off-by: Serge E. Hallyn <serue@xxxxxxxxxx>
> ---
>  ipc/checkpoint.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/ipc/checkpoint.c b/ipc/checkpoint.c
> index 8e6e9ba..ab9110a 100644
> --- a/ipc/checkpoint.c
> +++ b/ipc/checkpoint.c
> @@ -21,7 +21,9 @@
>  #include "util.h"
>  
>  /* for ckpt_debug */
> +#ifdef CONFIG_CHECKPOINT_DEBUG
>  static char *ipc_ind_to_str[] = { "sem", "msg", "shm" };
> +#endif
>  
>  #define shm_ids(ns)	((ns)->ids[IPC_SHM_IDS])
>  #define msg_ids(ns)	((ns)->ids[IPC_MSG_IDS])
_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers

[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux