Project

General

Profile

Bug #11549

loader: smatch error: efi_cons_cursor(): uninitialized symbol 'row' and 'col'

Added by Toomas Soome 7 days ago. Updated 5 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
bootloader
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

Got errors from smatch:

/code/illumos-gate/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/smatch: ../efi_console.c:372 efi_cons_cursor() error: uninitialized symbol 'row'.
/code/illumos-gate/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/smatch: ../efi_console.c:373 efi_cons_cursor() error: uninitialized symbol 'col'.

Lets just set them 0.

Testing done: build/install/boot cycle.

History

#1

Updated by Toomas Soome 5 days ago

  • Description updated (diff)
#2

Updated by Electric Monk 5 days ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit c6dd35daf6754ceadffe27f721e78fec1f894036

commit  c6dd35daf6754ceadffe27f721e78fec1f894036
Author: Toomas Soome <tsoome@me.com>
Date:   2019-08-14T19:22:49.000Z

    11549 loader: smatch error: efi_cons_cursor(): uninitialized symbol 'row' and 'col'
    Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
    Reviewed by: John Levon <john.levon@joyent.com>
    Approved by: Robert Mustacchi <rm@joyent.com>

Also available in: Atom PDF