Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • stable
  • extraversion
  • early-display
  • variant-emmc-nvme-boot
  • 2024-07-19
  • 2024-06-30
  • 2023-10-18
  • 2023-10-10
  • 2023-07-04
  • 2023-01-25
  • v3
  • variant-emmc-nvme-boot
  • 2020-06-01
14 results

disk

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Stephen Warren authored
    When get_device_and_partition() finds a disk without a partition table,
    under some conditions, it "returns" a disk_partition_t that describes
    the entire raw disk. Make sure to initialize all fields in the partition
    descriptor in that case.
    
    The value chosen for name is just some arbitrary descriptive string.
    
    The value chosen for info matches the check at the end of
    get_device_and_partition(). However, it's probably not that important;
    it's not obvious that the value is really used.
    
    Reported-by: default avatarBenoît Thébaudeau <benoit.thebaudeau@advansee.com>
    Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
    Reviewed-by: default avatarBenoît Thébaudeau <benoit.thebaudeau@advansee.com>
    Signed-off-by: default avatarTom Rini <trini@ti.com>
    6ab6a650
    History