From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3B18DC04AB3 for ; Tue, 28 May 2019 02:17:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 09D65208C3 for ; Tue, 28 May 2019 02:17:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727271AbfE1CRV (ORCPT ); Mon, 27 May 2019 22:17:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49398 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727313AbfE1CRU (ORCPT ); Mon, 27 May 2019 22:17:20 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8BF99C0528AC; Tue, 28 May 2019 02:17:20 +0000 (UTC) Received: from xz-x1 (dhcp-15-205.nay.redhat.com [10.66.15.205]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 605301A918; Tue, 28 May 2019 02:17:18 +0000 (UTC) Date: Tue, 28 May 2019 10:17:16 +0800 From: Peter Xu To: Alakesh Haloi Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Morton , Mike Rapoport , Shuah Khan Subject: Re: [PATCH] userfaultfd: selftest: fix compiler warning Message-ID: <20190528021716.GC22519@xz-x1> References: <20190527151859.GA3217@ip-172-31-44-144.us-west-2.compute.internal> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190527151859.GA3217@ip-172-31-44-144.us-west-2.compute.internal> User-Agent: Mutt/1.10.1 (2018-07-13) X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Tue, 28 May 2019 02:17:20 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 27, 2019 at 03:18:59PM +0000, Alakesh Haloi wrote: > Fixes following compiler warning > > userfaultfd.c: In function ‘usage’: > userfaultfd.c:126:2: warning: format not a string literal and no format > arguments [-Wformat-security] > fprintf(stderr, examples); > > Signed-off-by: Alakesh Haloi Reviewed-by: Peter Xu -- Peter Xu