diff mbox series

Rom: change Rom's 'isrom' to bool type

Message ID 1539068913-3796-1-git-send-email-liq3ea@gmail.com (mailing list archive)
State New, archived
Headers show
Series Rom: change Rom's 'isrom' to bool type | expand

Commit Message

Li Qiang Oct. 9, 2018, 7:08 a.m. UTC
Signed-off-by: Li Qiang <liq3ea@gmail.com>
---
 hw/core/loader.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Philippe Mathieu-Daudé Oct. 9, 2018, 8:22 a.m. UTC | #1
On 09/10/2018 09:08, Li Qiang wrote:
> Signed-off-by: Li Qiang <liq3ea@gmail.com>

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>

> ---
>  hw/core/loader.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/hw/core/loader.c b/hw/core/loader.c
> index aa0b3fc867..910f9a97a9 100644
> --- a/hw/core/loader.c
> +++ b/hw/core/loader.c
> @@ -837,7 +837,7 @@ struct Rom {
>      uint8_t *data;
>      MemoryRegion *mr;
>      AddressSpace *as;
> -    int isrom;
> +    bool isrom;
>      char *fw_dir;
>      char *fw_file;
>  
>
diff mbox series

Patch

diff --git a/hw/core/loader.c b/hw/core/loader.c
index aa0b3fc867..910f9a97a9 100644
--- a/hw/core/loader.c
+++ b/hw/core/loader.c
@@ -837,7 +837,7 @@  struct Rom {
     uint8_t *data;
     MemoryRegion *mr;
     AddressSpace *as;
-    int isrom;
+    bool isrom;
     char *fw_dir;
     char *fw_file;