Skip to content

Commit

Permalink
nbft: fix up csum function
Browse files Browse the repository at this point in the history
Signed-off-by: John Meneghini <jmeneghi@redhat.com>
  • Loading branch information
johnmeneghini committed Apr 5, 2023
1 parent 44f2cf0 commit dd89897
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nvme/nbft.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

#define MIN(a, b) (((a) < (b)) ? (a) : (b))

static __u8 csum(void *buffer, int length)
static __u8 csum(const __u8 *buffer, ssize_t length)
{
int n;
__u8 sum = 0;
Expand Down

0 comments on commit dd89897

Please sign in to comment.