Discussion:
Issue 583462 in chromium: Resolve large number of warnings and errors when building non-CrOS configs of 3.18
(too old to reply)
c***@googlecode.com
2016-02-02 22:19:30 UTC
Permalink
Status: Started
Owner: ***@chromium.org
Labels: Type-Bug Pri-2 Kernel-3.18 OS-Chrome Cr-OS-Kernel

New issue 583462 by ***@chromium.org: Resolve large number of warnings
and errors when building non-CrOS configs of 3.18
https://code.google.com/p/chromium/issues/detail?id=583462

When building most generic configs of our chromeos-3.18 kernel, there are
numerous build warnings and errors.

Some of these are for missing upstream fixes, some from code coming in from
the Android tree, some from platform enablement patches in our own tree.

Bring in fixes for those, so that failures won't block generic testing of
our kernel. It's good hygiene code wise, and doing generic testing of our
kernel is good to catch unrelated issues that might bite ourselves later.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/a/chromium.org/group/chromium-bugs

---
You received this message because you are subscribed to the Google Groups "Chromium-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-bugs+***@chromium.org.
c***@googlecode.com
2016-02-03 08:09:59 UTC
Permalink
Comment #2 on issue 583462 by ***@chromium.org: Resolve large number
of warnings and errors when building non-CrOS configs of 3.18
https://code.google.com/p/chromium/issues/detail?id=583462#c2

The following revision refers to this bug:

https://chromium.googlesource.com/chromiumos/third_party/kernel/+/876d10f54bf65949dfcf698f93aa76f7776ca12a

commit 876d10f54bf65949dfcf698f93aa76f7776ca12a
Author: Richard Cochran <***@gmail.com>
Date: Fri Jan 02 19:22:07 2015

UPSTREAM: ixgbe: convert to CYCLECOUNTER_MASK macro.

BUG=chromium:583462
TEST=None (build)

Signed-off-by: Richard Cochran <***@gmail.com>
Signed-off-by: David S. Miller <***@davemloft.net>
(cherry picked from commit d312da293f787e1b19c57acb58e8c1b171c4a04a)
Signed-off-by: Guenter Roeck <***@roeck-us.net>
Signed-off-by: Olof Johansson <***@chromium.org>

Change-Id: Ic2422574df2ad5363c65868336a6d32cd4685cd0
Reviewed-on: https://chromium-review.googlesource.com/325464
Commit-Ready: Olof Johansson <***@chromium.org>
Tested-by: Olof Johansson <***@chromium.org>
Reviewed-by: Andrew Bresticker <***@chromium.org>

[modify]
http://crrev.com/876d10f54bf65949dfcf698f93aa76f7776ca12a/drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/a/chromium.org/group/chromium-bugs

---
You received this message because you are subscribed to the Google Groups "Chromium-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-bugs+***@chromium.org.
c***@googlecode.com
2016-02-03 08:12:28 UTC
Permalink
Comment #3 on issue 583462 by ***@chromium.org: Resolve large number
of warnings and errors when building non-CrOS configs of 3.18
https://code.google.com/p/chromium/issues/detail?id=583462#c3

The following revision refers to this bug:

https://chromium.googlesource.com/chromiumos/third_party/kernel/+/89f08601f8ed2be39ee92dfdf1a830f1b9eb4e13

commit 89f08601f8ed2be39ee92dfdf1a830f1b9eb4e13
Author: Guenter Roeck <***@roeck-us.net>
Date: Wed Jan 13 13:46:25 2016

CHROMIUM: alt-syscall: Include asm/syscall.h conditionally

To avoid build failures, only include asm/syscall.h if needed.

init/init_task.c:12:25: fatal error:
asm/syscall.h: No such file or directory
include/linux/alt-syscall.h:7:25: error:
asm/syscall.h: No such file or directory

