mirror of
https://github.com/torvalds/linux.git
synced 2024-12-15 15:41:58 +00:00
d6e94913cb
Add one new array (marked with __maybe_unused to prevent gcc warning about "defined but not used" with W=1), then we can remove rnbd_access_mode_str and rnbd-common.c accordingly. Signed-off-by: Guoqing Jiang <guoqing.jiang@linux.dev> Acked-by: Jack Wang <jinpu.wang@ionos.com> Link: https://lore.kernel.org/r/20230524070026.2932-4-guoqing.jiang@linux.dev Signed-off-by: Jens Axboe <axboe@kernel.dk>
16 lines
365 B
Makefile
16 lines
365 B
Makefile
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
ccflags-y := -I$(srctree)/drivers/infiniband/ulp/rtrs
|
|
|
|
rnbd-client-y := rnbd-clt.o \
|
|
rnbd-clt-sysfs.o
|
|
|
|
CFLAGS_rnbd-srv-trace.o = -I$(src)
|
|
|
|
rnbd-server-y := rnbd-srv.o \
|
|
rnbd-srv-sysfs.o \
|
|
rnbd-srv-trace.o
|
|
|
|
obj-$(CONFIG_BLK_DEV_RNBD_CLIENT) += rnbd-client.o
|
|
obj-$(CONFIG_BLK_DEV_RNBD_SERVER) += rnbd-server.o
|