Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 69903d65 authored by Thiemo Seufer's avatar Thiemo Seufer Committed by Ralf Baechle
Browse files

Fix typos and formatting.

parent b59a9504
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -90,12 +90,12 @@ NESTED(except_vec3_r4000, 0, sp)

	/*
	 * Big shit, we now may have two dirty primary cache lines for the same
	 * physical address.  We can savely invalidate the line pointed to by
	 * physical address.  We can safely invalidate the line pointed to by
	 * c0_badvaddr because after return from this exception handler the
	 * load / store will be re-executed.
	 */
handle_vced:
	DMFC0	k0, CP0_BADVADDR
	MFC0	k0, CP0_BADVADDR
	li	k1, -4					# Is this ...
	and	k0, k1					# ... really needed?
	mtc0	zero, CP0_TAGLO
+4 −4
Original line number Diff line number Diff line
@@ -16,8 +16,8 @@
/*
 * copy while checksumming, otherwise like csum_partial
 */
unsigned int csum_partial_copy_nocheck(const unsigned char *src, unsigned char *dst,
	int len, unsigned int sum)
unsigned int csum_partial_copy_nocheck(const unsigned char *src,
	unsigned char *dst, int len, unsigned int sum)
{
	/*
	 * It's 2:30 am and I don't feel like doing it real ...
@@ -33,8 +33,8 @@ unsigned int csum_partial_copy_nocheck(const unsigned char *src, unsigned char *
 * Copy from userspace and compute checksum.  If we catch an exception
 * then zero the rest of the buffer.
 */
unsigned int csum_partial_copy_from_user (const unsigned char *src, unsigned char *dst,
	int len, unsigned int sum, int *err_ptr)
unsigned int csum_partial_copy_from_user (const unsigned char *src,
	unsigned char *dst, int len, unsigned int sum, int *err_ptr)
{
	int missing;