[U-Boot] [PATCH] ubifs: Change value of mutex_is_locked()

2018-04-04 Thread Bradley Bolen
mutex" is locked since that is the normal case when it is checked in the ubifs code. Signed-off-by: Bradley Bolen --- fs/ubifs/ubifs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ubifs/ubifs.h b/fs/ubifs/ubifs.h index 1d89465..70b794a 100644 --- a/fs/ubifs/ubifs.

[U-Boot] [PATCH] atomic-long: Fix warnings on arm64

2018-01-27 Thread Bradley Bolen
long.h:87:9: warning: implicit declaration of function 'atomic64_inc_and_test' Handle this the same as the 32 bit build by wrapping these functions in a __UBOOT__ check. Signed-off-by: Bradley Bolen --- include/asm-generic/atomic-long.h | 2 ++ 1 file changed, 2 insertions(+) diff --gi

[U-Boot] [PATCH] i2c: mv_i2c.c: Correct address endianness

2016-12-13 Thread Bradley Bolen
0c0f719ad2f46c8566a56daee37ebdb7c078c3b1 accidentally changed the endianness of the i2c read and write addresses. This was noticable when accessing EEPROMs that use 2 byte addressing as the LSB was being sent first. Signed-off-by: Bradley Bolen --- drivers/i2c/mv_i2c.c | 4 ++-- 1 file changed

[U-Boot] [PATCH] stdio: Fix a possible buffer overflow

2011-08-22 Thread Bradley Bolen
Signed-off-by: Bradley Bolen --- The length of the name of a stdio_dev is 16 bytes, but the local variable to hold it is only 8 bytes. Also, the memcpy should copy the size of the destination, not the size of the source. --- common/stdio.c |4 ++-- 1 files changed, 2 insertions(+), 2