From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796118304; b=GtZdA2Q+NmMP4KjvRuamVhSwTSol6+tYMqM74iDeI6azjBxvFpCQcdE6ockswhcZNAmB ivRsr69EpnkuUu6XOUiCsG2/1kqqiJyCy+xK8tuW/+pf+lNYiaGifsGfNNkM67qcEnFGU dX/EdEZoovHhJgpSjpuHs8u/pR12bWQyGbvzgul/l48oA7USkK8IPeaY62ggkNYl2jSYr me1hwCqv37hQTfPS6lmw2lgjCvsBShYZJZQqVLV4CkMLVBnuIk0T+BffVd+HXRX5YfE72 rAA/4F06DzAfCe0OihOSbPRWl6cRNwuCxukIOjYHu6JeOJfX06P2tEEdi35KFdm0Rrw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796118304; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=sLo6EZTxkeesV9/8wS9pNIBCtIu/zo/btQra2ZZK9dk=; b=JHaDLTm955kWvD9Ui1JLNAJQ4dFquDeb0ID0tW47gDkPkKXyj0jr7vo0TZsL3QWMkTv9 tXqaAVm638TLdkDU7BsJ+dMQTMZAictjkp56JPmkSeY8xPBXkWEO2fJ0Fglo92wXAIuiE JlZXWbwyXOaU0q9Kvnd+c7WeDyUNJ6arid8FBGxGLeviIELyI0+Yh4U9it9lIe7OqK1sg ECs5Z+zWX431ceuq5uM9aP8wAQcqstE/yvQPdKsfmguwVNAK7WBXalbUWy5uiZsCJ5n/Y KU6B9v4KqmUf/TUAxEwNyaDUTgr3GDEhhR4OU1bwvwKyw9iMrqpZy/ZxzRUy757hrJw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=A7ANeJIp; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 59BDC606A32E for ; Tue, 1 Dec 2026 09:45:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=A7ANeJIp Received: by smtp.kernel.org (Postfix) with ESMTPSA id 48C761F0089A; Tue, 1 Dec 2026 09:45:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796118303; bh=sLo6EZTxkeesV9/8wS9pNIBCtIu/zo/btQra2ZZK9dk=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=A7ANeJIp6tcNvtSTwojaV0wWbhSEh/yowY/5WCCtybloc5bd/PlVD2d8I+20JB1BM ZW3pDXevV3ZUR8g7OOrg+0n1gOZ2uY7b4PptMp4w4cAn74Ys1379QikZCxXCLey4jO /13XleHFeCeGcdEfpdDzJuwY8uPU6dWIUdxaUWBlyZE+6LopnLyZ4770ZnDbgaoOqA rolTj+0WezoLnM3KlGTN0JIXRQ0PiIVd11bNFU3JmLQ8VTHZA84ejwV4S5oSfZcFO4 dsZ94z6OSEkizznAz9/uU1CRNBC2EBhdZs0yIjL7+nZ6SsgrI2SEjkxxDnh1L3g1Gl r4cLX+8GJJP5Q== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH] RDMA/ionic: unmap query QP buffers with their mapped size Reply-To: sashiko-reviews@lists.linux.dev To: "Thomas Fourier" Cc: =?utf-8?b?b3BlbiBsaXN0OkFNRCBQRU5TQU5ETyBSRE1BIERSSVZFUg==?= In-Reply-To: <20261201093543.6922-2-fourier.thomas@gmail.com> References: <20261201093543.6922-2-fourier.thomas@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Tue, 01 Dec 2026 09:45:02 +0000 X-Mailing-List: linux-rdma@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list > ionic_query_qp_cmd() maps query_sqbuf and query_rqbuf with PAGE_SIZE but > unmaps them with sizeof(*query_sqbuf) and sizeof(*query_rqbuf). This may > lead to leaving part of the buffer mapped. >=20 > Unmap both buffers with PAGE_SIZE. >=20 > Fixes: e8521822c733 ("RDMA/ionic: Register device ops for control path") > Signed-off-by: Thomas Fourier Sashiko has reviewed this patch and found no issues. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261201093543.6922= -2-fourier.thomas@gmail.com?part=3D1