Skip to content

Commit

Permalink
deepin: arm: scsi: fix build error of linkdata ps3stor driver
Browse files Browse the repository at this point in the history
This patch reverts a deletion of Linkdata RAIDHBA card driver in
c9f4fb3 ('deepin: arm: config: Update deepin_arm64_desktop_defconfig for HISI')

The error logs are:
  'modpost: "__aarch64_cas4_sync" [drivers/scsi/linkdata/ps3stor.ko] undefined!',
which means we need to specify '-mno-outline-atomics' when building this
module.

Signed-off-by: wenlunpeng <[email protected]>
  • Loading branch information
Wenlp committed Nov 23, 2024
1 parent 9e856a5 commit 4f03591
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm64/configs/deepin_arm64_desktop_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1085,6 +1085,7 @@ CONFIG_SCSI_PM8001=m
CONFIG_SCSI_BFA_FC=m
CONFIG_SCSI_VIRTIO=m
CONFIG_SCSI_CHELSIO_FCOE=m
CONFIG_SCSI_LINKDATA_PS3STOR=m
CONFIG_SCSI_DH=y
CONFIG_SCSI_DH_RDAC=m
CONFIG_SCSI_DH_HP_SW=m
Expand Down
1 change: 1 addition & 0 deletions drivers/scsi/linkdata/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
EXTRA_CFLAGS += -DPS3_CFG_RELEASE
EXTRA_CFLAGS += -DPS3_HARDWARE_ASIC
EXTRA_CFLAGS += -DPS3_MODEL_V200
EXTRA_CFLAGS += -mno-outline-atomics

obj-$(CONFIG_SCSI_LINKDATA_PS3STOR) += ps3stor.o

Expand Down

0 comments on commit 4f03591

Please sign in to comment.