LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Kari Argillander <kari.argillander@gmail.com>
To: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>,
ntfs3@lists.linux.dev, Christoph Hellwig <hch@lst.de>
Cc: Kari Argillander <kari.argillander@gmail.com>,
linux-kernel@vger.kernel.org
Subject: [PATCH v2] Use kernel alloc wrappers and fix wargings
Date: Tue, 17 Aug 2021 22:38:12 +0300 [thread overview]
Message-ID: <20210817193815.307182-1-kari.argillander@gmail.com> (raw)
In ntfs3 driver there is allocation made like this ntfs_malloc().
Patch 2/3 will converter these to kernel ones like kmalloc(). After I
did this then checkpatch raise warnings about array allocations so I
fix these in patch 3/3.
I also notice when I made patch that there is broken utf8 char so I
wanted first fix that because it raised some warning in my editor and
did not want to "break" patch 2/3. So patch 1/3 address that.
v2:
- Add patch 1/3 because I found broken utf8 char in source file
- Add another patch 2/2 which will fix allocation warnings
- Rewrite some of commit message from first patch
Kari Argillander (3):
fs/ntfs3: Fix one none utf8 char in source file
fs/ntfs3: Do not use driver own alloc wrappers
fs/ntfs3: Use kcalloc/kmalloc_array over kzalloc/kmalloc
fs/ntfs3/attrib.c | 6 +-
fs/ntfs3/attrlist.c | 10 +--
fs/ntfs3/bitmap.c | 8 +--
fs/ntfs3/debug.h | 7 --
fs/ntfs3/file.c | 4 +-
fs/ntfs3/frecord.c | 28 ++++----
fs/ntfs3/fslog.c | 172 ++++++++++++++++++++++----------------------
fs/ntfs3/fsntfs.c | 8 +--
fs/ntfs3/index.c | 54 +++++++-------
fs/ntfs3/inode.c | 10 +--
fs/ntfs3/lznt.c | 4 +-
fs/ntfs3/ntfs_fs.h | 18 ++---
fs/ntfs3/record.c | 8 +--
fs/ntfs3/run.c | 8 +--
fs/ntfs3/super.c | 20 +++---
fs/ntfs3/xattr.c | 18 ++---
16 files changed, 188 insertions(+), 195 deletions(-)
--
2.25.1
next reply other threads:[~2021-08-17 19:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-17 19:38 Kari Argillander [this message]
2021-08-17 19:38 ` [PATCH v2] fs/ntfs3: Fix one none utf8 char in source file Kari Argillander
2021-08-17 19:38 ` [PATCH v2] fs/ntfs3: Do not use driver own alloc wrappers Kari Argillander
2021-08-17 19:38 ` [PATCH v2] fs/ntfs3: Use kcalloc/kmalloc_array over kzalloc/kmalloc Kari Argillander
2021-08-17 23:12 ` Joe Perches
2021-08-17 23:43 ` Kari Argillander
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=20210817193815.307182-1-kari.argillander@gmail.com \
--to=kari.argillander@gmail.com \
--cc=almaz.alexandrovich@paragon-software.com \
--cc=hch@lst.de \
--cc=linux-kernel@vger.kernel.org \
--cc=ntfs3@lists.linux.dev \
--subject='Re: [PATCH v2] Use kernel alloc wrappers and fix wargings' \
/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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).