kconfig: fixed stray Kconfig variables

Those were found using:

  ./scripts/checkconfig.py

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2017-07-02 08:42:44 -04:00 committed by Kumar Gala
parent d7154d50df
commit 3ec3276163
3 changed files with 10 additions and 10 deletions

View File

@ -47,15 +47,15 @@ choice ETH_SAM_GMAC_MAC_SELECT
help
Choose how to configure MAC address.
config ETH_SAM_GMAC_MAC_MANUAL
bool "Manual"
help
Assign an arbitrary MAC address.
config ETH_SAM_GMAC_MAC_MANUAL
bool "Manual"
help
Assign an arbitrary MAC address.
config ETH_SAM_GMAC_MAC_I2C_EEPROM
bool "Read from an I2C EEPROM"
help
Read MAC address from an I2C EEPROM.
config ETH_SAM_GMAC_MAC_I2C_EEPROM
bool "Read from an I2C EEPROM"
help
Read MAC address from an I2C EEPROM.
endchoice

View File

@ -26,7 +26,7 @@ static inline size_t stack_unused_space_get(const char *stack, size_t size)
* (or configurable direction) is added this check should be confirmed
* that correct Kconfig option is used.
*/
#if defined(CONFIG_STACK_GROWS_UP)
#if defined(STACK_GROWS_UP)
for (i = size - 1; i >= 0; i--) {
if ((unsigned char)stack[i] == 0xaa) {
unused++;

View File

@ -897,7 +897,7 @@ bool net_app_server_tls_enable(struct net_app_ctx *ctx);
bool net_app_server_tls_disable(struct net_app_ctx *ctx);
#endif /* CONFIG_NET_APP_SERVER */
#endif /* CONFIG_NET_APP_SEC */
#endif /* CONFIG_NET_APP_TLS */
#ifdef __cplusplus
}