diff --git a/iscsi-scst/kernel/session.c b/iscsi-scst/kernel/session.c index a25f60e15..f04454563 100644 --- a/iscsi-scst/kernel/session.c +++ b/iscsi-scst/kernel/session.c @@ -16,7 +16,7 @@ #include "iscsi.h" -#ifdef CONFIG_SCST_PROC +#ifdef CONFIG_SCST_PROC int print_digest_state(char *p, size_t size, unsigned long flags) #else static int print_digest_state(char *p, size_t size, unsigned long flags) diff --git a/srpt/src/ib_srpt.c b/srpt/src/ib_srpt.c index b6593f10c..2341f0afb 100644 --- a/srpt/src/ib_srpt.c +++ b/srpt/src/ib_srpt.c @@ -3064,7 +3064,7 @@ static void srpt_remove_one(struct ib_device *device) * cancel_work_sync() was introduced in kernel 2.6.22. Older * kernels do not have a facility to cancel scheduled work. */ - PRINT_ERROR("%s", + PRINT_ERROR("%s", "your kernel does not provide cancel_work_sync()."); #endif