public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb•de>
To: linaro-kernel@lists•linaro.org
Cc: Build bot for Mark Brown <broonie@kernel•org>,
	kernel-build-reports@lists•linaro.org,
	linux-next@vger•kernel.org
Subject: Re: next-20160512 build: 0 failures 18 warnings (next-20160512)
Date: Thu, 12 May 2016 11:14:35 +0200	[thread overview]
Message-ID: <6651930.C0tGb7p3a4@wuerfel> (raw)
In-Reply-To: <E1b0m8y-0002hK-8Y@optimist>

On Thursday 12 May 2016 09:38:52 Build bot for Mark Brown wrote:
> -------------------------------------------------------------------------------
> arm64-allnoconfig : PASS, 0 errors, 1 warnings, 0 section mismatches
> 
> Warnings:
> 	../mm/page_alloc.c:3658:5: warning: 'compact_result' may be used uninitialized in this function [-Wmaybe-uninitialized]

I sent a patch, and a better one was done subsequently.

> -------------------------------------------------------------------------------
> arm64-allmodconfig : PASS, 0 errors, 15 warnings, 0 section mismatches
> 
> Warnings:
> 	../fs/gfs2/dir.c:802:9: warning: 'leaf_no' may be used uninitialized in this function [-Wmaybe-uninitialized]
> 	../fs/gfs2/dir.c:1021:8: warning: 'leaf_no' may be used uninitialized in this function [-Wmaybe-uninitialized]
> 	../fs/reiserfs/ibalance.c:1156:2: warning: 'new_insert_key' may be used uninitialized in this function [-Wmaybe-uninitialized]
> 	../drivers/staging/iio/adc/ad7606_spi.c:24:18: warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized]

I should check these all, these may have been uncovered by my change to not
set CONFIG_CC_OPTIMIZE_FOR_SIZE for allmodconfig, which dropped the
-Wno-maybe-uninitialized.

Which compiler version are you using?

> 	../include/acpi/video.h:74:12: warning: 'acpi_video_get_levels' defined but not used [-Wunused-function]
> 	../include/acpi/video.h:74:12: warning: 'acpi_video_get_levels' defined but not used [-Wunused-function]

Should be easy to fix. I never saw this so far, as it's only on arm64, not arm32.

> 	../include/soc/nps/common.h:148:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
> 	../include/soc/nps/common.h:162:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
> 	../drivers/soc/mediatek/mtk-pmic-wrap.c:1062:16: warning: large integer implicitly truncated to unsigned type [-Woverflow]
> 	../drivers/soc/mediatek/mtk-pmic-wrap.c:1074:16: warning: large integer implicitly truncated to unsigned type [-Woverflow]
> 	../drivers/soc/mediatek/mtk-pmic-wrap.c:1086:16: warning: large integer implicitly truncated to unsigned type [-Woverflow]

Probably a regression that shows up on all 64-bit builds, will take a look


> 	../drivers/xen/balloon.c:154:13: warning: 'release_memory_resource' declared 'static' but never defined [-Wunused-function]

I sent a patch

> -------------------------------------------------------------------------------
> arm-multi_v5_defconfig : PASS, 0 errors, 3 warnings, 0 section mismatches
> 
> Warnings:
> 	../kernel/cgroup.c:1634:15: warning: unused variable 'ret' [-Wunused-variable]

My patch should be merged tomorrow.

> 	../drivers/regulator/core.c:2536:1: warning: 'regulator_can_change_voltage' is deprecated [-Wdeprecated-declarations]
> 	../include/linux/export.h:63:25: warning: 'regulator_can_change_voltage' is deprecated [-Wdeprecated-declarations]
> -------------------------------------------------------------------------------
> arm-allmodconfig : PASS, 0 errors, 6 warnings, 0 section mismatches
> 
> Warnings:
> 	../drivers/gpu/drm/omapdrm/dss/dsi.c:1183:2: warning: 'regulator_can_change_voltage' is deprecated [-Wdeprecated-declarations]
> 	../drivers/gpu/drm/omapdrm/dss/hdmi4.c:117:2: warning: 'regulator_can_change_voltage' is deprecated [-Wdeprecated-declarations]
> 	../drivers/gpu/drm/omapdrm/dss/hdmi5.c:134:2: warning: 'regulator_can_change_voltage' is deprecated [-Wdeprecated-declarations]

Only omapdrm remains using this. Peter Ujfalusi sent a patch for it
and Tomi Valkeinen applied it and sent a pull request to dri-devel
this Monday, but it has not yet shown up in linux-next, see

http://permalink.gmane.org/gmane.linux.kernel/2210499
http://lkml.iu.edu/hypermail/linux/kernel/1604.3/05431.html
http://www.spinics.net/lists/dri-devel/msg106847.html

I assume it's going to be there in -rc1. 

Mark, are you planning to remove the definition for 4.7 when we get there?
If not, maybe do a change so we don't get a warning for the EXPORT_SYMBOL?

	Arnd

  reply	other threads:[~2016-05-12  9:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-12  8:38 next-20160512 build: 0 failures 18 warnings (next-20160512) Build bot for Mark Brown
2016-05-12  9:14 ` Arnd Bergmann [this message]
2016-05-12 10:55   ` Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6651930.C0tGb7p3a4@wuerfel \
    --to=arnd@arndb$(echo .)de \
    --cc=broonie@kernel$(echo .)org \
    --cc=kernel-build-reports@lists$(echo .)linaro.org \
    --cc=linaro-kernel@lists$(echo .)linaro.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox