Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Console View

Legend:   Passed Failed Warnings Failed Again Running Exception Offline No data

OGAWA Hirofumi
tux3: Use BUG_ON() instead of assert() for libklib/fs.c
To avoid including assert.h, or define assert() macro. If we wants to
custom assert(), we can modify BUG_ON() instead.

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Add try_cmpxchg()/atomic_try_cmpxchg() for v4.12
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Clean UBSAN warnings
On userland unit test, we are using blocksize smaller than
512byte. The unit test works fine though, some codes uses
overflow/underflow for some unused variable initialization.

And it becomes the cause of following UBSAN warnings.

../xattr.c:68:24: runtime error: shift exponent 37 is too large for 32-bit type 'unsigned int'
../ileaf.c:95:30: runtime error: shift exponent 4294967293 is too large for 32-bit type 'int'

So suppress warnings and makes UBSAN clean.

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Enable __CHECK_ENDIAN__ always for sparse
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Use BUG_ON() instead of assert() for libklib/lockdebug.h
To avoid including assert.h, or define assert() macro. If we wants to
custom assert(), we can modify BUG_ON() instead.

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update libklib/wait.h for v4.13
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update log2.h for v4.10
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Add BLK_STS_* for v4.13
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Fix comment of compiler.h for v4.10
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Consolidate some buffer_writeback.c functions with kernel
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update libklib/rcupdate.h for v4.13
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Add refcount helper to libklib
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update libklib/rcupdate.h for v4.14
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Fix atomic64.h comment
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update libklib/err.h for v4.11
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update libklib/blk_types.h for v4.12
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update libklib/compiler-clang.h for v4.12
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update libklib/atomic*.h for v4.14
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update libklib/bitops.h for v4.14
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update libklib/build_bug.h for v4.13
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update libklib/hash.h to fix bad behavior
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update libklib/list.h for v4.11
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update libklib/slab.h for v4.12
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update list.h for v4.10
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Clean UBSAN warnings for libklib/
The left shift of signed type in libklib/bitops/fls.h.

fls.h:31:5: runtime error: left shift of 666894336 by 2 places cannot be represented in type 'int'

And another one to suppress the following UBSAN warning,

be_byteshift.h:14:14: runtime error: left shift of 195 by 24 places cannot be represented in type 'int'

cast to (u32).

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update libklib/compiler.h for v4.14
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update find_bit family to use lib/find_bit.c
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update kdev_t.h for v4.10
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update libklib/libklib.h for v4.14
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Add ALIGN_DOWN() for v4.12
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Add make option for gcc sanitizers (ASAN, UBSAN)
This adds support of ASAN (-fsanitize=address -fsanitize=leak), and
UBSAN (-fsanitize=undefined).

Usage is,

$ make ASAN=1
or
$ make UBSAN=1

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Disable diagnostic color of gcc ASAN/UBSAN if under emacs
ASAN/UBSAN uses color escape sequence if output is tty (in contrast,
gcc checks tty and TERM!=dumb).

If under emacs compile buffer, terminal escape sequence doesn't work
as color. So disable color if under TERM=dumb.

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update libklib/compiler* for v4.13
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Add #define SMALL_PAGE_SIZE_DEBUG for small size page (debugging)
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Fix order of objects and libraries when linking
Current order when linking is, we are using

$(LDFLAGS) objects tux3libs

(LDFLAGS is including external libraries) this is wrong order,
especially when using "--as-needed" flag.

To fix, this introduces $(LIBS) variable, and separate libs from
LDFLAGS,

$(LDFLAGS) objects tux3libs $(LIBS)

With this change, we can properly resolve undefined symbols of
objects by $(LIBS).

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Fix new warning by gcc-7.x in devel/shard.c
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update libklib/log2.h for v4.11
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Fix duplicated test result if output is not tty
If output is not tty, stdout is buffered more than line. So duplicated
result lines will be produced by fork().

This fixes by fflush() before fork().

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update GFP_* for v4.13
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Add comment to libklib files
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>