Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions drivers/accel/amdxdna/aie.c
Original file line number Diff line number Diff line change
Expand Up @@ -749,9 +749,9 @@ int amdxdna_get_coredump(struct aie_device *aie,
struct amdxdna_dev *xdna = client->xdna;
struct amdxdna_coredump_walk_arg wa;
struct amdxdna_client *tmp_client;
int ret = -ENOENT;
size_t buf_size;
u8 __user *buf;
int ret;

drm_WARN_ON(&xdna->ddev, !mutex_is_locked(&xdna->dev_lock));

Expand Down Expand Up @@ -911,9 +911,9 @@ int amdxdna_aie_tile_read(struct aie_device *aie,
struct amdxdna_dev *xdna = client->xdna;
struct amdxdna_tile_rw_walk_arg wa;
struct amdxdna_client *tmp_client;
int ret = -ENOENT;
size_t buf_size;
u8 __user *buf;
int ret;

drm_WARN_ON(&xdna->ddev, !mutex_is_locked(&xdna->dev_lock));

Expand Down Expand Up @@ -1091,8 +1091,8 @@ int amdxdna_aie_tile_write(struct aie_device *aie,
struct amdxdna_dev *xdna = client->xdna;
struct amdxdna_tile_rw_walk_arg wa;
struct amdxdna_client *tmp_client;
int ret = -ENOENT;
u8 __user *buf;
int ret;

drm_WARN_ON(&xdna->ddev, !mutex_is_locked(&xdna->dev_lock));

Expand Down