Date: Wed, 8 Mar 2017 21:28:53 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r314920 - head/sys/compat/linuxkpi/common/src Message-ID: <201703082128.v28LSrMF062939@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: hselasky Date: Wed Mar 8 21:28:53 2017 New Revision: 314920 URL: https://svnweb.freebsd.org/changeset/base/314920 Log: Fix compilation warning for powerpc64 by not using const keyword in return types: Type qualifiers ignored on function return type [-Wreturn-type] Reported by: andreast @ MFC after: 1 week Sponsored by: Mellanox Technologies Modified: head/sys/compat/linuxkpi/common/src/linux_work.c Modified: head/sys/compat/linuxkpi/common/src/linux_work.c ============================================================================== --- head/sys/compat/linuxkpi/common/src/linux_work.c Wed Mar 8 20:58:56 2017 (r314919) +++ head/sys/compat/linuxkpi/common/src/linux_work.c Wed Mar 8 21:28:53 2017 (r314920) @@ -63,7 +63,7 @@ static void linux_delayed_work_timer_fn( * This function atomically updates the work state and returns the * previous state at the time of update. */ -static const uint8_t +static uint8_t linux_update_state(atomic_t *v, const uint8_t *pstate) { int c, old; @@ -84,7 +84,7 @@ linux_update_state(atomic_t *v, const ui * again. Without this extra hint LinuxKPI tasks cannot be serialized * accross multiple worker threads. */ -static const bool +static bool linux_work_exec_unblock(struct work_struct *work) { struct workqueue_struct *wq;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703082128.v28LSrMF062939>