]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
property: Introduce inline function to check 64bit reg
authorMinwoo Im <minwoo.im@samsung.com>
Sun, 5 May 2019 11:46:39 +0000 (20:46 +0900)
committerMinwoo Im <minwoo.im@samsung.com>
Sun, 5 May 2019 12:05:41 +0000 (13:05 +0100)
commit077bd5c382ff92449cd528bb2867049454bf1055
treeecf6b5f2579c19f44c3d7445a199661c1cebba72
parent4ac4f7234a3a5030f9829d7058ca1009658c3a00
property: Introduce inline function to check 64bit reg

This patch removes 'advance' argument used in get_property_helper() to tell
the register of the given offset is whether 64bit or not, instead introduce a
inline function to check it simply.

This kind of check might be needed at the print module to figure out if given
register should be printed out in 32bit format or 64bit format.

Signed-off-by: Minwoo Im <minwoo.im@samsung.com>
nvme-ioctl.c
nvme.h