Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754585AbbKXQxA (ORCPT ); Tue, 24 Nov 2015 11:53:00 -0500 Received: from mail-yk0-f170.google.com ([209.85.160.170]:34858 "EHLO mail-yk0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753240AbbKXQw6 (ORCPT ); Tue, 24 Nov 2015 11:52:58 -0500 Date: Tue, 24 Nov 2015 11:52:51 -0500 From: Tejun Heo To: serge@hallyn.com Cc: linux-kernel@vger.kernel.org, adityakali@google.com, linux-api@vger.kernel.org, containers@lists.linux-foundation.org, cgroups@vger.kernel.org, lxc-devel@lists.linuxcontainers.org, akpm@linux-foundation.org, ebiederm@xmission.com Subject: Re: [PATCH 6/8] cgroup: cgroup namespace setns support Message-ID: <20151124165251.GQ17033@mtj.duckdns.org> References: <1447703505-29672-1-git-send-email-serge@hallyn.com> <1447703505-29672-7-git-send-email-serge@hallyn.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1447703505-29672-7-git-send-email-serge@hallyn.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 716 Lines: 22 On Mon, Nov 16, 2015 at 01:51:43PM -0600, serge@hallyn.com wrote: > @@ -85,10 +85,27 @@ err_out: > return ERR_PTR(err); > } > > -static int cgroupns_install(struct nsproxy *nsproxy, void *ns) > +static inline struct cgroup_namespace *to_cg_ns(struct ns_common *ns) { > + return container_of(ns, struct cgroup_namespace, ns); > +} Heh, what's up with the formatting? Please update the patches to conform to Documentation/CodingStyle in general. Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/