dm cache policy smq: make static read-only array table const
authorColin Ian King <colin.i.king@gmail.com>
Sun, 23 Jan 2022 22:47:40 +0000 (22:47 +0000)
committerMike Snitzer <snitzer@redhat.com>
Tue, 22 Feb 2022 15:35:53 +0000 (10:35 -0500)
commit302f035141d3d4faee36f8543d34a32fb36a886d
treec1c84123905bb5834ee4100abe074fd92ea6654e
parentc357342186dce510564bb6351e8567328e19541c
dm cache policy smq: make static read-only array table const

The 'table' static array is read-only so it make sense to make
it const. Add in the int type to clean up checkpatch warning.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-cache-policy-smq.c