Skip to content

Commit cea69ce

Browse files
committed
use '\' before '*' in grep expression
1 parent 1abb6ae commit cea69ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

module/Makefile-config

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ EXTRA_CFLAGS += $(shell \
7676
$(srctree)/include/linux/blkdev.h && \
7777
echo -D HAVE_BDEV_FREEZE)
7878
EXTRA_CFLAGS += $(shell \
79-
grep -qw "*bi_disk;" $(srctree)/include/linux/blk_types.h && \
79+
grep -qw "\*bi_disk;" $(srctree)/include/linux/blk_types.h && \
8080
echo -D HAVE_BI_BDISK)
8181
EXTRA_CFLAGS += $(shell test -f $(srctree)/include/linux/blk_types.h && \
82-
grep -qw "*bd_queue;" $(srctree)/include/linux/blk_types.h && \
82+
grep -qw "\*bd_queue;" $(srctree)/include/linux/blk_types.h && \
8383
echo -D HAVE_BD_QUEUE)
8484
EXTRA_CFLAGS += $(shell test -f $(srctree)/include/linux/genhd.h && \
8585
grep -qw "sector_t bdev_nr_sectors" $(srctree)/include/linux/genhd.h && \

0 commit comments

Comments
 (0)