summaryrefslogtreecommitdiff
path: root/sound/pci/aw2/Makefile
blob: 842335d3b735afa0b2908407d860a37b4d52de67 (plain)
1
2
3
snd-aw2-objs := aw2-alsa.o aw2-saa7146.o

obj-$(CONFIG_SND_AW2) += snd-aw2.o
29 (patch) tree7b1fa5d524bd20873e8f5f977e0f4b98c047c4be parentd966564fcdc19e13eb6ba1fbe6b8101070339c3d (diff)
pstore: don't OOPS when there are no ftrace zones
We'll OOPS in ramoops_get_next_prz() if the platform didn't ask for any ftrace zones (i.e., cxt->fprzs will be NULL). Let's just skip this entire FTRACE section if there's no 'fprzs'. Regression seen on a coreboot/depthcharge-based Chromebook. Fixes: 2fbea82bbb89 ("pstore: Merge per-CPU ftrace records into one") Cc: Joel Fernandes <joelaf@google.com> Cc: Kees Cook <keescook@chromium.org> Signed-off-by: Brian Norris <briannorris@chromium.org> Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat
-rw-r--r--fs/pstore/ram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/pstore/ram.c b/fs/pstore/ram.c