google
ref
Old English war(e)nung (see warn, -ing1).
etymonline
ref
warning (n.)
"notice beforehand of the consequences that will probably follow continuance in some particular course" [Century Dictionary], Old English warnung, verbal noun from warnian (see warn (v.)).