From: Andrew Morton <akpm@linux-foundation.org>
To: mm-commits@vger.kernel.org, ming.lei@redhat.com,
maorg@nvidia.com, hch@lst.de, wuchi.zero@gmail.com,
akpm@linux-foundation.org
Subject: [merged mm-nonmm-stable] lib-scatterlist-use-matched-parameter-type-when-call-__sg_free_table.patch removed from -mm tree
Date: Sun, 17 Jul 2022 17:32:28 -0700 [thread overview]
Message-ID: <20220718003229.4683FC341CE@smtp.kernel.org> (raw)
The quilt patch titled
Subject: lib/scatterlist: use matched parameter type when calling __sg_free_table()
has been removed from the -mm tree. Its filename was
lib-scatterlist-use-matched-parameter-type-when-call-__sg_free_table.patch
This patch was dropped because it was merged into the mm-nonmm-stable branch
of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: wuchi <wuchi.zero@gmail.com>
Subject: lib/scatterlist: use matched parameter type when calling __sg_free_table()
Date: Wed, 29 Jun 2022 11:02:41 +0800
commit 4635873c561a ("scsi: lib/sg_pool.c: improve APIs for allocating sg
pool") changeed @(bool)skip_first_chunk of __sg_free_table() to @(unsigned
int)nents_first_chunk, so use unsigend int type instead of bool type
(false -> 0) when calling the function in sg_free_append_table() and
sg_free_table().
Link: https://lkml.kernel.org/r/20220629030241.84559-1-wuchi.zero@gmail.com
Signed-off-by: wuchi <wuchi.zero@gmail.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Cc: Maor Gottlieb <maorg@nvidia.com>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
lib/scatterlist.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/lib/scatterlist.c~lib-scatterlist-use-matched-parameter-type-when-call-__sg_free_table
+++ a/lib/scatterlist.c
@@ -240,7 +240,7 @@ EXPORT_SYMBOL(__sg_free_table);
**/
void sg_free_append_table(struct sg_append_table *table)
{
- __sg_free_table(&table->sgt, SG_MAX_SINGLE_ALLOC, false, sg_kfree,
+ __sg_free_table(&table->sgt, SG_MAX_SINGLE_ALLOC, 0, sg_kfree,
table->total_nents);
}
EXPORT_SYMBOL(sg_free_append_table);
@@ -253,7 +253,7 @@ EXPORT_SYMBOL(sg_free_append_table);
**/
void sg_free_table(struct sg_table *table)
{
- __sg_free_table(table, SG_MAX_SINGLE_ALLOC, false, sg_kfree,
+ __sg_free_table(table, SG_MAX_SINGLE_ALLOC, 0, sg_kfree,
table->orig_nents);
}
EXPORT_SYMBOL(sg_free_table);
_
Patches currently in -mm which might be from wuchi.zero@gmail.com are
lib-debugobjects-fix-stat-count-and-optimize-debug_objects_mem_init.patch
reply other threads:[~2022-07-18 0:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220718003229.4683FC341CE@smtp.kernel.org \
--to=akpm@linux-foundation.org \
--cc=hch@lst.de \
--cc=linux-kernel@vger.kernel.org \
--cc=maorg@nvidia.com \
--cc=ming.lei@redhat.com \
--cc=mm-commits@vger.kernel.org \
--cc=wuchi.zero@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox