Date: Sun, 21 Dec 2014 21:11:55 +0000 (UTC) From: Ian Lepore <ian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r276029 - head/sys/arm/ti Message-ID: <201412212111.sBLLBtLP066399@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ian Date: Sun Dec 21 21:11:54 2014 New Revision: 276029 URL: https://svnweb.freebsd.org/changeset/base/276029 Log: Remove a volatile qualifier on return type that is ignored and results in a -Wreturn-type warning when compiled with gcc. Modified: head/sys/arm/ti/ti_wdt.c Modified: head/sys/arm/ti/ti_wdt.c ============================================================================== --- head/sys/arm/ti/ti_wdt.c Sun Dec 21 17:25:21 2014 (r276028) +++ head/sys/arm/ti/ti_wdt.c Sun Dec 21 21:11:54 2014 (r276029) @@ -95,7 +95,7 @@ static devclass_t ti_wdt_devclass; DRIVER_MODULE(ti_wdt, simplebus, ti_wdt_driver, ti_wdt_devclass, 0, 0); -static volatile __inline uint32_t +static __inline uint32_t ti_wdt_reg_read(struct ti_wdt_softc *sc, uint32_t reg) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412212111.sBLLBtLP066399>