Skip to content

Commit

Permalink
include: linux/psp-hygon.h: remove redundant function symbols
Browse files Browse the repository at this point in the history
hygon inclusion
category: bugfix
CVE: NA

---------------------------

When the CONFIG_CRYPTO_DEV_SP_PSP option is disabled,
a compilation error occurs due to the duplicate definition
of the vpsp_try_do_cmd function symbol.

Signed-off-by: [email protected] <[email protected]>
  • Loading branch information
[email protected] authored and opsiff committed Nov 29, 2024
1 parent 0c448d8 commit a0b9926
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions include/linux/psp-hygon.h
Original file line number Diff line number Diff line change
Expand Up @@ -565,10 +565,6 @@ static inline int
vpsp_try_get_result(uint8_t prio,
uint32_t index, phys_addr_t phy_addr, struct vpsp_ret *psp_ret) { return -ENODEV; }

static inline int
vpsp_try_do_cmd(uint32_t vid, int cmd,
void *data, struct vpsp_ret *psp_ret) { return -ENODEV; }

static inline int
vpsp_try_do_cmd(int cmd, phys_addr_t phy_addr,
struct vpsp_ret *psp_ret) { return -ENODEV; }
Expand Down

0 comments on commit a0b9926

Please sign in to comment.