From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shuah Khan Subject: Re: [PATCH] selftests/memfd: fix mfd_fail_open() to pass in buf to printf Date: Thu, 04 Sep 2014 09:21:31 -0600 Message-ID: <5408837B.6040008@osg.samsung.com> References: <1409843242-6596-1-git-send-email-shuahkh@osg.samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Pranith Kumar Cc: David Herrmann , Andrew Morton , Hugh Dickins , "open list:KERNEL SELFTEST F..." , LKML List-Id: linux-api@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 =E2=80=98mfd_fail_open=E2=80=99: >> memfd_test.c:208:3: warning: format =E2=80=98%s=E2=80=99 expects a m= atching =E2=80=98char *=E2=80=99 argument [-Wformat=3D] >> printf("open(%s) didn't fail as expected\n"); >> ^ >> >> This change fixes the problem. >> >> Signed-off-by: Shuah Khan >=20 > Hi Shuah, >=20 > I already sent in a patch to fix this: >=20 > https://lkml.org/lkml/2014/8/31/85 >=20 > Can you please pick that up? Hi Pranith, Great. Could you please resend it to me cc'ing linux-api as well. thanks, -- Shuah --=20 Shuah Khan Sr. Linux Kernel Developer Samsung Research America (Silicon Valley) shuahkh-JPH+aEBZ4P+UEJcrhfAQsw@public.gmane.org | (970) 217-8978