Skip to content
  • Alistair Francis's avatar
    55d527a9
    Convert remaining error_report() to warn_report() · 55d527a9
    Alistair Francis authored
    
    
    In a previous patch (3dc6f869) we
    converted uses of error_report("warning:"... to use warn_report()
    instead. This was to help standardise on a single method of printing
    warnings to the user.
    
    There appears to have been some cases that slipped through in patch sets
    applied around the same time, this patch catches the few remaining
    cases.
    
    All of the warnings were changed using this command:
      find ./* -type f -exec sed -i \
        's|error_report(".*warning[,:] |warn_report("|Ig' {} +
    
    Indentation fixed up manually afterwards.
    
    Two messages were manually fixed up as well.
    
    Signed-off-by: default avatarAlistair Francis <alistair.francis@xilinx.com>
    Cc: Kevin Wolf <kwolf@redhat.com>
    Cc: Max Reitz <mreitz@redhat.com>
    Cc: Christian Borntraeger <borntraeger@de.ibm.com>
    Cc: Cornelia Huck <cohuck@redhat.com>
    Cc: Alexander Graf <agraf@suse.de>
    Cc: Richard Henderson <rth@twiddle.net>
    Cc: Stefan Hajnoczi <stefanha@redhat.com>
    Acked-by: default avatarCornelia Huck <cohuck@redhat.com>
    Reviewed-by: default avatarMarkus Armbruster <armbru@redhat.com>
    Message-Id: <eec8cba0d5434bd828639e5e45f12182490ff47d.1505158760.git.alistair.francis@xilinx.com>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    55d527a9
    Convert remaining error_report() to warn_report()
    Alistair Francis authored
    
    
    In a previous patch (3dc6f869) we
    converted uses of error_report("warning:"... to use warn_report()
    instead. This was to help standardise on a single method of printing
    warnings to the user.
    
    There appears to have been some cases that slipped through in patch sets
    applied around the same time, this patch catches the few remaining
    cases.
    
    All of the warnings were changed using this command:
      find ./* -type f -exec sed -i \
        's|error_report(".*warning[,:] |warn_report("|Ig' {} +
    
    Indentation fixed up manually afterwards.
    
    Two messages were manually fixed up as well.
    
    Signed-off-by: default avatarAlistair Francis <alistair.francis@xilinx.com>
    Cc: Kevin Wolf <kwolf@redhat.com>
    Cc: Max Reitz <mreitz@redhat.com>
    Cc: Christian Borntraeger <borntraeger@de.ibm.com>
    Cc: Cornelia Huck <cohuck@redhat.com>
    Cc: Alexander Graf <agraf@suse.de>
    Cc: Richard Henderson <rth@twiddle.net>
    Cc: Stefan Hajnoczi <stefanha@redhat.com>
    Acked-by: default avatarCornelia Huck <cohuck@redhat.com>
    Reviewed-by: default avatarMarkus Armbruster <armbru@redhat.com>
    Message-Id: <eec8cba0d5434bd828639e5e45f12182490ff47d.1505158760.git.alistair.francis@xilinx.com>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
Loading