svn commit: r279467 - in stable: 10/sys/arm/arm 10/sys/arm/ti 10/sys/arm/ti/am335x 10/sys/arm/ti/omap4 9/sys/arm/arm

Dimitry Andric dim at FreeBSD.org
Sun Mar 1 01:08:15 UTC 2015


Author: dim
Date: Sun Mar  1 01:08:14 2015
New Revision: 279467
URL: https://svnweb.freebsd.org/changeset/base/279467

Log:
  MFC r279312:
  
  Fix a number of -Wcast-qual warnings under sys/arm.  No functional
  change.
  
  Submitted by:	andrew

Modified:
  stable/9/sys/arm/arm/disassem.c
Directory Properties:
  stable/9/sys/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/10/sys/arm/arm/disassem.c
  stable/10/sys/arm/ti/am335x/am335x_scm_padconf.c
  stable/10/sys/arm/ti/omap4/omap4_scm_padconf.c
  stable/10/sys/arm/ti/ti_scm.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/9/sys/arm/arm/disassem.c
==============================================================================
--- stable/9/sys/arm/arm/disassem.c	Sun Mar  1 00:59:35 2015	(r279466)
+++ stable/9/sys/arm/arm/disassem.c	Sun Mar  1 01:08:14 2015	(r279467)
@@ -277,7 +277,7 @@ static void disassemble_printaddr(u_int 
 vm_offset_t
 disasm(const disasm_interface_t *di, vm_offset_t loc, int altfmt)
 {
-	struct arm32_insn *i_ptr = (struct arm32_insn *)&arm32_i;
+	const struct arm32_insn *i_ptr = arm32_i;
 
 	u_int insn;
 	int matchp;


More information about the svn-src-stable-9 mailing list