Merge branch 'drm-vmwgfx-fixes' of ssh://people.freedesktop.org/~syeh/repos_linux...
[cascardo/linux.git] / include / linux / hw_random.h
index 4f7d8f4..34a0dc1 100644 (file)
@@ -29,7 +29,9 @@
  *                     Returns the number of lower random bytes in "data".
  *                     Must not be NULL.    *OBSOLETE*
  * @read:              New API. drivers can fill up to max bytes of data
- *                     into the buffer. The buffer is aligned for any type.
+ *                     into the buffer. The buffer is aligned for any type
+ *                     and max is guaranteed to be >= to that alignment
+ *                     (either 4 or 8 depending on architecture).
  * @priv:              Private data, for use by the RNG driver.
  * @quality:           Estimation of true entropy in RNG's bitstream
  *                     (per mill).