When compiling rt8192cu with GCC 4.9.x there are several warnings about out of bound accesses to the static RF_Shadow register array, which originate from code lines using <= RF6052_MAX_REG as loop termination criteria. The array's second level size is defined as RF6052_MAX_REG while it (most probably) should be RF6052_MAX_REG+1 to cover all 64 registers.
When compiling rt8192cu with GCC 4.9.x there are several warnings about out of bound accesses to the static RF_Shadow register array, which originate from code lines using <= RF6052_MAX_REG as loop termination criteria. The array's second level size is defined as RF6052_MAX_REG while it (most probably) should be RF6052_MAX_REG+1 to cover all 64 registers.