kernel - Change index fields from unsigned to signed
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 5 Oct 2017 20:46:54 +0000 (13:46 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 5 Oct 2017 20:46:54 +0000 (13:46 -0700)
commitb9045046a56b099b2d7d82f1d1bb3dfd7aa1699d
tree7594181425b34755732a013155b67d475e38a252
parentad2b45bef10dd9e271060d45ea438759afeb4a39
kernel - Change index fields from unsigned to signed

* We use a signed trick for (j), fix the code so it actually works.

* The chipset field used to index (i) cannot exceed 1024 anyway.

Reported-by: lubos Bug #3020
sys/dev/disk/nvme/nvme_admin.c