OSDN Git Service

nvmet: use unsigned type for u64
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Fri, 12 Jun 2020 01:16:59 +0000 (18:16 -0700)
committerChristoph Hellwig <hch@lst.de>
Wed, 8 Jul 2020 14:16:17 +0000 (16:16 +0200)
commita0f0dbaa6986d6777a4a6835ec91616d5c75ac25
tree60403cb20e4fab472560d841a523c1878064e8c4
parent6fa350f7145677cf6d0b86eff33eb2e3e246770c
nvmet: use unsigned type for u64

In function nvmet_subsys_atte_version_show() which uses the NVME_XXX()
macros related to version (of type u64) get rid of the int type cast
when printing subsys version and use appropriate format specifier for
u64.

Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/configfs.c