Buildresult: linus-rand/powerpc-randconfig/powerpc-gcc4.6 built on Oct 16 2018, 04:34
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Oct 16 2018, 04:34
Duration:
0:01:20.105247
Builder:
ka2
Revision:
afs: Fix clearance of reply (
f0a7d1883d9f78ae7bf15fc258bf9a2b20f35b76)
Target:
linus-rand/powerpc-randconfig/powerpc-gcc4.6
Branch:
linus-rand
Compiler:
powerpc-gcc4.6
(powerpc-linux-gcc (GCC) 4.6.3)
Config:
randconfig
(
download
)
Log:
Download original
Possible warnings (29)
scripts/unifdef.c:453:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] kernel/printk/printk.c:185:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] cc1: warning: unrecognized command line option "-Wno-maybe-uninitialized" [enabled by default] drivers/char/tpm/tpm-sysfs.c:37:16: warning: 'tpm_buf.data' may be used uninitialized in this function [-Wuninitialized] cc1: warning: unrecognized command line option "-Wno-maybe-uninitialized" [enabled by default] drivers/char/tpm/tpm.h:503:9: warning: 'blob_handle' may be used uninitialized in this function [-Wuninitialized] cc1: warning: unrecognized command line option "-Wno-maybe-uninitialized" [enabled by default] lib/mpi/mpicoder.c:352:8: warning: 'buff' may be used uninitialized in this function [-Wuninitialized] cc1: warning: unrecognized command line option "-Wno-maybe-uninitialized" [enabled by default] drivers/mfd/tc3589x.c:390:2: warning: 'version' may be used uninitialized in this function [-Wuninitialized] cc1: warning: unrecognized command line option "-Wno-maybe-uninitialized" [enabled by default] drivers/i2c/i2c-core-base.c:235:5: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] cc1: warning: unrecognized command line option "-Wno-maybe-uninitialized" [enabled by default] lib/rhashtable.c:264:2: warning: 'next' may be used uninitialized in this function [-Wuninitialized] cc1: warning: unrecognized command line option "-Wno-maybe-uninitialized" [enabled by default] drivers/video/backlight/adp8870_bl.c:785:32: warning: 'reg_val' may be used uninitialized in this function [-Wuninitialized] drivers/video/backlight/adp8870_bl.c:564:16: warning: 'reg_val' may be used uninitialized in this function [-Wuninitialized] cc1: warning: unrecognized command line option "-Wno-maybe-uninitialized" [enabled by default] drivers/staging/erofs/data.c:209:15: warning: 'last_block' may be used uninitialized in this function [-Wuninitialized] cc1: warning: unrecognized command line option "-Wno-maybe-uninitialized" [enabled by default] include/linux/list.h:93:12: warning: 'head' may be used uninitialized in this function [-Wuninitialized] cc1: warning: unrecognized command line option "-Wno-maybe-uninitialized" [enabled by default] include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] cc1: warning: unrecognized command line option "-Wno-maybe-uninitialized" [enabled by default] drivers/iio/proximity/isl29501.c:253:7: warning: 'msb' may be used uninitialized in this function [-Wuninitialized] cc1: warning: unrecognized command line option "-Wno-maybe-uninitialized" [enabled by default] drivers/iio/temperature/mlx90632.c:348:37: warning: 'object_old_raw' may be used uninitialized in this function [-Wuninitialized] drivers/iio/temperature/mlx90632.c:348:37: warning: 'object_new_raw' may be used uninitialized in this function [-Wuninitialized] cc1: warning: unrecognized command line option "-Wno-maybe-uninitialized" [enabled by default]
Full Log
# git rev-parse -q --verify f0a7d1883d9f78ae7bf15fc258bf9a2b20f35b76^{commit} f0a7d1883d9f78ae7bf15fc258bf9a2b20f35b76 already have revision, skipping fetch # git checkout -q -f -B kisskb f0a7d1883d9f78ae7bf15fc258bf9a2b20f35b76 # git clean -qxdf # < git log -1 # commit f0a7d1883d9f78ae7bf15fc258bf9a2b20f35b76 # Author: David Howells <dhowells@redhat.com> # Date: Mon Oct 15 12:43:02 2018 +0100 # # afs: Fix clearance of reply # # The recent patch to fix the afs_server struct leak didn't actually fix the # bug, but rather fixed some of the symptoms. The problem is that an # asynchronous call that holds a resource pointed to by call->reply[0] will # find the pointer cleared in the call destructor, thereby preventing the # resource from being cleaned up. # # In the case of the server record leak, the afs_fs_get_capabilities() # function in devel code sets up a call with reply[0] pointing at the server # record that should be altered when the result is obtained, but this was # being cleared before the destructor was called, so the put in the # destructor does nothing and the record is leaked. # # Commit f014ffb025c1 removed the additional ref obtained by # afs_install_server(), but the removal of this ref is actually used by the # garbage collector to mark a server record as being defunct after the record # has expired through lack of use. # # The offending clearance of call->reply[0] upon completion in # afs_process_async_call() has been there from the origin of the code, but # none of the asynchronous calls actually use that pointer currently, so it # should be safe to remove (note that synchronous calls don't involve this # function). # # Fix this by the following means: # # (1) Revert commit f014ffb025c1. # # (2) Remove the clearance of reply[0] from afs_process_async_call(). # # Without this, afs_manage_servers() will suffer an assertion failure if it # sees a server record that didn't get used because the usage count is not 1. # # Fixes: f014ffb025c1 ("afs: Fix afs_server struct leak") # Fixes: 08e0e7c82eea ("[AF_RXRPC]: Make the in-kernel AFS filesystem use AF_RXRPC.") # Signed-off-by: David Howells <dhowells@redhat.com> # Cc: stable <stable@vger.kernel.org> # Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < git log --format=%s --max-count=1 f0a7d1883d9f78ae7bf15fc258bf9a2b20f35b76 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- randconfig KCONFIG_SEED=0x90F1968C # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_CPU_BIG_ENDIAN=y # Added to kconfig CONFIG_PPC64=y # Added to kconfig CONFIG_PPC_DISABLE_WERROR=y # Added to kconfig CONFIG_SECTION_MISMATCH_WARN_ONLY=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_LD_HEAD_STUB_CATCH=y # Added to kconfig # yes \n | make -s -j 48 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- oldconfig yes: standard output: Broken pipe # make -s -j 48 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/scripts/unifdef.c: In function 'Mpass': /kisskb/src/scripts/unifdef.c:453:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] static void Mpass (void) { strncpy(keyword, "if ", 4); Pelif(); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:185:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/printk/printk.c: At top level: cc1: warning: unrecognized command line option "-Wno-maybe-uninitialized" [enabled by default] /kisskb/src/drivers/char/tpm/tpm-sysfs.c: In function 'pubek_show': /kisskb/src/drivers/char/tpm/tpm-sysfs.c:37:16: warning: 'tpm_buf.data' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/char/tpm/tpm-sysfs.c: At top level: cc1: warning: unrecognized command line option "-Wno-maybe-uninitialized" [enabled by default] /kisskb/src/drivers/char/tpm/tpm2-cmd.c: In function 'tpm2_unseal_trusted': /kisskb/src/drivers/char/tpm/tpm.h:503:9: warning: 'blob_handle' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/char/tpm/tpm2-cmd.c:665:6: note: 'blob_handle' was declared here /kisskb/src/drivers/char/tpm/tpm2-cmd.c: At top level: cc1: warning: unrecognized command line option "-Wno-maybe-uninitialized" [enabled by default] /kisskb/src/lib/mpi/mpicoder.c: In function 'mpi_read_raw_from_sgl': /kisskb/src/lib/mpi/mpicoder.c:352:8: warning: 'buff' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/lib/mpi/mpicoder.c: At top level: cc1: warning: unrecognized command line option "-Wno-maybe-uninitialized" [enabled by default] /kisskb/src/drivers/mfd/tc3589x.c: In function 'tc3589x_probe': /kisskb/src/drivers/mfd/tc3589x.c:390:2: warning: 'version' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/mfd/tc3589x.c: At top level: cc1: warning: unrecognized command line option "-Wno-maybe-uninitialized" [enabled by default] /kisskb/src/drivers/i2c/i2c-core-base.c: In function 'i2c_generic_scl_recovery': /kisskb/src/drivers/i2c/i2c-core-base.c:235:5: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/i2c/i2c-core-base.c: At top level: cc1: warning: unrecognized command line option "-Wno-maybe-uninitialized" [enabled by default] /kisskb/src/lib/rhashtable.c: In function 'rht_deferred_worker': /kisskb/src/lib/rhashtable.c:264:2: warning: 'next' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/lib/rhashtable.c:229:28: note: 'next' was declared here /kisskb/src/lib/rhashtable.c: At top level: cc1: warning: unrecognized command line option "-Wno-maybe-uninitialized" [enabled by default] /kisskb/src/drivers/video/backlight/adp8870_bl.c: In function 'adp8870_bl_ambient_light_zone_show': /kisskb/src/drivers/video/backlight/adp8870_bl.c:785:32: warning: 'reg_val' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/video/backlight/adp8870_bl.c: In function 'adp8870_show': /kisskb/src/drivers/video/backlight/adp8870_bl.c:564:16: warning: 'reg_val' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/video/backlight/adp8870_bl.c: At top level: cc1: warning: unrecognized command line option "-Wno-maybe-uninitialized" [enabled by default] /kisskb/src/drivers/staging/erofs/data.c: In function 'erofs_raw_access_readpages': /kisskb/src/drivers/staging/erofs/data.c:209:15: warning: 'last_block' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/staging/erofs/data.c:342:14: note: 'last_block' was declared here /kisskb/src/drivers/staging/erofs/data.c: At top level: cc1: warning: unrecognized command line option "-Wno-maybe-uninitialized" [enabled by default] /kisskb/src/fs/f2fs/node.c: In function '__set_nat_cache_dirty': /kisskb/src/include/linux/list.h:93:12: warning: 'head' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/f2fs/node.c:238:24: note: 'head' was declared here /kisskb/src/fs/f2fs/node.c: At top level: cc1: warning: unrecognized command line option "-Wno-maybe-uninitialized" [enabled by default] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:341:21: note: 'pdeo' was declared here /kisskb/src/fs/proc/inode.c: At top level: cc1: warning: unrecognized command line option "-Wno-maybe-uninitialized" [enabled by default] /kisskb/src/drivers/iio/proximity/isl29501.c: In function 'isl29501_register_write': /kisskb/src/drivers/iio/proximity/isl29501.c:253:7: warning: 'msb' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/iio/proximity/isl29501.c: At top level: cc1: warning: unrecognized command line option "-Wno-maybe-uninitialized" [enabled by default] /kisskb/src/drivers/iio/temperature/mlx90632.c: In function 'mlx90632_read_raw': /kisskb/src/drivers/iio/temperature/mlx90632.c:348:37: warning: 'object_old_raw' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/iio/temperature/mlx90632.c:429:56: note: 'object_old_raw' was declared here /kisskb/src/drivers/iio/temperature/mlx90632.c:348:37: warning: 'object_new_raw' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/iio/temperature/mlx90632.c:429:40: note: 'object_new_raw' was declared here /kisskb/src/drivers/iio/temperature/mlx90632.c: At top level: cc1: warning: unrecognized command line option "-Wno-maybe-uninitialized" [enabled by default] Completed OK # rm -rf /kisskb/build/linus-rand_powerpc-randconfig_powerpc # Build took: 0:01:20.105247
© Michael Ellerman 2006-2018.