linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Domagoj Tršan" <domagoj.trsan@gmail.com>
To: linux-btrfs@vger.kernel.org
Cc: clm@fb.com, jbacik@fb.com, dsterba@suse.com,
	"Domagoj Tršan" <domagoj.trsan@gmail.com>
Subject: [PATCH] btrfs: change btrfs_csum_final result param type to u8
Date: Sun, 18 Sep 2016 00:10:34 +0100	[thread overview]
Message-ID: <1474153835-6728-1-git-send-email-domagoj.trsan@gmail.com> (raw)

csum member of struct btrfs_super_block has array type of u8. It makes sense
that function btrfs_csum_final should be also declared to accept u8 *. I
changed the declaration of method void btrfs_csum_final(u32 crc, char *result);
to void btrfs_csum_final(u32 crc, u8 *result);

Domagoj Tršan (1):
  btrfs: change btrfs_csum_final result param type to u8

 fs/btrfs/disk-io.c | 2 +-
 fs/btrfs/disk-io.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
2.7.4


             reply	other threads:[~2016-09-17 23:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-17 23:10 Domagoj Tršan [this message]
2016-09-17 23:10 ` [PATCH] btrfs: change btrfs_csum_final result param type to u8 Domagoj Tršan
2016-09-19 17:22 ` David Sterba
2016-10-12 14:43   ` David Sterba
2016-10-21 11:51     ` Domagoj Tršan

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=1474153835-6728-1-git-send-email-domagoj.trsan@gmail.com \
    --to=domagoj.trsan@gmail.com \
    --cc=clm@fb.com \
    --cc=dsterba@suse.com \
    --cc=jbacik@fb.com \
    --cc=linux-btrfs@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).