Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 517c67ab in mainline


Ignore:
Timestamp:
2017-11-15T07:40:09Z (4 years ago)
Author:
GitHub <noreply@…>
Branches:
lfn, master
Children:
6c9d3bc
Parents:
6ba2db4b (diff), 14741a0 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Jakub Jermář <jakub@…> (2017-11-15 07:40:09)
git-committer:
GitHub <noreply@…> (2017-11-15 07:40:09)
Message:

Merge pull request #1 from Aearsis/master

ddi: do not assume arguments are correct

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/ddi/ddi.c

    r6ba2db4b r517c67ab  
    382382       
    383383        size_t frames = SIZE2FRAMES(size);
     384        if (frames == 0)
     385                return EINVAL;
     386
    384387        *phys = frame_alloc(frames, FRAME_ATOMIC, constraint);
    385388        if (*phys == 0)
Note: See TracChangeset for help on using the changeset viewer.