Hello,

 

These patches fix 2 bugs in TI Previewer driver. 

 

First patch makes all declarations of C-structures in file
davinci_previewer.h independent of used compiler options. Old
(non-patched) version has different aligment requirements for some
structures in user-mode and kernel-mode. As result, some (not all)
records of that structures has different offset in user- and kernel-
modes.

 

Second patch fixes incorrect access to user-mode memory in ioctl()
function. Old version crashed our system very fast on high load.

 

 

--

  Vasily Titsky

 

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to