diff options
| author | Yuezhang Mo <[email protected]> | 2022-12-13 01:40:32 +0000 |
|---|---|---|
| committer | Namjae Jeon <[email protected]> | 2022-12-13 11:17:11 +0000 |
| commit | 40306b4d1ba25970dafd53432e8daa5d591ebd99 (patch) | |
| tree | b150d91967727c957e09b02c9fbbf783ca7d459a /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | exfat: remove i_size_write() from __exfat_truncate() (diff) | |
| download | kernel-40306b4d1ba25970dafd53432e8daa5d591ebd99.tar.gz kernel-40306b4d1ba25970dafd53432e8daa5d591ebd99.zip | |
exfat: fix overflow in sector and cluster conversion
According to the exFAT specification, there are at most 2^32-11
clusters in a volume. so using 'int' is not enough for cluster
index, the return value type of exfat_sector_to_cluster() should
be 'unsigned int'.
Signed-off-by: Yuezhang Mo <[email protected]>
Reviewed-by: Sungjong Seo <[email protected]>
Signed-off-by: Namjae Jeon <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
