mirror of https://github.com/torvalds/linux.git
Change the 'ret' variable from u32 to int to store negative error codes or zero returned by cache_kset_close(). Storing the negative error codes in unsigned type, doesn't cause an issue at runtime but it's ugly. Additionally, assigning negative error codes to unsigned type may trigger a GCC warning when the -Wsign-conversion flag is enabled. No effect on runtime. Signed-off-by: Qianfeng Rong <rongqianfeng@vivo.com> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| backing_dev.c | ||
| backing_dev.h | ||
| cache.c | ||
| cache.h | ||
| cache_dev.c | ||
| cache_dev.h | ||
| cache_gc.c | ||
| cache_key.c | ||
| cache_req.c | ||
| cache_segment.c | ||
| cache_writeback.c | ||
| dm_pcache.c | ||
| dm_pcache.h | ||
| pcache_internal.h | ||
| segment.c | ||
| segment.h | ||