diff --git a/scst/include/backport.h b/scst/include/backport.h index 6b2273ced..67ab63fcb 100644 --- a/scst/include/backport.h +++ b/scst/include/backport.h @@ -1402,7 +1402,7 @@ static inline void *memdup_user_nul(const void __user *src, size_t len) { char *p; - p = kmalloc_track_caller(len + 1, GFP_KERNEL); + p = kmalloc(len + 1, GFP_KERNEL); if (!p) return ERR_PTR(-ENOMEM); diff --git a/scst/src/scst_lib.c b/scst/src/scst_lib.c index b023da399..96274fa7a 100644 --- a/scst/src/scst_lib.c +++ b/scst/src/scst_lib.c @@ -118,7 +118,7 @@ char *kvasprintf(gfp_t gfp, const char *fmt, va_list ap) len = vsnprintf(NULL, 0, fmt, aq); va_end(aq); - p = kmalloc_track_caller(len + 1, gfp); + p = kmalloc(len + 1, gfp); if (!p) return NULL;