MFC r234503:

Replace homegrown list implementation in sys/dev/asr/asr.c with
STAILQ().  While here, fix another clang warning about a switch which
tests an enum type for a regular integer value.

Submitted by:	jhb


git-svn-id: svn://svn.freebsd.org/base/stable/9@234734 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r234506:

Fix the following compilation warnings in nxge(4):

  sys/dev/nxge/if_nxge.c:1276:11: error: case value not in enumerated type 'xge_hal_event_e' (aka 'enum xge_hal_event_e') [-Werror,-Wswitch]
            case XGE_LL_EVENT_TRY_XMIT_AGAIN:
                 ^
  sys/dev/nxge/if_nxge.c:1289:11: error: case value not in enumerated type 'xge_hal_event_e' (aka 'enum xge_hal_event_e') [-Werror,-Wswitch]
            case XGE_LL_EVENT_DEVICE_RESETTING:
                 ^

This is because the switch uses xge_queue_item_t::event_type, which is
an enum xge_hal_event_e, while the XGE_LL_EVENT_xx values are of the
enum xge_event_e.

Since messing around with the enum definitions is too disruptive, the
simplest fix is to cast the argument of the switch to int.

Reviewed by:	gnn


git-svn-id: svn://svn.freebsd.org/base/stable/9@234735 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r234507:

Fix the following compilation warnings in sys/contrib/rdma/rdma_cma.c:

  sys/contrib/rdma/rdma_cma.c:1259:8: error: case value not in enumerated type 'enum iw_cm_event_status' [-Werror,-Wswitch]
	    case ECONNRESET:
		 ^
  @/sys/errno.h:118:20: note: expanded from macro 'ECONNRESET'
  #define ECONNRESET      54              /* Connection reset by peer */
		    ^
  sys/contrib/rdma/rdma_cma.c:1263:8: error: case value not in enumerated type 'enum iw_cm_event_status' [-Werror,-Wswitch]
	    case ETIMEDOUT:
		 ^
  @/sys/errno.h:124:19: note: expanded from macro 'ETIMEDOUT'
  #define ETIMEDOUT       60              /* Operation timed out */
		    ^
  sys/contrib/rdma/rdma_cma.c:1260:8: error: case value not in enumerated type 'enum iw_cm_event_status' [-Werror,-Wswitch]
	    case ECONNREFUSED:
		 ^
  @/sys/errno.h:125:22: note: expanded from macro 'ECONNREFUSED'
  #define ECONNREFUSED    61              /* Connection refused */
		    ^

This is because the switch uses iw_cm_event::status, which is an enum
iw_cm_event_status, while ECONNRESET, ETIMEDOUT and ECONNREFUSED are
just plain defines from errno.h.

It looks like there is only one use of any of the enumeration values of
iw_cm_event_status, in:

  sys/contrib/rdma/rdma_iwcm.c:       if (iw_event->status == IW_CM_EVENT_STATUS_ACCEPTED) {

So messing around with the enum definitions to fix the warning seems too
disruptive; the simplest fix is to cast the argument of the switch to
int.

Reviewed by:	kmacy


git-svn-id: svn://svn.freebsd.org/base/stable/9@234736 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix several 'format string is not a literal' warnings in sysinstall.

Since sysinstall does not exist anymore in head, this is a direct
commit.


git-svn-id: svn://svn.freebsd.org/base/stable/9@234737 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC 234611:
Update the bugs section. We don't consider tmpfs as experimental,
though we do not claim to support all mount options equally well.


git-svn-id: svn://svn.freebsd.org/base/stable/9@234738 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Merge remote-tracking branch 'upstream/svn_stable_9' into svn_stable_9