Skip to content

Commit

Permalink
kconfig: fixed stray Kconfig variables
Browse files Browse the repository at this point in the history
Those were found using:

  ./scripts/checkconfig.py

Signed-off-by: Anas Nashif <[email protected]>
  • Loading branch information
nashif authored and galak committed Jul 6, 2017
1 parent d7154d5 commit 3ec3276
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions drivers/ethernet/Kconfig.sam_gmac
Original file line number Diff line number Diff line change
Expand Up @@ -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_I2C_EEPROM
bool "Read from an I2C EEPROM"
help
Read MAC address from an I2C EEPROM.
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.

endchoice

Expand Down
2 changes: 1 addition & 1 deletion include/misc/stack.h
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
Expand Down
2 changes: 1 addition & 1 deletion include/net/net_app.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 3ec3276

Please sign in to comment.