grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v4] ofdisk: add sas disks to the device list


From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Re: [PATCH v4] ofdisk: add sas disks to the device list
Date: Wed, 11 Nov 2015 21:01:20 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.3.0

On 11.11.2015 14:14, Paulo Flabiano Smorigo wrote:
> +          ptr = (grub_uint64_t *) (table + sizeof (grub_uint64_t) * i);
> +          grub_snprintf (bufptr, 32, "/address@hidden" PRIxGRUB_UINT64_T, 
> *ptr);
Please declare table as being grub_uint64_t * and then just use
table[i]. This code violates cast-align

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]