Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Dec 2014 05:11:35 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r276290 - stable/10/sys/arm/ti
Message-ID:  <201412270511.sBR5BZ3F057906@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Sat Dec 27 05:11:34 2014
New Revision: 276290
URL: https://svnweb.freebsd.org/changeset/base/276290

Log:
  MFC r276029:
  
    Remove a volatile qualifier on return type that is ignored and results in
    a -Wreturn-type warning when compiled with gcc.

Modified:
  stable/10/sys/arm/ti/ti_wdt.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/arm/ti/ti_wdt.c
==============================================================================
--- stable/10/sys/arm/ti/ti_wdt.c	Sat Dec 27 05:10:07 2014	(r276289)
+++ stable/10/sys/arm/ti/ti_wdt.c	Sat Dec 27 05:11:34 2014	(r276290)
@@ -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?201412270511.sBR5BZ3F057906>