From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753369AbaIDPVh (ORCPT ); Thu, 4 Sep 2014 11:21:37 -0400 Received: from lists.s-osg.org ([54.187.51.154]:52888 "EHLO lists.s-osg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750953AbaIDPVf (ORCPT ); Thu, 4 Sep 2014 11:21:35 -0400 Message-ID: <5408837B.6040008@osg.samsung.com> Date: Thu, 04 Sep 2014 09:21:31 -0600 From: Shuah Khan Organization: Samsung Open Source Group User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: Pranith Kumar CC: David Herrmann , Andrew Morton , Hugh Dickins , "open list:KERNEL SELFTEST F..." , LKML Subject: Re: [PATCH] selftests/memfd: fix mfd_fail_open() to pass in buf to printf References: <1409843242-6596-1-git-send-email-shuahkh@osg.samsung.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/04/2014 09:16 AM, Pranith Kumar wrote: > On Thu, Sep 4, 2014 at 11:07 AM, Shuah Khan wrote: >> mfd_fail_open() doesn't pass in the buffer to printf resulting >> in the following warning: >> >> memfd_test.c: In function ‘mfd_fail_open’: >> memfd_test.c:208:3: warning: format ‘%s’ expects a matching ‘char *’ argument [-Wformat=] >> printf("open(%s) didn't fail as expected\n"); >> ^ >> >> This change fixes the problem. >> >> Signed-off-by: Shuah Khan > > Hi Shuah, > > I already sent in a patch to fix this: > > https://lkml.org/lkml/2014/8/31/85 > > Can you please pick that up? Hi Pranith, Great. Could you please resend it to me cc'ing linux-api as well. thanks, -- Shuah -- Shuah Khan Sr. Linux Kernel Developer Samsung Research America (Silicon Valley) shuahkh@osg.samsung.com | (970) 217-8978