From c6703b4761c4df633997a37d52641b20a0b6cf45 Mon Sep 17 00:00:00 2001 From: Riku Voipio Date: Thu, 3 Dec 2009 15:56:05 +0200 Subject: [PATCH] Give a error when running out of iomem areas. The limit of iomem areas is quite low. Without the debug print, it is quite hard to figure out why more devices are not getting registered. Signed-off-by: Riku Voipio Signed-off-by: Aurelien Jarno --- exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec.c b/exec.c index 44c34e6422..21a02f6c45 100644 --- a/exec.c +++ b/exec.c @@ -2919,7 +2919,7 @@ static int get_free_io_mem_idx(void) io_mem_used[i] = 1; return i; } - + fprintf(stderr, "RAN out out io_mem_idx, max %d !\n", IO_MEM_NB_ENTRIES); return -1; }