the bitrig master branch has been updated by pedro with 12 new commits:

commit 767923cafd4efdbdc7847eb8762cf0e0c1ec93bd
diff: https://github.com/bitrig/bitrig/commit/767923c
author: Pedro Martelletto <[email protected]>
date: Tue Mar 24 20:52:11 2015 +0100

Enable -Wunreachable-code on amd64.

OK natano@.

M       sys/arch/amd64/conf/Makefile.amd64

commit d3e9c7a69cedcfd3597399f260dceba4083d174c
diff: https://github.com/bitrig/bitrig/commit/d3e9c7a
author: Pedro Martelletto <[email protected]>
date: Tue Mar 24 20:51:11 2015 +0100

Disable -Wunreachable-code for sys/dev/pci/drm.

This code needs to be kept in sync with Linux. Let it be.

OK natano@.

M       sys/dev/pci/drm/drmP.h

commit 8ceb9e3c189687c9f4633ea0df09e87e7c83f43c
diff: https://github.com/bitrig/bitrig/commit/8ceb9e3
author: Pedro Martelletto <[email protected]>
date: Tue Mar 24 20:50:43 2015 +0100

Trim unreachable code. OK natano@.

M       sys/dev/ic/bwi.c

commit 2daad1f66d56c692ad8479148daf9a138ab2117e
diff: https://github.com/bitrig/bitrig/commit/2daad1f
author: Pedro Martelletto <[email protected]>
date: Tue Mar 24 20:45:12 2015 +0100

Replace dead code with a preprocessor '#if' construction.

OK natano@.

M       sys/dev/ata/wd.c
M       sys/dev/atapiscsi/atapiscsi.c
M       sys/dev/pci/bktr/bktr_core.c

commit 60d52188a2703ae42f03ff7729ffcd7fa243e975
diff: https://github.com/bitrig/bitrig/commit/60d5218
author: Pedro Martelletto <[email protected]>
date: Tue Mar 24 20:40:39 2015 +0100

Put softdep code under FFS_SOFTUPDATES. This avoid problems with
-Wunreachable-code (since softdep is disabled) and makes it easier to
remove the code when softdep eventually goes away.

OK natano@.

M       sys/ufs/ffs/ffs_alloc.c
M       sys/ufs/ffs/ffs_balloc.c
M       sys/ufs/ffs/ffs_inode.c
M       sys/ufs/ffs/ffs_vfsops.c
M       sys/ufs/ufs/ufs_inode.c
M       sys/ufs/ufs/ufs_lookup.c
M       sys/ufs/ufs/ufs_vnops.c

commit e4c489f719199c87f463300d7683e00aae64945c
diff: https://github.com/bitrig/bitrig/commit/e4c489f
author: Pedro Martelletto <[email protected]>
date: Tue Mar 24 20:36:54 2015 +0100

Rearrange athn_switch_chan() to make it clearer and avoid dead code.
With and OK natano@.

M       sys/dev/ic/athn.c

commit a7e4d3c53230e6eac1adda9dcc3c9cf66ee96cd3
diff: https://github.com/bitrig/bitrig/commit/a7e4d3c
author: Pedro Martelletto <[email protected]>
date: Tue Mar 24 20:11:45 2015 +0100

Explicitly disable -Wunreachable-code for a diagnostic check in
x86emu_halt_sys().

OK natano@.

M       sys/dev/x86emu/x86emu.c

commit 320a3a0ff32b7303d2c47b98710e544f51e82466
diff: https://github.com/bitrig/bitrig/commit/320a3a0
author: Pedro Martelletto <[email protected]>
date: Tue Mar 24 20:10:45 2015 +0100

Replace de-facto tautological comparisons with static assertions.

OK natano@.

M       sys/dev/ic/gdt_common.c
M       sys/dev/pci/viomb.c

commit ee3e6ba8bcd563476594abe01b412d8e86342a77
diff: https://github.com/bitrig/bitrig/commit/ee3e6ba
author: Pedro Martelletto <[email protected]>
date: Tue Mar 24 20:06:55 2015 +0100

Comment out dead code that might still have some future use.

OK natano@.

M       sys/dev/ic/aic79xx.c
M       sys/dev/ic/aic7xxx.c
M       sys/dev/ic/ncr53c9x.c
M       sys/dev/usb/if_athn_usb.c

commit 5eb1f8f10cdbae6f741cade6554fec66daffc3d4
diff: https://github.com/bitrig/bitrig/commit/5eb1f8f
author: Pedro Martelletto <[email protected]>
date: Tue Mar 24 20:05:14 2015 +0100

Rearrange variable declarations to avoid -Wunreachable-code.

OK natano@.

M       sys/dev/ic/aic6360.c
M       sys/dev/ic/ncr53c9x.c

commit 31557202d04274e0a288e5480ac767a95c46f8e8
diff: https://github.com/bitrig/bitrig/commit/3155720
author: Pedro Martelletto <[email protected]>
date: Tue Mar 24 19:59:02 2015 +0100

Use (0) notation to tell clang of intentionally unreached code.

OK natano@.

M       sys/dev/ic/ar5008.c
M       sys/dev/ic/ar9003.c
M       sys/dev/ic/ar9285.c
M       sys/dev/ic/athn.c
M       sys/net/if_bridge.c
M       sys/net/pipex.c

commit 4466f1416b6b910bbdd1d8fae19661caebf8c683
diff: https://github.com/bitrig/bitrig/commit/4466f14
author: Pedro Martelletto <[email protected]>
date: Tue Mar 24 19:57:49 2015 +0100

Trim dead code. OK natano@.

M       sys/dev/acpi/acpi.c

Reply via email to