Skip to contentSkip to conversation

+ ia64-select-config_tty-for-use-of-tty_write_message-in-unaligned.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Mar 4, 2014

lore
Share & tools
lore
#0 lore raw

Subject: + ia64-select-config_tty-for-use-of-tty_write_message-in-unaligned.patch added to -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 04 Mar 2014 12:14:19 -0800

The patch titled
Subject: ia64: select CONFIG_TTY for use of tty_write_message in unaligned
has been added to the -mm tree. Its filename is
ia64-select-config_tty-for-use-of-tty_write_message-in-unaligned.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/ia64-select-config_tty-for-use-of-tty_write_message-in-unaligned.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/ia64-select-config_tty-for-use-of-tty_write_message-in-unaligned.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Josh Triplett <[email protected]>
Subject: ia64: select CONFIG_TTY for use of tty_write_message in unaligned

Fix breakage which will be exposed by the patch "kconfig: make allnoconfig disable options behind EMBEDDED and EXPERT".

arch/ia64/kernel/unaligned.c uses tty_write_message to print an unaligned access exception to the TTY of the current user process. Enable TTY to prevent a build error.

Minimal fix, on the basis that few people on ia64 will care deeply about kernel size enough to turn off TTY. Ideally, I'd instead suggest dropping the tty_write_message entirely, and just leaving the printk.
Bonus: no need to sprintf first.

---

 arch/ia64/Kconfig |    1 +
 1 file changed, 1 insertion(+)
arch/ia64/Kconfig renamed from arch/ia64/Kconfig~ia64-select-config_tty-for-use-of-tty_write_message-in-unaligned +1 -0
diff -puN arch/ia64/Kconfig~ia64-select-config_tty-for-use-of-tty_write_message-in-unaligned arch/ia64/Kconfig
@@ -44,6 +44,7 @@ config IA64
 	select HAVE_MOD_ARCH_SPECIFIC
 	select MODULES_USE_ELF_RELA
 	select ARCH_USE_CMPXCHG_LOCKREF
+	select TTY
 	default y
 	help
 	  The Itanium Processor Family is Intel's 64-bit successor to

_

Patches currently in -mm which might be from [email protected] are

mm-compactionc-mark-function-as-static.patch mm-memoryc-mark-functions-as-static.patch mm-mmapc-mark-function-as-static.patch mm-process_vm_accessc-mark-function-as-static.patch mm-process_vm_accessc-mark-function-as-static-fix.patch mm-page_cgroupc-mark-functions-as-static.patch mm-nobootmemc-mark-function-as-static.patch include-linux-mmh-remove-ifdef-condition.patch include-linux-syscallsh-add-sys32_quotactl-prototype.patch fs-kernel-permit-disabling-the-uselib-syscall.patch fs-kernel-permit-disabling-the-uselib-syscall-v2.patch submittingpatches-add-style-recommendation-to-use-imperative-descriptions.patch submittingpatches-add-recommendation-for-mailing-list-references.patch submittingpatches-document-the-use-of-git.patch lglock-map-to-spinlock-when-config_smp.patch lib-clz_ctzc-add-prototype-declarations-in-lib-clz_ctzc.patch lib-decompress_inflatec-include-appropriate-header-file.patch checkpatch-make-return-is-not-a-function-test-quieter.patch fs-reiserfs-move-prototype-declaration-to-header-file.patch include-linux-crash_dumph-add-vmcore_cleanup-prototype.patch include-linux-crash_dumph-add-vmcore_cleanup-prototype-fix.patch cris-make-etrax_arch_v10-select-tty-for-use-in-debugport.patch ia64-select-config_tty-for-use-of-tty_write_message-in-unaligned.patch ppc-make-ppc_book3s_64-select-irq_work.patch s390-select-config_tty-for-use-of-tty-in-unconditional-keyboard-driver.patch kconfig-make-allnoconfig-disable-options-behind-embedded-and-expert.patch bug-when-config_bug-simplify-warn_on_once-and-family.patch include-asm-generic-bugh-style-fix-s-while0-while-0.patch bug-when-config_bug-make-warn-call-no_printk-to-check-format-and-args.patch bug-use-a-common-definition-of-bug_on-regardless-of-config_bug.patch linux-next.patch