From f10e10e465fcf876907712cd104830886fc9ea3d Mon Sep 17 00:00:00 2001 From: Masayuki Ishikawa Date: Thu, 18 May 2017 12:57:29 +0900 Subject: [PATCH] IOBs: Fix build break Signed-off-by: Masayuki Ishikawa --- mm/iob/iob_alloc_qentry.c | 2 +- mm/iob/iob_initialize.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/iob/iob_alloc_qentry.c b/mm/iob/iob_alloc_qentry.c index 4caba97a9c7..10bc1123d7a 100644 --- a/mm/iob/iob_alloc_qentry.c +++ b/mm/iob/iob_alloc_qentry.c @@ -82,7 +82,7 @@ static FAR struct iob_qentry_s *iob_alloc_qcommitted(void) { /* Remove the I/O buffer from the committed list */ - g_iob_qcommitted = iobq->io_flink; + g_iob_qcommitted = iobq->qe_flink; /* Put the I/O buffer in a known state */ diff --git a/mm/iob/iob_initialize.c b/mm/iob/iob_initialize.c index 6c0df544549..adab03c228c 100644 --- a/mm/iob/iob_initialize.c +++ b/mm/iob/iob_initialize.c @@ -84,7 +84,7 @@ FAR struct iob_qentry_s *g_iob_freeqlist; /* A list of I/O buffer queue containers that are committed for allocation */ -extern FAR struct iob_s *g_iob_qcommitted; +FAR struct iob_s *g_iob_qcommitted; #endif /* Counting semaphores that tracks the number of free IOBs/qentries */