[Skiboot] [trivial PATCH] FSP/CONSOLE: Remove __unused attribute from fsp_console_read()

Vasant Hegde hegdevasant at linux.vnet.ibm.com
Thu Jun 1 14:31:11 AEST 2017


..as we use buffer to copy data.

Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
---
 hw/fsp/fsp-console.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/fsp/fsp-console.c b/hw/fsp/fsp-console.c
index 6683679..69c603a 100644
--- a/hw/fsp/fsp-console.c
+++ b/hw/fsp/fsp-console.c
@@ -640,7 +640,7 @@ static int64_t fsp_console_write_buffer_space(int64_t term_number,
 }
 
 static int64_t fsp_console_read(int64_t term_number, int64_t *length,
-				uint8_t *buffer __unused)
+				uint8_t *buffer)
 {
 	struct fsp_serial *fs;
 	struct fsp_serbuf_hdr *sb;
-- 
2.9.3



More information about the Skiboot mailing list