On 01/13/2012 06:54 PM, Andreas Färber wrote:
> > +static void megasas_unmap_sgl(struct megasas_cmd_t *cmd)
> > +{
> > +    int i, is_write = megasas_frame_is_write(cmd);
> > +
> > +    for (i = 0; i < cmd->iov_cnt; i++) {
> > +        cpu_physical_memory_unmap(cmd->iov[i].iov_base, 
> > cmd->iov[i].iov_len,
> > +                                  is_write, cmd->iov[i].iov_len);
>
> Not sure, but cpu_physical_memory_* sounds old-fashioned. Might need an
> update to MemoryRegion?

These APIs have not been updated (yet?).

-- 
error compiling committee.c: too many arguments to function


Reply via email to