Fixes: 7cbfd8622698 ("CHROMIUM: x86: implement thread_info-based syscall
table")
BUG=chromium:583462
TEST=None (build)

Change-Id: Ifb696ab6c837a3dc71d3052aecd5391647196c9b
Signed-off-by: Guenter Roeck <***@roeck-us.net>
Signed-off-by: Olof Johansson <***@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/325395
Reviewed-by: Andrew Bresticker <***@chromium.org>

[modify]
http://crrev.com/89f08601f8ed2be39ee92dfdf1a830f1b9eb4e13/init/init_task.c
[modify]
http://crrev.com/89f08601f8ed2be39ee92dfdf1a830f1b9eb4e13/include/linux/alt-syscall.h
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/a/chromium.org/group/chromium-bugs

---
You received this message because you are subscribed to the Google Groups "Chromium-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-bugs+***@chromium.org.
c***@googlecode.com
2016-02-03 08:13:28 UTC
Permalink
Comment #5 on issue 583462 by ***@chromium.org: Resolve large number
of warnings and errors when building non-CrOS configs of 3.18
https://code.google.com/p/chromium/issues/detail?id=583462#c5

The following revision refers to this bug:

https://chromium.googlesource.com/chromiumos/third_party/kernel/+/813609df297dce601f97d2a0f19ef337c891c740

commit 813609df297dce601f97d2a0f19ef337c891c740
Author: Guenter Roeck <***@roeck-us.net>
Date: Wed Jan 13 11:52:08 2016

CHROMIUM: mm: memcontrol: Remove unused drain_all_stock_sync

This causes build failures.

mm/memcontrol.c:2362:13: error: 'drain_all_stock_sync' defined but not used

Breakage seems to have been introduced by the backport of commit
"UPSTREAM: mm: memcontrol: continue cache reclaim from offlined groups",
likely due to missing dependency that cleaned this up before/after said
patch. Remove it now.

BUG=chromium:583462
TEST=None (build)

Change-Id: I5e7595ba6349b0b00c5a06f417fc94ebd1391386
Signed-off-by: Guenter Roeck <***@roeck-us.net>
Signed-off-by: Olof Johansson <***@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/325388
Reviewed-by: Sonny Rao <***@chromium.org>

[modify]
http://crrev.com/813609df297dce601f97d2a0f19ef337c891c740/mm/memcontrol.c
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/a/chromium.org/group/chromium-bugs

---
You received this message because you are subscribed to the Google Groups "Chromium-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-bugs+***@chromium.org.
c***@googlecode.com
2016-02-03 08:14:28 UTC
Permalink
Comment #9 on issue 583462 by ***@chromium.org: Resolve large number
of warnings and errors when building non-CrOS configs of 3.18
https://code.google.com/p/chromium/issues/detail?id=583462#c9

The following revision refers to this bug:

https://chromium.googlesource.com/chromiumos/third_party/kernel/+/20db81f07863994909f3e5c04d48d44bb1dac15e

commit 20db81f07863994909f3e5c04d48d44bb1dac15e
Author: Guenter Roeck <***@roeck-us.net>
Date: Wed Jan 13 12:32:37 2016

CHROMIUM: tpm: i2c_infineon: Mark suspend/resume functions as __maybe_unused

Avoid the following build error.

drivers/char/tpm/tpm_i2c_infineon.c:703:12: error:
'tpm_tis_i2c_suspend' defined but not used
drivers/char/tpm/tpm_i2c_infineon.c:711:12: error:
'tpm_tis_i2c_resume' defined but not used

Fixes: e852a6edd024 ("CHROMIUM: tpm: do not suspend/resume if power stays
on")
BUG=chromium:583462
TEST=None (build)

Change-Id: I5479fcfce64273dac88d930705d52e5ee7c67435
Signed-off-by: Guenter Roeck <***@roeck-us.net>
Signed-off-by: Olof Johansson <***@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/325448
Reviewed-by: Luigi Semenzato <***@chromium.org>

[modify]
http://crrev.com/20db81f07863994909f3e5c04d48d44bb1dac15e/drivers/char/tpm/tpm_i2c_infineon.c
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/a/chromium.org/group/chromium-bugs

---
You received this message because you are subscribed to the Google Groups "Chromium-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-bugs+***@chromium.org.
c***@googlecode.com
2016-02-03 08:15:28 UTC
Permalink
Comment #11 on issue 583462 by ***@chromium.org: Resolve large number
of warnings and errors when building non-CrOS configs of 3.18
https://code.google.com/p/chromium/issues/detail?id=583462#c11

The following revision refers to this bug:

https://chromium.googlesource.com/chromiumos/third_party/kernel/+/58dec71c385eb9c3478c0d4b619da150af5d5cd5

commit 58dec71c385eb9c3478c0d4b619da150af5d5cd5
Author: Guenter Roeck <***@roeck-us.net>
Date: Wed Jan 13 11:08:10 2016

CHROMIUM: low_mem: Use get_nr_swap_pages()

nr_swap_pages may be undefined for some architectures/configurations.
This can result in the following build error.

In file included from mm/page_alloc.c:63:0:
include/linux/low-mem-notify.h: In function '_is_low_mem_situation':
include/linux/low-mem-notify.h:49:42: error: 'nr_swap_pages' undeclared

Use its accessor instead of accessing it directly.

Fixes: a1d40b62c138 ("CHROMIUM: low-mem: work with swap enabled")
BUG=chromium:583462
TEST=None (build)

Change-Id: Ieaf9b3b54e60949b319759cfdfc222b2b2a94610
Signed-off-by: Guenter Roeck <***@roeck-us.net>
Signed-off-by: Olof Johansson <***@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/325402
Reviewed-by: Luigi Semenzato <***@chromium.org>

[modify]
http://crrev.com/58dec71c385eb9c3478c0d4b619da150af5d5cd5/include/linux/low-mem-notify.h
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/a/chromium.org/group/chromium-bugs

---
You received this message because you are subscribed to the Google Groups "Chromium-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-bugs+***@chromium.org.
c***@googlecode.com
2016-02-03 08:16:28 UTC
Permalink
Comment #7 on issue 583462 by ***@chromium.org: Resolve large number
of warnings and errors when building non-CrOS configs of 3.18
https://code.google.com/p/chromium/issues/detail?id=583462#c7

The following revision refers to this bug:

https://chromium.googlesource.com/chromiumos/third_party/kernel/+/dd5996a3d838642b0b92ceda31e0a114c063a8d2

commit dd5996a3d838642b0b92ceda31e0a114c063a8d2
Author: Vineet Gupta <***@synopsys.com>
Date: Sun May 10 06:34:01 2015

UPSTREAM: ARC: unbork !LLSC build

Fixes: f7d11e93ee97a locking,arch,arc: Fold atomic_ops
Cc: <***@kernel.vger.org> # 3.18
BUG=chromium:583462
TEST=None (build)

Signed-off-by: Vineet Gupta <***@synopsys.com>
(cherry picked from commit daaf40e53b5dbdf75255d58a45ce8ac65ca511a8)
Signed-off-by: Guenter Roeck <***@roeck-us.net>
Signed-off-by: Olof Johansson <***@chromium.org>

Change-Id: I00a4000fd80f208ec48b0839eac34dcc1244cc23
Reviewed-on: https://chromium-review.googlesource.com/325396
Commit-Ready: Olof Johansson <***@chromium.org>
Tested-by: Olof Johansson <***@chromium.org>
Reviewed-by: Andrew Bresticker <***@chromium.org>

[modify]
http://crrev.com/dd5996a3d838642b0b92ceda31e0a114c063a8d2/arch/arc/include/asm/atomic.h
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/a/chromium.org/group/chromium-bugs

---
You received this message because you are subscribed to the Google Groups "Chromium-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-bugs+***@chromium.org.
c***@googlecode.com
2016-02-03 08:17:28 UTC
Permalink
Comment #13 on issue 583462 by ***@chromium.org: Resolve large number
of warnings and errors when building non-CrOS configs of 3.18
https://code.google.com/p/chromium/issues/detail?id=583462#c13

The following revision refers to this bug:

https://chromium.googlesource.com/chromiumos/third_party/kernel/+/c040d5428bcb56ee72b84230553bbb50359d552a

commit c040d5428bcb56ee72b84230553bbb50359d552a
Author: Guenter Roeck <***@roeck-us.net>
Date: Wed Jan 13 20:24:30 2016

CHROMIUM: cpufreq: CPU_FREQ_STAT must be boolean

acct_update_power() is called from the scheduler code and must
therefore be built into the kernel.

Fixes: bf550d0b70dc ("ANDROID: sched: cpufreq: Update cpu_power field in
the task_struct")
Fixes: bec2c6bf22f9 ("cpufreq: Declare acct_update_power as static inline
if needed")
BUG=chromium:583462
TEST=None (build)

Change-Id: I353387a466052d3c827145c3ed09dda99bf2234d
Signed-off-by: Guenter Roeck <***@roeck-us.net>
Signed-off-by: Olof Johansson <***@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/325397
Reviewed-by: Dylan Reid <***@chromium.org>

[modify]
http://crrev.com/c040d5428bcb56ee72b84230553bbb50359d552a/drivers/cpufreq/Kconfig
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/a/chromium.org/group/chromium-bugs

---
You received this message because you are subscribed to the Google Groups "Chromium-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-bugs+***@chromium.org.
c***@googlecode.com
2016-02-03 08:23:32 UTC
Permalink
Comment #15 on issue 583462 by ***@chromium.org: Resolve large number
of warnings and errors when building non-CrOS configs of 3.18
https://code.google.com/p/chromium/issues/detail?id=583462#c15

The following revision refers to this bug:

https://chromium.googlesource.com/chromiumos/third_party/kernel/+/8329c0146fb3203fb9956a7b0c4da45dea7dd3fb

commit 8329c0146fb3203fb9956a7b0c4da45dea7dd3fb
Author: Guenter Roeck <***@roeck-us.net>
Date: Wed Jan 13 12:21:38 2016

CHROMIUM: wakeup: Declare constant strings where needed

Strings were declared within CONFIG_PM_DEBUG but used outside of it,
resulting in

kernel/power/main.c:495:31: error: 'automatic' undeclared
kernel/power/main.c:499:31: error: 'unknown' undeclared
kernel/power/main.c:503:31: error: 'user' undeclared
kernel/power/main.c:505:31: error: 'invalid' undeclared

if CONFIG_PM_DEBUG is not configured.

Fixes: e9f06607d891 ("CHROMIUM: wakeup: Clear wakeup_type in userspace")
BUG=chromium:583462
TEST=None (build)

Change-Id: Idbd9b048eec73bf4a566869b6d4f5e1c2a8641e1
Signed-off-by: Guenter Roeck <***@roeck-us.net>
Signed-off-by: Olof Johansson <***@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/325302
Reviewed-by: Eric Caruso <***@chromium.org>

[modify]
http://crrev.com/8329c0146fb3203fb9956a7b0c4da45dea7dd3fb/kernel/power/main.c
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/a/chromium.org/group/chromium-bugs

---
You received this message because you are subscribed to the Google Groups "Chromium-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-bugs+***@chromium.org.
c***@googlecode.com
2016-02-03 08:24:32 UTC
Permalink
Comment #17 on issue 583462 by ***@chromium.org: Resolve large number
of warnings and errors when building non-CrOS configs of 3.18
https://code.google.com/p/chromium/issues/detail?id=583462#c17

The following revision refers to this bug:

https://chromium.googlesource.com/chromiumos/third_party/kernel/+/d4a75d3992f5fb4ce79827d77f135778ff85f028

commit d4a75d3992f5fb4ce79827d77f135778ff85f028
Author: Max Filippov <***@gmail.com>
Date: Fri Feb 27 07:48:19 2015

UPSTREAM: xtensa: wire bpf and execveat syscalls

BUG=chromium:583462
TEST=None (build)

Signed-off-by: Max Filippov <***@gmail.com>
(cherry picked from commit d44679ab13ee5f2f2b80e1bfa039a6eeb20ec41e)
[groeck: execveat was not back-ported, drop it]
Signed-off-by: Guenter Roeck <***@roeck-us.net>
Signed-off-by: Olof Johansson <***@chromium.org>

Change-Id: I680646016606b6d87469887cb788256719bae3bb
Reviewed-on: https://chromium-review.googlesource.com/325456
Commit-Ready: Olof Johansson <***@chromium.org>
Tested-by: Olof Johansson <***@chromium.org>
Reviewed-by: Andrew Bresticker <***@chromium.org>

[modify]
http://crrev.com/d4a75d3992f5fb4ce79827d77f135778ff85f028/arch/xtensa/include/uapi/asm/unistd.h
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/a/chromium.org/group/chromium-bugs

---
You received this message because you are subscribed to the Google Groups "Chromium-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-bugs+***@chromium.org.
c***@googlecode.com
2016-02-03 08:30:32 UTC
Permalink
Comment #18 on issue 583462 by ***@chromium.org: Resolve large number
of warnings and errors when building non-CrOS configs of 3.18
https://code.google.com/p/chromium/issues/detail?id=583462#c18

The following revision refers to this bug:

https://chromium.googlesource.com/chromiumos/third_party/kernel/+/e4447b8dc578e7742a53e9712530feabbfabe04f

commit e4447b8dc578e7742a53e9712530feabbfabe04f
Author: Gregory CLEMENT <***@free-electrons.com>
Date: Tue Nov 25 15:19:12 2014

UPSTREAM: ARM: orion: convert the irq_reg_{readl,writel} calls to the new
API

The commit "genirq: Generic chip: Change irq_reg_{readl,writel}
arguments" modified the API. In the same tome the
arch/arm/plat-orion/gpio.c file received a fix with the use of the old
API: "ARM: orion: Fix for certain sequence of request_irq can cause
irq storm". This commit fixes the use of the API.

BUG=chromium:583462
TEST=None (build)

Signed-off-by: Gregory CLEMENT <***@free-electrons.com>

Link:
https://lkml.kernel.org/r/1416928752-24529-1-git-send-email-***@free-electrons.com
Signed-off-by: Jason Cooper <***@lakedaemon.net>
(cherry picked from commit 2f90bce7ff1f760986d55d9cb3a834e8638b1295)
Signed-off-by: Guenter Roeck <***@roeck-us.net>
Signed-off-by: Olof Johansson <***@chromium.org>

Change-Id: I1500a8f0e21828544ca004c080aba8f88fa67527
Reviewed-on: https://chromium-review.googlesource.com/325481
Commit-Ready: Olof Johansson <***@chromium.org>
Tested-by: Olof Johansson <***@chromium.org>
Reviewed-by: Andrew Bresticker <***@chromium.org>

[modify]
http://crrev.com/e4447b8dc578e7742a53e9712530feabbfabe04f/arch/arm/plat-orion/gpio.c
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/a/chromium.org/group/chromium-bugs

---
You received this message because you are subscribed to the Google Groups "Chromium-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-bugs+***@chromium.org.
c***@googlecode.com
2016-02-03 08:31:32 UTC
Permalink
Comment #19 on issue 583462 by ***@chromium.org: Resolve large number
of warnings and errors when building non-CrOS configs of 3.18
https://code.google.com/p/chromium/issues/detail?id=583462#c19

The following revision refers to this bug:

https://chromium.googlesource.com/chromiumos/third_party/kernel/+/ad9a900881fdf288909f55d9c69524e4fe4ffdc2

commit ad9a900881fdf288909f55d9c69524e4fe4ffdc2
Author: Guenter Roeck <***@roeck-us.net>
Date: Thu Jan 14 00:51:17 2016

CHROMIUM: sound: hda: Fix bad back-port

Commits 973f0594540b1 ("UPSTREAM: ALSA: hda - Handle error from
get_response bus
ops directly") and e64a7d164133e ("BACKPORT: ALSA: hda - fix number of
devices
query on hotplug") back-port and fix get_num_devices(). While doing so,
reading
the actual number of devices got lost. This results in the following build
error.

sound/pci/hda/hda_codec.c: In function 'snd_hda_get_devices':
sound/pci/hda/hda_codec.c:397:2: error:
'parm' may be used uninitialized in this function
sound/pci/hda/hda_codec.c:389:15: note: 'parm' was declared here

Fixes: 973f0594540b1 ("UPSTREAM: ALSA: hda - Handle error from get_response
bus ops directly")
Fixes: e64a7d164133e ("BACKPORT: ALSA: hda - fix number of devices query on
hotplug")
BUG=chromium:583462
TEST=None (build)

Change-Id: If979ef998242245171d452110a47a1b44e963255
Signed-off-by: Guenter Roeck <***@roeck-us.net>
Signed-off-by: Olof Johansson <***@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/325378
Reviewed-by: Anatol Pomazau <***@google.com>

[modify]
http://crrev.com/ad9a900881fdf288909f55d9c69524e4fe4ffdc2/sound/pci/hda/hda_codec.c
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/a/chromium.org/group/chromium-bugs

---
You received this message because you are subscribed to the Google Groups "Chromium-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-bugs+***@chromium.org.
c***@googlecode.com
2016-02-03 23:06:46 UTC
Permalink
Comment #57 on issue 583462 by ***@chromium.org: Resolve large number
of warnings and errors when building non-CrOS configs of 3.18
https://code.google.com/p/chromium/issues/detail?id=583462#c57

The following revision refers to this bug:

https://chromium.googlesource.com/chromiumos/third_party/kernel/+/3d329a2349f1b714ede2f18c346ea31c0d0cd415

commit 3d329a2349f1b714ede2f18c346ea31c0d0cd415
Author: Will Deacon <***@arm.com>
Date: Tue Sep 03 18:15:42 2013

UPSTREAM: m68k: io: implement dummy relaxed accessor macros for writes

write{b,w,l}_relaxed are implemented by some architectures in order to
permit memory-mapped I/O accesses with weaker barrier semantics than the
non-relaxed variants.

This patch adds dummy macros for the write accessors to m68k, in the
same vein as the dummy definitions for the relaxed read accessors.
Additionally, the existing relaxed read accessors are moved into
asm/io.h, so that they can be used by m68k targets with an MMU.

Acked-by: Geert Uytterhoeven <***@linux-m68k.org>
BUG=chromium:583462
TEST=None (build)

Signed-off-by: Will Deacon <***@arm.com>
(cherry picked from commit 88a9192e216fef5f198f860d14e84f7e3c840ace)
Signed-off-by: Guenter Roeck <***@roeck-us.net>
Signed-off-by: Olof Johansson <***@chromium.org>

Change-Id: Ib3643e9dd2eeedd2463ca16c28f00502f9edc00f
Reviewed-on: https://chromium-review.googlesource.com/325379
Commit-Ready: Olof Johansson <***@chromium.org>
Tested-by: Olof Johansson <***@chromium.org>
Reviewed-by: Andrew Bresticker <***@chromium.org>

[modify]
http://crrev.com/3d329a2349f1b714ede2f18c346ea31c0d0cd415/arch/m68k/include/asm/io.h
[modify]
http://crrev.com/3d329a2349f1b714ede2f18c346ea31c0d0cd415/arch/m68k/include/asm/io_no.h
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/a/chromium.org/group/chromium-bugs

---
You received this message because you are subscribed to the Google Groups "Chromium-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-bugs+***@chromium.org.
c***@googlecode.com
2016-02-04 04:10:21 UTC
Permalink
Comment #58 on issue 583462 by ***@chromium.org: Resolve large number
of warnings and errors when building non-CrOS configs of 3.18
https://code.google.com/p/chromium/issues/detail?id=583462#c58

The following revision refers to this bug:

https://chromium.googlesource.com/chromiumos/third_party/kernel/+/ad72066697ab697af8175a219541285fa6efc372

commit ad72066697ab697af8175a219541285fa6efc372
Author: Olof Johansson <***@chromium.org>
Date: Wed Feb 03 21:47:54 2016

Revert "PM / Suspend: Print wall time at suspend entry and exit"

This reverts commit 195382b8828f ("PM / Suspend: Print wall time at
suspend entry and exit").

Builds fail if SUSPEND is enabled and RTC_CLASS is disabled.

kernel/built-in.o: In function `rtc_time_to_tm':
include/linux/rtc.h:32: undefined reference to `rtc_time64_to_tm'

Original commit is broken, it depends on RTC_CLASS but adding an
actual Kconfig depends is really heavy handed. We don't rely on these
markers today so we can revert the patch for now.

BUG=chromium:583462
TEST=None

Change-Id: Ia1a1c6ebaaa6cd82144176ffcde31842b7a78726
Signed-off-by: Olof Johansson <***@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/325552
Reviewed-by: Dylan Reid <***@chromium.org>
Reviewed-by: Todd Broch <***@chromium.org>

[modify]
http://crrev.com/ad72066697ab697af8175a219541285fa6efc372/kernel/power/suspend.c
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/a/chromium.org/group/chromium-bugs

---
You received this message because you are subscribed to the Google Groups "Chromium-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-bugs+***@chromium.org.
c***@googlecode.com
2016-02-04 05:35:34 UTC
Permalink
Comment #59 on issue 583462 by ***@chromium.org: Resolve large number
of warnings and errors when building non-CrOS configs of 3.18
https://code.google.com/p/chromium/issues/detail?id=583462#c59

The following revision refers to this bug:

https://chromium.googlesource.com/chromiumos/third_party/kernel/+/5df9f0fe28673db8afb1d7b20f431cd2f0d07c60

commit 5df9f0fe28673db8afb1d7b20f431cd2f0d07c60
Author: Olof Johansson <***@chromium.org>
Date: Thu Feb 04 01:03:29 2016

CHROMIUM: Revert go2001 v4l driver

The go2001 driver was brought over to 3.18 but was never functional in the
format we had it (i.e. if enabled in config, it wouldn't even build.

Let's just revert it and bring it in properly on this or later kernels
at another time if/when it's needed.

This reverts the following commits:

f245909 CHROMIUM: go2001: Cancel contexts and reload firmware on
suspend-resume.
affbbae CHROMIUM: go2001: Add temporal layering for encoding
ba4a54a CHROMIUM: go2001: Add default settings for hardware coding control.
3a74a8b CHROMIUM: go2001: Add firmware reload watchdog.
180f7b5b CHROMIUM: go2001: Clean up message queuing/waiting functions.
37e53da go2001: Fix crop/visible size handling.
bef742e CHROMIUM: go2001: mark keyframe control as volatile.
b6fc116 CHROMIUM: go2001: tweak encoder parameters
94e1ea5 CHROMIUM: go2001: Update for 3.14 changes in vb2.
ace5ae4 CHROMIUM: go2001: Modify alignment checks for buffers.
63058f6 CHROMIUM: go2001: Handle gaps between partitions in encoder output
stream.
c20268b CHROMIUM: go2001: Fix encoder format enumeration.
cc64452 CHROMIUM: go2001: Add firmware loading sequence.
89127e9 CHROMIUM: v4l: Add go2001 PCI codec driver.

BUG=chromium:583462
TEST=None (build)

Change-Id: Ib98577793de82392ab0cfdb25d7a997b1018487a
Signed-off-by: Olof Johansson <***@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/325467
Reviewed-by: Pawel Osciak <***@chromium.org>

[delete]
http://crrev.com/8dc5b68776ab80506a010f3a06bdf8c815f4189e/drivers/media/pci/go2001/go2001_hw.h
[modify]
http://crrev.com/5df9f0fe28673db8afb1d7b20f431cd2f0d07c60/drivers/media/pci/Makefile
[delete]
http://crrev.com/8dc5b68776ab80506a010f3a06bdf8c815f4189e/drivers/media/pci/go2001/Makefile
[delete]
http://crrev.com/8dc5b68776ab80506a010f3a06bdf8c815f4189e/drivers/media/pci/go2001/go2001_hw.c
[delete]
http://crrev.com/8dc5b68776ab80506a010f3a06bdf8c815f4189e/drivers/media/pci/go2001/go2001_proto.h
[delete]
http://crrev.com/8dc5b68776ab80506a010f3a06bdf8c815f4189e/drivers/media/pci/go2001/Kconfig
[delete]
http://crrev.com/8dc5b68776ab80506a010f3a06bdf8c815f4189e/drivers/media/pci/go2001/go2001_driver.c
[modify]
http://crrev.com/5df9f0fe28673db8afb1d7b20f431cd2f0d07c60/drivers/media/pci/Kconfig
[delete]
http://crrev.com/8dc5b68776ab80506a010f3a06bdf8c815f4189e/drivers/media/pci/go2001/go2001.h
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/a/chromium.org/group/chromium-bugs

---
You received this message because you are subscribed to the Google Groups "Chromium-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-bugs+***@chromium.org.
c***@googlecode.com
2016-02-04 10:06:25 UTC
Permalink
Comment #61 on issue 583462 by ***@chromium.org: Resolve large number
of warnings and errors when building non-CrOS configs of 3.18
https://code.google.com/p/chromium/issues/detail?id=583462#c61

The following revision refers to this bug:

https://chromium.googlesource.com/chromiumos/third_party/kernel/+/d53fd0f0c6c3c62dec08667ae777730c904f14c2

commit d53fd0f0c6c3c62dec08667ae777730c904f14c2
Author: Michal Marek <***@suse.com>
Date: Thu Aug 20 12:13:35 2015

UPSTREAM: genksyms: Regenerate parser

Rebuild the parser after commit 1c722503fa81 (genksyms: Duplicate
function pointer type definitions segfault), using bison 2.7.

CQ-DEPEND=CL:325387
BUG=chromium:583462
TEST=None (build)

Signed-off-by: Michal Marek <***@suse.com>
(cherry picked from commit 5b733faca671756dd41b7e24584374e2b1fc3c4d)
Signed-off-by: Guenter Roeck <***@roeck-us.net>
Signed-off-by: Olof Johansson <***@chromium.org>

Change-Id: I48fb43cc66e15538265776448231081e928f3242
Reviewed-on: https://chromium-review.googlesource.com/325461
Commit-Ready: Olof Johansson <***@chromium.org>
Tested-by: Olof Johansson <***@chromium.org>
Reviewed-by: Daniel Kurtz <***@chromium.org>

[modify]
http://crrev.com/d53fd0f0c6c3c62dec08667ae777730c904f14c2/scripts/genksyms/parse.tab.c_shipped
[modify]
http://crrev.com/d53fd0f0c6c3c62dec08667ae777730c904f14c2/scripts/genksyms/parse.tab.h_shipped
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/a/chromium.org/group/chromium-bugs

---
You received this message because you are subscribed to the Google Groups "Chromium-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-bugs+***@chromium.org.
c***@googlecode.com
2016-02-04 10:07:25 UTC
Permalink
Comment #62 on issue 583462 by ***@chromium.org: Resolve large number
of warnings and errors when building non-CrOS configs of 3.18
https://code.google.com/p/chromium/issues/detail?id=583462#c62

The following revision refers to this bug:

https://chromium.googlesource.com/chromiumos/third_party/kernel/+/fa15608163a8ad50eda969ad661ade1097030273

commit fa15608163a8ad50eda969ad661ade1097030273
Author: Geert Uytterhoeven <***@linux-m68k.org>
Date: Fri Jun 26 12:09:26 2015

UPSTREAM: mmc: MMC_MTK should depend on HAS_DMA

If NO_DMA=y:

ERROR: "dma_alloc_coherent" [drivers/mmc/host/mtk-sd.ko] undefined!
ERROR: "dma_unmap_sg" [drivers/mmc/host/mtk-sd.ko] undefined!
ERROR: "dma_map_sg" [drivers/mmc/host/mtk-sd.ko] undefined!
ERROR: "dma_free_coherent" [drivers/mmc/host/mtk-sd.ko] undefined!

Add a dependency on HAS_DMA to fix this.

BUG=chromium:583462
TEST=None (build)

Signed-off-by: Geert Uytterhoeven <***@linux-m68k.org>
Signed-off-by: Ulf Hansson <***@linaro.org>
(cherry picked from commit c2b22fff7186f8a6bd6dbfe960ad00421ba82a52)
Signed-off-by: Guenter Roeck <***@roeck-us.net>
Signed-off-by: Olof Johansson <***@chromium.org>

Change-Id: I86b1abd81efd7efe798ec5de190517e642d66886
Reviewed-on: https://chromium-review.googlesource.com/325407
Commit-Ready: Daniel Kurtz <***@chromium.org>
Tested-by: Daniel Kurtz <***@chromium.org>
Reviewed-by: Daniel Kurtz <***@chromium.org>

[modify]
http://crrev.com/fa15608163a8ad50eda969ad661ade1097030273/drivers/mmc/host/Kconfig
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/a/chromium.org/group/chromium-bugs

---
You received this message because you are subscribed to the Google Groups "Chromium-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-bugs+***@chromium.org.
c***@googlecode.com
2016-02-04 21:36:27 UTC
Permalink
Comment #63 on issue 583462 by ***@chromium.org: Resolve large number
of warnings and errors when building non-CrOS configs of 3.18
https://code.google.com/p/chromium/issues/detail?id=583462#c63

The following revision refers to this bug:

https://chromium.googlesource.com/chromiumos/third_party/kernel/+/b5d0eff0f076e8f0279e1acff778eadf3e72c8fa

commit b5d0eff0f076e8f0279e1acff778eadf3e72c8fa
Author: Guenter Roeck <***@roeck-us.net>
Date: Thu Jan 14 16:05:39 2016

CHROMIUM: nouveau: gm20b: Move gm20b_freq_to_pstate outside CONFIG_THERMAL

Build error:

drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c:
In function gm20b_dvfs_predict_millivolts:
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c:1865:2: error:
implicit declaration of function gm20b_freq_to_pstate

if CONFIG_THERMAL is not configured and CONFIG_NOUVEAU_GPU_EDP is
configured.

Fixes: ace53840a0f16 ("CHROMIUM: drm/nouveau/clk: gm20b: add gpu edp")
BUG=chromium:583462
TEST=None (build)

Change-Id: I337d348c464ddd042d851d3342c84544f341d8a0
Signed-off-by: Guenter Roeck <***@roeck-us.net>
Signed-off-by: Olof Johansson <***@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/325347
Reviewed-by: Sean Paul <***@google.com>

[modify]
http://crrev.com/b5d0eff0f076e8f0279e1acff778eadf3e72c8fa/drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/a/chromium.org/group/chromium-bugs

---
You received this message because you are subscribed to the Google Groups "Chromium-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-bugs+***@chromium.org.
c***@googlecode.com
2016-02-04 21:37:27 UTC
Permalink
Comment #65 on issue 583462 by ***@chromium.org: Resolve large number
of warnings and errors when building non-CrOS configs of 3.18
https://code.google.com/p/chromium/issues/detail?id=583462#c65

The following revision refers to this bug:

https://chromium.googlesource.com/chromiumos/third_party/kernel/+/fc2e1cb7dbc9e0dc6b7bc0484316243da0c115fe

commit fc2e1cb7dbc9e0dc6b7bc0484316243da0c115fe
Author: Guenter Roeck <***@roeck-us.net>
Date: Fri Jan 15 01:10:36 2016

CHROMIUM: drm: imx208: Drop MODULE_DEVICE_TABLE

If built as module, compilation fails with

include/linux/module.h:138:40:
error: '__mod_of__imx208_of_match_device_table'
aliased to undefined symbol 'imx208_of_match'
drivers/gpu/drm/tegra/camera/imx208.c:637:1: note:
in expansion of macro 'MODULE_DEVICE_TABLE'
MODULE_DEVICE_TABLE(of, imx208_of_match);

Fixes: b4ebe6d12cfe ("CHROMIUM: tegra/drm: Add IMX208 driver")
BUG=chromium:583462
TEST=None (build)

Change-Id: I7af0070ee8901629adf98e9613941c361927ea35
Signed-off-by: Guenter Roeck <***@roeck-us.net>
Signed-off-by: Olof Johansson <***@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/325408
Reviewed-by: Sean Paul <***@google.com>

[modify]
http://crrev.com/fc2e1cb7dbc9e0dc6b7bc0484316243da0c115fe/drivers/gpu/drm/tegra/camera/imx208.c
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/a/chromium.org/group/chromium-bugs

---
You received this message because you are subscribed to the Google Groups "Chromium-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-bugs+***@chromium.org.
c***@googlecode.com
2016-02-04 21:40:56 UTC
Permalink
Comment #66 on issue 583462 by ***@chromium.org: Resolve large number
of warnings and errors when building non-CrOS configs of 3.18
https://code.google.com/p/chromium/issues/detail?id=583462#c66

The following revision refers to this bug:

https://chromium.googlesource.com/chromiumos/third_party/kernel/+/d476e0eb87ff1a55fb811911ea4af9e118e44e79

commit d476e0eb87ff1a55fb811911ea4af9e118e44e79
Author: Guenter Roeck <***@roeck-us.net>
Date: Wed Jan 13 16:54:08 2016

CHROMIUM: drm/nouveau: pmu: gk20a: Do not use variable before it is set

drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c:
In function 'gk20a_pmu_ctor':
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c:3292:17: error:
'pmu' may be used uninitialized in this function

Fixes: 5ca1ed831a7b ("drm/nouveau: pmu: add powergating support.")
BUG=chromium:583462
TEST=None (build)

Change-Id: I5c4cea2f058a9da2ae273fe8c8909533dd3043c9
Signed-off-by: Guenter Roeck <***@roeck-us.net>
Signed-off-by: Olof Johansson <***@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/325480
Reviewed-by: Sean Paul <***@google.com>

[modify]
http://crrev.com/d476e0eb87ff1a55fb811911ea4af9e118e44e79/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/a/chromium.org/group/chromium-bugs

---
You received this message because you are subscribed to the Google Groups "Chromium-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-bugs+***@chromium.org.
c***@googlecode.com
2016-02-04 21:42:25 UTC
Permalink
Comment #69 on issue 583462 by ***@chromium.org: Resolve large number
of warnings and errors when building non-CrOS configs of 3.18
https://code.google.com/p/chromium/issues/detail?id=583462#c69

The following revision refers to this bug:

https://chromium.googlesource.com/chromiumos/third_party/kernel/+/cb531258e7ec5d02b69e510e06184969c01b30b4

commit cb531258e7ec5d02b69e510e06184969c01b30b4
Author: Guenter Roeck <***@roeck-us.net>
Date: Thu Jan 14 09:24:41 2016

CHROMIUM: gpu: host1x Select PM_DEVFREQ if host1x is configured

Fix build failure.

drivers/gpu/host1x/hw/actmon_hw.c: In function 'actmon_init':
drivers/gpu/host1x/hw/actmon_hw.c:156:36: error:
'DEVFREQ_WATERMARK_EVENT_BELOW' undeclared
drivers/gpu/host1x/hw/actmon_hw.c:159:36: error:
'DEVFREQ_WATERMARK_EVENT_ABOVE' undeclared

Fixes: 754716874389 ("gpu: host1x: Add host1x driver")
BUG=chromium:583462
TEST=None (build)

Change-Id: If8d4bd5091aa693939101c6e66c55459409725b2
Signed-off-by: Guenter Roeck <***@roeck-us.net>
Signed-off-by: Olof Johansson <***@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/325307
Reviewed-by: Sean Paul <***@google.com>

[modify]
http://crrev.com/cb531258e7ec5d02b69e510e06184969c01b30b4/drivers/gpu/host1x/Kconfig
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/a/chromium.org/group/chromium-bugs

---
You received this message because you are subscribed to the Google Groups "Chromium-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-bugs+***@chromium.org.
c***@googlecode.com
2016-02-04 21:45:14 UTC
Permalink
Comment #67 on issue 583462 by ***@chromium.org: Resolve large number
of warnings and errors when building non-CrOS configs of 3.18
https://code.google.com/p/chromium/issues/detail?id=583462#c67

The following revision refers to this bug:

https://chromium.googlesource.com/chromiumos/third_party/kernel/+/8e308bd321dfa486959d7cf39342405f5fa48417

commit 8e308bd321dfa486959d7cf39342405f5fa48417
Author: Guenter Roeck <***@roeck-us.net>
Date: Thu Jan 14 09:49:08 2016

CHROMIUM: drm: tegra: dc: Use DIV_ROUND_UP_ULL

When using DIV_ROUND_UP, 32 bit builds fail with

drivers/built-in.o: In function `tegra_dc_set_latency_allowance.isra.21':
:(.text+0x134d34): undefined reference to `__aeabi_uldivmod'

Fixes: 331dd4c9b5e7 ("CHROMIUM: drm/tegra: Correct MC latency allowance")
BUG=chromium:583462
TEST=None (build)

Change-Id: I5a9e4d8ecb0f16ba991228a00e3edb75c328f045
Signed-off-by: Guenter Roeck <***@roeck-us.net>
Signed-off-by: Olof Johansson <***@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/325399
Reviewed-by: Sean Paul <***@google.com>

[modify]
http://crrev.com/8e308bd321dfa486959d7cf39342405f5fa48417/drivers/gpu/drm/tegra/dc.c
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/a/chromium.org/group/chromium-bugs

---
You received this message because you are subscribed to the Google Groups "Chromium-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-bugs+***@chromium.org.
c***@googlecode.com
2016-02-06 00:32:22 UTC
Permalink
Comment #71 on issue 583462 by ***@chromium.org: Resolve large number
of warnings and errors when building non-CrOS configs of 3.18
https://code.google.com/p/chromium/issues/detail?id=583462#c71

The following revision refers to this bug:

https://chromium.googlesource.com/chromiumos/third_party/kernel/+/3d14d641bdccac324a2c13bb89e5029c92eafcce

commit 3d14d641bdccac324a2c13bb89e5029c92eafcce
Author: Eliot Blennerhassett <***@blennerhassett.gen.nz>
Date: Sat Feb 14 02:32:24 2015

UPSTREAM: ALSA: hda/tegra check correct return value from ioremap_resource

BUG=chromium:583462
TEST=None (build)

Signed-off-by: Eliot Blennerhassett <***@blennerhassett.gen.nz>
Signed-off-by: Takashi Iwai <***@suse.de>
(cherry picked from commit 93ceaa303b2946453b925c55dc28a4273520dd18)
Signed-off-by: Guenter Roeck <***@roeck-us.net>
Signed-off-by: Olof Johansson <***@chromium.org>

Change-Id: I221279f4aaf339cc9a9d63ebc699aab1d8a41671
Reviewed-on: https://chromium-review.googlesource.com/325483
Commit-Ready: Olof Johansson <***@chromium.org>
Tested-by: Olof Johansson <***@chromium.org>
Reviewed-by: Dylan Reid <***@chromium.org>

[modify]
http://crrev.com/3d14d641bdccac324a2c13bb89e5029c92eafcce/sound/pci/hda/hda_tegra.c
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/a/chromium.org/group/chromium-bugs

---
You received this message because you are subscribed to the Google Groups "Chromium-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-bugs+***@chromium.org.
c***@googlecode.com
2016-02-06 00:33:22 UTC
Permalink
Comment #72 on issue 583462 by ***@chromium.org: Resolve large number
of warnings and errors when building non-CrOS configs of 3.18
https://code.google.com/p/chromium/issues/detail?id=583462#c72

The following revision refers to this bug:

https://chromium.googlesource.com/chromiumos/third_party/kernel/+/840d8fca5bfdf20f5deb3eb0a6659d031941ca44

commit 840d8fca5bfdf20f5deb3eb0a6659d031941ca44
Author: Olof Johansson <***@chromium.org>
Date: Thu Feb 04 18:39:02 2016

CHROMIUM: net: wireless: bcmdhd: add missing linux/ctype.h include

Using tolower() without including results in:

drivers/net/wireless/bcmdhd/bcmwifi_channels.c: In
function 'wf_chspec_aton':
drivers/net/wireless/bcmdhd/bcmwifi_channels.c:353:2: error:
implicit declaration of function 'tolower'

Fixes: 8aea3c8cac08 ("CHROMIUM: net: wireless: bcmdhd: Remove defines")
BUG=chromium:583462
TEST=None (build)

Change-Id: Idcd5fafb5f2d372d79192c19def10efc9f3d5a8c
Signed-off-by: Olof Johansson <***@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/325398
Reviewed-by: Dmitry Torokhov <***@chromium.org>

[modify]
http://crrev.com/840d8fca5bfdf20f5deb3eb0a6659d031941ca44/drivers/net/wireless/bcmdhd/bcmwifi_channels.c
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/a/chromium.org/group/chromium-bugs

---
You received this message because you are subscribed to the Google Groups "Chromium-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-bugs+***@chromium.org.
c***@googlecode.com
2016-02-06 00:34:22 UTC
Permalink
Comment #73 on issue 583462 by ***@chromium.org: Resolve large number
of warnings and errors when building non-CrOS configs of 3.18
https://code.google.com/p/chromium/issues/detail?id=583462#c73

The following revision refers to this bug:

https://chromium.googlesource.com/chromiumos/third_party/kernel/+/6cbb39eca00451124a6cb627922bb4a3dc969fa8

commit 6cbb39eca00451124a6cb627922bb4a3dc969fa8
Author: Takashi Iwai <***@suse.de>
Date: Thu Apr 16 10:02:30 2015

UPSTREAM: ALSA: hda/tegra - Fix build error and warning

I seem to have failed to run the build test properly...
sound/pci/hda/hda_tegra.c: In function 'hda_tegra_dev_free':
sound/pci/hda/hda_tegra.c:310:20: error: 'bus' undeclared (first use in
this function)
snd_hdac_bus_exit(bus);

Reported-by: kbuild test robot <***@intel.com>
BUG=chromium:583462
TEST=None (build)

Signed-off-by: Takashi Iwai <***@suse.de>
(cherry picked from commit 4cfe99c7f9592573e85a9768cfb2a8d7a7962618)
Signed-off-by: Guenter Roeck <***@roeck-us.net>
Signed-off-by: Olof Johansson <***@chromium.org>

Change-Id: I4ccb5eef000baaff573f92db218330ac47d186f5
Reviewed-on: https://chromium-review.googlesource.com/325458
Commit-Ready: Olof Johansson <***@chromium.org>
Tested-by: Olof Johansson <***@chromium.org>
Reviewed-by: Dylan Reid <***@chromium.org>

[modify]
http://crrev.com/6cbb39eca00451124a6cb627922bb4a3dc969fa8/sound/pci/hda/hda_tegra.c
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/a/chromium.org/group/chromium-bugs

---
You received this message because you are subscribed to the Google Groups "Chromium-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-bugs+***@chromium.org.
c***@googlecode.com
2016-02-06 00:35:22 UTC
Permalink
Comment #74 on issue 583462 by ***@chromium.org: Resolve large number
of warnings and errors when building non-CrOS configs of 3.18
https://code.google.com/p/chromium/issues/detail?id=583462#c74

The following revision refers to this bug:

https://chromium.googlesource.com/chromiumos/third_party/kernel/+/eca654d2e8da75c335e9e42a9c56350da8991cab

commit eca654d2e8da75c335e9e42a9c56350da8991cab
Author: Richard Cochran <***@gmail.com>
Date: Fri Jan 02 19:22:04 2015

UPSTREAM: bnx2x: convert to CYCLECOUNTER_MASK macro.

BUG=chromium:583462
TEST=None (build)

Signed-off-by: Richard Cochran <***@gmail.com>
Signed-off-by: David S. Miller <***@davemloft.net>
(cherry picked from commit f28ba401dbd9e9fe63d9a7f9101638ca709185b2)
Signed-off-by: Guenter Roeck <***@roeck-us.net>
Signed-off-by: Olof Johansson <***@chromium.org>

Change-Id: If83646aa5c6d8058fdfb92004d5ac32b0f82880f
Reviewed-on: https://chromium-review.googlesource.com/325406
Commit-Ready: Olof Johansson <***@chromium.org>
Tested-by: Olof Johansson <***@chromium.org>
Reviewed-by: Olof Johansson <***@chromium.org>
Reviewed-by: Sonny Rao <***@chromium.org>

[modify]
http://crrev.com/eca654d2e8da75c335e9e42a9c56350da8991cab/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/a/chromium.org/group/chromium-bugs

---
You received this message because you are subscribed to the Google Groups "Chromium-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-bugs+***@chromium.org.
c***@googlecode.com
2016-02-06 00:36:22 UTC
Permalink
Comment #75 on issue 583462 by ***@chromium.org: Resolve large number
of warnings and errors when building non-CrOS configs of 3.18
https://code.google.com/p/chromium/issues/detail?id=583462#c75

The following revision refers to this bug:

https://chromium.googlesource.com/chromiumos/third_party/kernel/+/c6a9fb99bcf32b7054fa59bc8ad8dbc33755cb21

commit c6a9fb99bcf32b7054fa59bc8ad8dbc33755cb21
Author: Thierry Reding <***@nvidia.com>
Date: Tue May 05 12:45:57 2015

UPSTREAM: ALSA: hda/tegra - Fix oops

Commit a41d122449be ("ALSA: hda - Embed bus into controller object")
introduced a regression in the Tegra HDA driver that causes the
following oops during boot:

[ 2.333458] Unable to handle kernel NULL pointer dereference at virtual
address 000004c4
[ 2.341537] pgd = c0004000
[ 2.344312] [000004c4] *pgd=00000000
[ 2.347898] Internal error: Oops: 5 [#1] PREEMPT SMP ARM
[ 2.353200] Modules linked in:
[ 2.356264] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G W
4.1.0-rc2-next-20150505-00344-g8577890defbf #79
[ 2.366682] Hardware name: NVIDIA Tegra SoC (Flattened Device Tree)
[ 2.372939] task: ee0d8b40 ti: ee0da000 task.ti: ee0da000
[ 2.378336] PC is at azx_bus_init+0x18/0xf4
[ 2.382516] LR is at hda_tegra_probe+0x6c/0x478
[ 2.387043] pc : [<c06156c4>] lr : [<c061cf00>] psr: 60000113
[ 2.387043] sp : ee0dbe38 ip : 00000000 fp : 00000000
[ 2.398501] r10: ed874c00 r9 : 000000fd r8 : 00000000
[ 2.403717] r7 : ed874c10 r6 : 00000000 r5 : 00000000 r4 : ed016810
[ 2.410232] r3 : c08a2ad4 r2 : c08a1ea0 r1 : 00000000 r0 : ed016810
[ 2.416750] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM
Segment kernel
[ 2.424046] Control: 10c5387d Table: 8000406a DAC: 00000015
[ 2.429783] Process swapper/0 (pid: 1, stack limit = 0xee0da210)
[ 2.435778] Stack: (0xee0dbe38 to 0xee0dc000)
[ 2.440129] be20:
00000000 ed016810
[ 2.448297] be40: 00000000 c061cf00 00000000 ee0dbe5c ed8735d0 c0a7bc48
ed02fd50 ed016000
[ 2.456462] be60: c1250164 ed874c10 c0c66bf8 fffffdfb 00000000 000000fd
c0b8dc98 c046664c
[ 2.464628] be80: c0466608 c1250164 ed874c10 00000000 c0c66bf8 c0464eb4
ed874c10 c0c66bf8
[ 2.472793] bea0: ed874c44 c0c43458 00000000 c04650d0 00000000 c0c66bf8
c046503c c04633b4
[ 2.480959] bec0: ee11bea4 ed85f390 c0c66bf8 ed017ac0 00000000 c0464634
c0ab2b7c c0c66bf8
[ 2.489125] bee0: c0bfde20 c0c66bf8 c0bfde20 ed01ce40 c0b7b414 c04656e8
c04665b0 c0bfde20
[ 2.497291] bf00: c0bfde20 c0009770 ee0d8b40 c0c02488 60000113 00000000
00000000 00000003
[ 2.505458] bf20: 00000000 c0c02488 60000113 00000000 c0b54598 c0b16a90
ef7fcc57 c0041228
[ 2.513624] bf40: c0a9150c ef7fcc5f 00000006 00000006 00000000 c0bf1fa8
c0bf2354 00000006
[ 2.521790] bf60: c0b8dc90 c0c7c000 c0c7c000 c0b8dc98 00000000 c0b54dd8
00000006 00000006
[ 2.529956] bf80: c0b54598 00000000 00000000 c07ff08c 00000000 00000000
00000000 00000000
[ 2.538122] bfa0: 00000000 c07ff094 00000000 c000f5a0 00000000 00000000
00000000 00000000
[ 2.546286] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000
[ 2.554451] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
fffff7ff c013f264
[ 2.562624] [<c06156c4>] (azx_bus_init) from [<c061cf00>]
(hda_tegra_probe+0x6c/0x478)
[ 2.570535] [<c061cf00>] (hda_tegra_probe) from [<c046664c>]
(platform_drv_probe+0x44/0xa4)
[ 2.578879] [<c046664c>] (platform_drv_probe) from [<c0464eb4>]
(driver_probe_device+0x174/0x2b8)
[ 2.587739] [<c0464eb4>] (driver_probe_device) from [<c04650d0>]
(__driver_attach+0x94/0x98)
[ 2.596172] [<c04650d0>] (__driver_attach) from [<c04633b4>]
(bus_for_each_dev+0x6c/0xa0)
[ 2.604342] [<c04633b4>] (bus_for_each_dev) from [<c0464634>]
(bus_add_driver+0x148/0x1f0)
[ 2.612597] [<c0464634>] (bus_add_driver) from [<c04656e8>]
(driver_register+0x78/0xf8)
[ 2.620593] [<c04656e8>] (driver_register) from [<c0009770>]
(do_one_initcall+0x8c/0x1d4)
[ 2.628765] [<c0009770>] (do_one_initcall) from [<c0b54dd8>]
(kernel_init_freeable+0x144/0x1e4)
[ 2.637459] [<c0b54dd8>] (kernel_init_freeable) from [<c07ff094>]
(kernel_init+0x8/0xe8)
[ 2.645543] [<c07ff094>] (kernel_init) from [<c000f5a0>]
(ret_from_fork+0x14/0x34)

This is caused by azx_bus_init() trying to dereference chip->card, which
for the Tegra driver doesn't get initialized until sometime later during
the call to hda_tegra_create().

Fix this by mimicking the behaviour of the Intel driver and defer HDA
bus initialization until right before the call to snd_device_new().

Fixes: a41d122449be ('ALSA: hda - Embed bus into controller object')
BUG=chromium:583462
TEST=None (build)

Signed-off-by: Thierry Reding <***@nvidia.com>
Signed-off-by: Takashi Iwai <***@suse.de>
(cherry picked from commit 3b90f4072730c619809a0cbf597bf1b3bf76a2ec)
Signed-off-by: Guenter Roeck <***@roeck-us.net>
Signed-off-by: Olof Johansson <***@chromium.org>

Change-Id: Iebb9de8494f16be3565fc1488734a27b7378f0b9
Reviewed-on: https://chromium-review.googlesource.com/325459
Commit-Ready: Olof Johansson <***@chromium.org>
Tested-by: Olof Johansson <***@chromium.org>
Reviewed-by: Dylan Reid <***@chromium.org>

[modify]
http://crrev.com/c6a9fb99bcf32b7054fa59bc8ad8dbc33755cb21/sound/pci/hda/hda_tegra.c
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/a/chromium.org/group/chromium-bugs

---
You received this message because you are subscribed to the Google Groups "Chromium-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-bugs+***@chromium.org.
c***@googlecode.com
2016-02-09 01:37:37 UTC
Permalink
Comment #76 on issue 583462 by ***@chromium.org: Resolve large number
of warnings and errors when building non-CrOS configs of 3.18
https://code.google.com/p/chromium/issues/detail?id=583462#c76

The following revision refers to this bug:

https://chromium.googlesource.com/chromiumos/third_party/kernel/+/98ecd1cea305f5ab74c19b73ba7fac7e09729fc0

commit 98ecd1cea305f5ab74c19b73ba7fac7e09729fc0
Author: Guenter Roeck <***@roeck-us.net>
Date: Thu Jan 14 09:27:18 2016

CHROMIUM: SoC: tegra: Comment out calls to non-existent functions

drivers/soc/tegra/pm.c: In function 'tegra_suspend_enter_lp0':
drivers/soc/tegra/pm.c:341:2: error:
implicit declaration of function 'tegra_cpu_reset_handler_save'
drivers/soc/tegra/pm.c: In function 'tegra_suspend_exit_lp0':
drivers/soc/tegra/pm.c:351:2: error:
implicit declaration of function 'tegra_cpu_reset_handler_restore'

Fixes: 37cf06e893cef ("CHROMIUM: soc/tegra: pm: add common LP0/SC7 suspend
support")
BUG=chromium:583462
TEST=None (build)

Change-Id: Ia0aa952be52193b0cc0ec055bce8c7c4875857e0
Signed-off-by: Guenter Roeck <***@roeck-us.net>
Signed-off-by: Olof Johansson <***@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/325492
Reviewed-by: Dylan Reid <***@chromium.org>

[modify]
http://crrev.com/98ecd1cea305f5ab74c19b73ba7fac7e09729fc0/drivers/soc/tegra/pm.c
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/a/chromium.org/group/chromium-bugs

---
You received this message because you are subscribed to the Google Groups "Chromium-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-bugs+***@chromium.org.
c***@googlecode.com
2016-02-09 03:52:44 UTC
Permalink
Comment #77 on issue 583462 by ***@chromium.org: Resolve large number
of warnings and errors when building non-CrOS configs of 3.18
https://code.google.com/p/chromium/issues/detail?id=583462#c77

The following revision refers to this bug:

https://chromium.googlesource.com/chromiumos/third_party/kernel/+/746c1e7b5548f34713da0bf4554c61502504ac9e

commit 746c1e7b5548f34713da0bf4554c61502504ac9e
Author: Guenter Roeck <***@roeck-us.net>
Date: Thu Jan 14 01:13:39 2016

CHROMIUM: power: Add dummy functions for wakeup reason API

If CONFIG_SUSPEND is not configured, the build fails with

main.c:(.text+0x340c2): undefined reference to `log_suspend_abort_reason'

and similar errors.

Fixes: 582c3df01a30 ("Power: add an API to log wakeup reasons")
BUG=chromium:583462
TEST=None (build)

Change-Id: Ie40861ac84ec70851c569d158ef8da137dcdd0b2
Signed-off-by: Guenter Roeck <***@roeck-us.net>
Signed-off-by: Olof Johansson <***@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/325345

[modify]
http://crrev.com/746c1e7b5548f34713da0bf4554c61502504ac9e/include/linux/wakeup_reason.h
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/a/chromium.org/group/chromium-bugs

---
You received this message because you are subscribed to the Google Groups "Chromium-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-bugs+***@chromium.org.
c***@googlecode.com
2016-02-09 05:09:50 UTC
Permalink
Comment #79 on issue 583462 by ***@chromium.org: Resolve large number
of warnings and errors when building non-CrOS configs of 3.18
https://code.google.com/p/chromium/issues/detail?id=583462#c79

The following revision refers to this bug:

https://chromium.googlesource.com/chromiumos/third_party/kernel/+/3b19acebfb8dfb55f276dce2b0015b90c207f402

commit 3b19acebfb8dfb55f276dce2b0015b90c207f402
Author: David S. Miller <***@davemloft.net>
Date: Wed Dec 31 23:32:25 2014

UPSTREAM: e1000e: Include clocksource.h to get CLOCKSOURCE_MASK.

BUG=chromium:583462
TEST=None (build)

Signed-off-by: David S. Miller <***@davemloft.net>
(cherry picked from commit 54da5083b71f01596ac3112685920fdde4540685)
Signed-off-by: Guenter Roeck <***@roeck-us.net>
Signed-off-by: Olof Johansson <***@chromium.org>

Change-Id: I0fe6d912ef45472e103afd2a4cebdd597cab3159
Reviewed-on: https://chromium-review.googlesource.com/326824
Commit-Ready: Olof Johansson <***@chromium.org>
Tested-by: Olof Johansson <***@chromium.org>
Reviewed-by: Kevin Cernekee <***@chromium.org>

[modify]
http://crrev.com/3b19acebfb8dfb55f276dce2b0015b90c207f402/drivers/net/ethernet/intel/e1000e/netdev.c
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/a/chromium.org/group/chromium-bugs

---
You received this message because you are subscribed to the Google Groups "Chromium-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-bugs+***@chromium.org.
c***@googlecode.com
2016-02-09 05:10:50 UTC
Permalink
Comment #80 on issue 583462 by ***@chromium.org: Resolve large number
of warnings and errors when building non-CrOS configs of 3.18
https://code.google.com/p/chromium/issues/detail?id=583462#c80

The following revision refers to this bug:

https://chromium.googlesource.com/chromiumos/third_party/kernel/+/d58dfe6e258a021db211ff3813940cdb10499246

commit d58dfe6e258a021db211ff3813940cdb10499246
Author: Richard Cochran <***@gmail.com>
Date: Fri Jan 02 19:22:06 2015

UPSTREAM: igb: convert to CYCLECOUNTER_MASK macro.

BUG=chromium:583462
TEST=None (build)

Signed-off-by: Richard Cochran <***@gmail.com>
Signed-off-by: David S. Miller <***@davemloft.net>
(cherry picked from commit b57c894040893da41085334d31f159df94c814b4)
Signed-off-by: Guenter Roeck <***@roeck-us.net>
Signed-off-by: Olof Johansson <***@chromium.org>

Change-Id: Ifbea21373c79093673fab67a02c0f298eea38ed9
Reviewed-on: https://chromium-review.googlesource.com/326823
Commit-Ready: Olof Johansson <***@chromium.org>
Tested-by: Olof Johansson <***@chromium.org>
Reviewed-by: Kevin Cernekee <***@chromium.org>

[modify]
http://crrev.com/d58dfe6e258a021db211ff3813940cdb10499246/drivers/net/ethernet/intel/igb/igb_ptp.c
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/a/chromium.org/group/chromium-bugs

---
You received this message because you are subscribed to the Google Groups "Chromium-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-bugs+***@chromium.org.
c***@googlecode.com
2016-02-09 05:12:50 UTC
Permalink
Comment #81 on issue 583462 by ***@chromium.org: Resolve large number
of warnings and errors when building non-CrOS configs of 3.18
https://code.google.com/p/chromium/issues/detail?id=583462#c81

The following revision refers to this bug:

https://chromium.googlesource.com/chromiumos/third_party/kernel/+/48af87bb7905287efafcaeef5b1f24f1e472cdce

commit 48af87bb7905287efafcaeef5b1f24f1e472cdce
Author: David S. Miller <***@davemloft.net>
Date: Wed Dec 31 23:32:40 2014

UPSTREAM: igb_ptp: Include clocksource.h to get CLOCKSOURCE_MASK.

BUG=chromium:583462
TEST=None (build)

Signed-off-by: David S. Miller <***@davemloft.net>
(cherry picked from commit 9aacfb2023c67c8e797bf1f9ba5e095c5a09d296)
Signed-off-by: Guenter Roeck <***@roeck-us.net>
Signed-off-by: Olof Johansson <***@chromium.org>

Change-Id: Id8ae314d20befcfe019f7d4d5d097be10197b920
Reviewed-on: https://chromium-review.googlesource.com/326822
Commit-Ready: Olof Johansson <***@chromium.org>
Tested-by: Olof Johansson <***@chromium.org>
Reviewed-by: Kevin Cernekee <***@chromium.org>

[modify]
http://crrev.com/48af87bb7905287efafcaeef5b1f24f1e472cdce/drivers/net/ethernet/intel/igb/igb_ptp.c
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/a/chromium.org/group/chromium-bugs

---
You received this message because you are subscribed to the Google Groups "Chromium-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-bugs+***@chromium.org.
c***@googlecode.com
2016-02-10 04:59:52 UTC
Permalink
Comment #82 on issue 583462 by ***@chromium.org: Resolve large number
of warnings and errors when building non-CrOS configs of 3.18
https://code.google.com/p/chromium/issues/detail?id=583462#c82

The following revision refers to this bug:

https://chromium.googlesource.com/chromiumos/third_party/kernel/+/9bc7c2f304c00f8f328fcd97e4a4afed9041fbe6

commit 9bc7c2f304c00f8f328fcd97e4a4afed9041fbe6
Author: Mark Rutland <***@arm.com>
Date: Thu Jan 22 18:20:36 2015

UPSTREAM: arm64: mm: dump: add missing includes

The arm64 dump code is currently relying on some definitions which are
pulled in via transitive dependencies. It seems we have implicit
dependencies on the following definitions:

* MODULES_VADDR (asm/memory.h)
* MODULES_END (asm/memory.h)
* PAGE_OFFSET (asm/memory.h)
* PTE_* (asm/pgtable-hwdef.h)
* ENOMEM (linux/errno.h)
* device_initcall (linux/init.h)

This patch ensures we explicitly include the relevant headers for the
above items, fixing the observed build issue and hopefully preventing
future issues as headers are refactored.

BUG=chromium:583462
TEST=None (build)

Signed-off-by: Mark Rutland <***@arm.com>
Reported-by: Mark Brown <***@kernel.org>
Acked-by: Steve Capper <***@linaro.org>
Cc: Laura Abbott <***@codeaurora.org>
Cc: Will Deacon <***@arm.com>
Signed-off-by: Catalin Marinas <***@arm.com>
(cherry picked from commit 764011ca8247808e066a182bcfe42a2b14c99a9a)
Signed-off-by: Guenter Roeck <***@roeck-us.net>
Signed-off-by: Olof Johansson <***@chromium.org>

Change-Id: I13b7adbd9a3c14a1ddc6a1946a48a331ed7c3991
Reviewed-on: https://chromium-review.googlesource.com/326826
Commit-Ready: Olof Johansson <***@chromium.org>
Tested-by: Olof Johansson <***@chromium.org>
Reviewed-by: Andrew Bresticker <***@chromium.org>

[modify]
http://crrev.com/9bc7c2f304c00f8f328fcd97e4a4afed9041fbe6/arch/arm64/mm/dump.c
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/a/chromium.org/group/chromium-bugs

---
You received this message because you are subscribed to the Google Groups "Chromium-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-bugs+***@chromium.org.
c***@googlecode.com
2016-02-12 07:39:56 UTC
Permalink
Comment #87 on issue 583462 by ***@gmail.com: Resolve large
number of warnings and errors when building non-CrOS configs of 3.18
https://code.google.com/p/chromium/issues/detail?id=583462

Why i learn been a developer was a glove in my phone years ago and i got
real good at it which i have more hackers on me but i never give up ,so i
thank those hackers gor losing my job as a contractor as a carpenter,but
became a developer for my government whoch i love . But help in private i
do. Thank you for this glove hacker
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/a/chromium.org/group/chromium-bugs

---
You received this message because you are subscribed to the Google Groups "Chromium-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-bugs+***@chromium.org.
c***@googlecode.com
2016-02-17 03:37:54 UTC
Permalink
Comment #89 on issue 583462 by ***@gmail.com: Resolve large
number of warnings and errors when building non-CrOS configs of 3.18
https://code.google.com/p/chromium/issues/detail?id=583462

This works but you must go to github enterprises in order to work ur
profile but you need to be a member of a enterprise that's the only its for
my interest of access in my program
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/a/chromium.org/group/chromium-bugs

---
You received this message because you are subscribed to the Google Groups "Chromium-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-bugs+***@chromium.org.
Loading...