From owner-svn-src-stable@FreeBSD.ORG Mon Dec 3 18:16:37 2012 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 67C2F667; Mon, 3 Dec 2012 18:16:37 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 425918FC12; Mon, 3 Dec 2012 18:16:37 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qB3IGbpv000105; Mon, 3 Dec 2012 18:16:37 GMT (envelope-from delphij@svn.freebsd.org) Received: (from delphij@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qB3IGbJ1000104; Mon, 3 Dec 2012 18:16:37 GMT (envelope-from delphij@svn.freebsd.org) Message-Id: <201212031816.qB3IGbJ1000104@svn.freebsd.org> From: Xin LI Date: Mon, 3 Dec 2012 18:16:37 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r243814 - stable/9/sys/ofed/include/linux X-SVN-Group: stable-9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 18:16:37 -0000 Author: delphij Date: Mon Dec 3 18:16:36 2012 New Revision: 243814 URL: http://svnweb.freebsd.org/changeset/base/243814 Log: MFC r242841: Use %s when calling make_dev with a string pointer. This makes clang happy. Modified: stable/9/sys/ofed/include/linux/cdev.h Directory Properties: stable/9/sys/ (props changed) Modified: stable/9/sys/ofed/include/linux/cdev.h ============================================================================== --- stable/9/sys/ofed/include/linux/cdev.h Mon Dec 3 18:12:54 2012 (r243813) +++ stable/9/sys/ofed/include/linux/cdev.h Mon Dec 3 18:16:36 2012 (r243814) @@ -107,7 +107,7 @@ cdev_add(struct linux_cdev *cdev, dev_t if (count != 1) panic("cdev_add: Unsupported count: %d", count); cdev->cdev = make_dev(&linuxcdevsw, MINOR(dev), 0, 0, 0700, - kobject_name(&cdev->kobj)); + "%s", kobject_name(&cdev->kobj)); cdev->dev = dev; cdev->cdev->si_drv1 = cdev;