Change the column parameter in response_get_column() from u8 to u64
to support the full range of column identifiers.
Signed-off-by: Ondrej Kozina <okozina@redhat.com>
Reviewed-and-tested-by: Milan Broz <gmazyland@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
static int response_get_column(const struct parsed_resp *resp,
int *iter,
- u8 column,
+ u64 column,
u64 *value)
{
const struct opal_resp_tok *tok;
n++;
if (response_get_u64(resp, n) != column) {
- pr_debug("Token %d does not match expected column %u.\n",
+ pr_debug("Token %d does not match expected column %llu.\n",
n, column);
return OPAL_INVAL_PARAM;
}