mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] commands: ubsan: remove redundant depends
@ 2019-09-27  6:06 Ahmad Fatoum
  2019-09-30 18:36 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2019-09-27  6:06 UTC (permalink / raw)
  To: barebox

the config is already in an if COMMAND_SUPPORT clause, so no need to
depend on it as well. Remove the redundancy.

Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
---
 commands/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commands/Kconfig b/commands/Kconfig
index 5cacf9e05ed8..0189b4715bb9 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -2174,7 +2174,7 @@ config CMD_SEED
 
 config CMD_UBSAN
 	tristate "ubsan"
-	depends on UBSAN && COMMAND_SUPPORT
+	depends on UBSAN
 	help
 	  This is a test command for the undefined behavior sanitizer.
 	  It triggers various undefined behavior, and detect it.
-- 
2.20.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] commands: ubsan: remove redundant depends
  2019-09-27  6:06 [PATCH] commands: ubsan: remove redundant depends Ahmad Fatoum
@ 2019-09-30 18:36 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2019-09-30 18:36 UTC (permalink / raw)
  To: Ahmad Fatoum; +Cc: barebox

On Fri, Sep 27, 2019 at 08:06:24AM +0200, Ahmad Fatoum wrote:
> the config is already in an if COMMAND_SUPPORT clause, so no need to
> depend on it as well. Remove the redundancy.
> 
> Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
> ---
>  commands/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-09-30 18:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-27  6:06 [PATCH] commands: ubsan: remove redundant depends Ahmad Fatoum
2019-09-30 18:36 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox