Re: [PATCH 1/1] scsi: ufs-mediatek: use correct path to fix compiling error

2020-12-09 Thread Martin K. Petersen
Zhen, > So without "CFLAGS_ufs-mediatek.o := -I$(src)", the current directory "." > is "include/trace/", the relative path of ufs-mediatek-trace.h is > "../../drivers/scsi/ufs/". Applied to 5.11/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 1/1] scsi: ufs-mediatek: use correct path to fix compiling error

2020-12-08 Thread Stanley Chu
Hi Zhen, On Wed, 2020-12-09 at 14:31 +0800, Zhen Lei wrote: > When the kernel is compiled with allmodconfig, the following error is > reported: > In file included from drivers/scsi/ufs/ufs-mediatek-trace.h:36:0, > from drivers/scsi/ufs/ufs-mediatek.c:28: > ./include/trace/define_t

[PATCH 1/1] scsi: ufs-mediatek: use correct path to fix compiling error

2020-12-08 Thread Zhen Lei
When the kernel is compiled with allmodconfig, the following error is reported: In file included from drivers/scsi/ufs/ufs-mediatek-trace.h:36:0, from drivers/scsi/ufs/ufs-mediatek.c:28: ./include/trace/define_trace.h:95:42: fatal error: ./ufs-mediatek-trace.h: No such file or dir