summaryrefslogtreecommitdiffstats
path: root/arch/sh/lib/old-checksum.c
blob: ae3a38043a7f2ad2c66558a708e749556a210a04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * FIXME: old compatibility stuff, will be removed soon.
 */

#include <net/checksum.h>

unsigned int csum_partial_copy( const char *src, char *dst, int len, int sum)
{
	int src_err=0, dst_err=0;

	sum = csum_partial_copy_generic ( src, dst, len, sum, &src_err, &dst_err);

	if (src_err || dst_err)
		printk("old csum_partial_copy_fromuser(), tell mingo to convert me.\n");

	return sum;
}