diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2002-08-29 07:34:49 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2002-08-29 07:34:49 +0000 |
commit | 4fcde1efc16ef0849c7aa61d568ef5577e2f1920 (patch) | |
tree | a8e8ef7e3419f0a327ff97714cbff677b536308b /shared/radeon_state.c | |
parent | 22c1ca1fd5116d55c81bbfdeccd995dc19572a8f (diff) |
standardize use of __FUNCTION__ (Linus)
Diffstat (limited to 'shared/radeon_state.c')
-rw-r--r-- | shared/radeon_state.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/shared/radeon_state.c b/shared/radeon_state.c index 7f84e739..6dbf6093 100644 --- a/shared/radeon_state.c +++ b/shared/radeon_state.c @@ -1378,7 +1378,7 @@ int radeon_cp_vertex( DRM_IOCTL_ARGS ) LOCK_TEST_WITH_RETURN( dev ); if ( !dev_priv ) { - DRM_ERROR( "%s called with no initialization\n", __func__ ); + DRM_ERROR( "%s called with no initialization\n", __FUNCTION__ ); return DRM_ERR(EINVAL); } @@ -1465,7 +1465,7 @@ int radeon_cp_indices( DRM_IOCTL_ARGS ) LOCK_TEST_WITH_RETURN( dev ); if ( !dev_priv ) { - DRM_ERROR( "%s called with no initialization\n", __func__ ); + DRM_ERROR( "%s called with no initialization\n", __FUNCTION__ ); return DRM_ERR(EINVAL); } @@ -1615,7 +1615,7 @@ int radeon_cp_indirect( DRM_IOCTL_ARGS ) LOCK_TEST_WITH_RETURN( dev ); if ( !dev_priv ) { - DRM_ERROR( "%s called with no initialization\n", __func__ ); + DRM_ERROR( "%s called with no initialization\n", __FUNCTION__ ); return DRM_ERR(EINVAL); } @@ -1692,7 +1692,7 @@ int radeon_cp_vertex2( DRM_IOCTL_ARGS ) LOCK_TEST_WITH_RETURN( dev ); if ( !dev_priv ) { - DRM_ERROR( "%s called with no initialization\n", __func__ ); + DRM_ERROR( "%s called with no initialization\n", __FUNCTION__ ); return DRM_ERR(EINVAL); } @@ -1982,7 +1982,7 @@ int radeon_cp_cmdbuf( DRM_IOCTL_ARGS ) LOCK_TEST_WITH_RETURN( dev ); if ( !dev_priv ) { - DRM_ERROR( "%s called with no initialization\n", __func__ ); + DRM_ERROR( "%s called with no initialization\n", __FUNCTION__ ); return DRM_ERR(EINVAL); } @@ -2104,7 +2104,7 @@ int radeon_cp_getparam( DRM_IOCTL_ARGS ) int value; if ( !dev_priv ) { - DRM_ERROR( "%s called with no initialization\n", __func__ ); + DRM_ERROR( "%s called with no initialization\n", __FUNCTION__ ); return DRM_ERR(EINVAL); } |