~jan.vesely/helenos/audio

« back to all changes in this revision

Viewing changes to kernel/arch/sparc64/src/drivers/kbd.c

  • Committer: Jan Vesely
  • Date: 2015-03-08 15:07:20 UTC
  • mfrom: (2069.1.231 HelenOS.clean)
  • Revision ID: jano.vesely@gmail.com-20150308150720-1hctujkjiw7snp5u
MainlineĀ changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
89
89
        
90
90
        size_t size = ((ofw_ebus_reg_t *) prop->value)->size;
91
91
        
92
 
        uintptr_t pa;
 
92
        uintptr_t pa = 0; // Prevent -Werror=maybe-uninitialized
93
93
        if (!ofw_ebus_apply_ranges(node->parent,
94
94
            ((ofw_ebus_reg_t *) prop->value), &pa)) {
95
95
                log(LF_ARCH, LVL_ERROR,
121
121
            PAGE_WRITE | PAGE_NOT_CACHEABLE) + offset);
122
122
        
123
123
        ns16550_instance_t *ns16550_instance = ns16550_init(ns16550, inr, cir,
124
 
            cir_arg);
 
124
            cir_arg, NULL);
125
125
        if (ns16550_instance) {
126
126
                kbrd_instance_t *kbrd_instance = kbrd_init();
127
127
                if (kbrd_instance) {