From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752817AbcELPE4 (ORCPT ); Thu, 12 May 2016 11:04:56 -0400 Received: from mail-vk0-f65.google.com ([209.85.213.65]:33048 "EHLO mail-vk0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751491AbcELPEz (ORCPT ); Thu, 12 May 2016 11:04:55 -0400 Date: Thu, 12 May 2016 11:04:49 -0400 From: Tejun Heo To: Felipe Balbi Cc: Li Zefan , Johannes Weiner , cgroups@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] kernel: cgroup: fix compile warning: Message-ID: <20160512150449.GQ4775@htj.duckdns.org> References: <1463045678-32436-1-git-send-email-felipe.balbi@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1463045678-32436-1-git-send-email-felipe.balbi@linux.intel.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 On Thu, May 12, 2016 at 12:34:38PM +0300, Felipe Balbi wrote: > commit 4f41fc59620f ("cgroup, kernfs: make mountinfo > show properly scoped path for cgroup namespaces") > added the following compile warning: > > kernel/cgroup.c: In function ‘cgroup_show_path’: > kernel/cgroup.c:1634:15: warning: unused variable ‘ret’ [-Wunused-variable] > int len = 0, ret = 0; > ^ > fix it. > > Fixes: 4f41fc59620f ("cgroup, kernfs: make mountinfo > show properly scoped path for cgroup > namespaces") > Signed-off-by: Felipe Balbi Applied to cgroup/for-4.6-fixes. Thanks. -- tejun