]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
accel/qaic: Update MAX_ORDER use to be inclusive
authorJeffrey Hugo <quic_jhugo@quicinc.com>
Fri, 3 Nov 2023 15:33:02 +0000 (09:33 -0600)
committerJeffrey Hugo <quic_jhugo@quicinc.com>
Fri, 17 Nov 2023 17:47:26 +0000 (10:47 -0700)
commit47fbee5f27ed9ef43340db03ba2b58a673a6e72b
tree4b3eed7f7f5e6c0db2f907b5bfad9f1db6f94ba0
parent3b434a3445fff3149128db0169da864d67057325
accel/qaic: Update MAX_ORDER use to be inclusive

MAX_ORDER was redefined so that valid allocations to the page allocator
are in the range of 0..MAX_ORDER, inclusive in the commit
23baf831a32c ("mm, treewide: redefine MAX_ORDER sanely").

We are treating MAX_ORDER as an exclusive value, and thus could be
requesting larger allocations.  Update our use to match the redefinition
of MAX_ORDER.

Signed-off-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Reviewed-by: Pranjal Ramajor Asha Kanojiya <quic_pkanojiy@quicinc.com>
Reviewed-by: Carl Vanderlip <quic_carlv@quicinc.com>
Reviewed-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231103153302.20642-1-quic_jhugo@quicinc.com
drivers/accel/qaic/qaic_data.c