, simplify the error handling in dma_buf_init_debugfs()
slightly.
Signed-off-by: Mathias Krause
Cc: Sumit Semwal
Cc: Daniel Vetter
---
drivers/dma-buf/dma-buf.c | 29 +
include/linux/dma-buf.h |2 --
2 files changed, 9 insertions(+), 22 deletions(-)
diff --git
pointer to the correct type and
propagate its return value.
This type mismatch was caught by the PaX RAP plugin.
Signed-off-by: Mathias Krause
Cc: Sumit Semwal
Cc: Daniel Vetter
Cc: PaX Team
---
drivers/dma-buf/dma-buf.c |5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a
via dma_buf_show() and call
dma_buf_describe() directly. Rename it to dma_buf_debug_show() to get it
in line with the other functions.
This type mismatch was caught by the PaX RAP plugin.
Signed-off-by: Mathias Krause
Cc: Sumit Semwal
Cc: Daniel Vetter
Cc: Brad Spengler
Cc: PaX Team
Change the error handling in dma_buf_init_debugfs() to remove the
"dma_buf" directory if creating the "bufinfo" file fails. No need to
have an empty debugfs directory around.
Signed-off-by: Mathias Krause
Cc: Sumit Semwal
Cc: Daniel Vetter
---
drivers/dma-buf/dma-buf.c
On 19 June 2016 at 10:45, Daniel Vetter wrote:
> On Fri, Jun 17, 2016 at 08:57:03PM +0200, Mathias Krause wrote:
>> diff --git a/drivers/dma-buf/dma-buf.c b/drivers/dma-buf/dma-buf.c
>> index 6355ab38d630..0f2a4592fdd2 100644
>> --- a/drivers/dma-buf/dma-buf.c
>> +++
then unneeded function dma_buf_debugfs_create_file() (patch
3).
Please apply!
Mathias Krause (3):
dma-buf: propagate errors from dma_buf_describe() on debugfs read
dma-buf: remove dma_buf directory on bufinfo file creation errors
dma-buf: remove dma_buf_debugfs_create_file()
drivers/dma-bu
On 20 June 2016 at 15:31, Daniel Vetter wrote:
> On Sun, Jun 19, 2016 at 02:31:31PM +0200, Mathias Krause wrote:
>> [...]
>> With no users left, we can remove dma_buf_debugfs_create_file().
>>
>> While at it, simplify the error handling in dma_buf_init_debugfs()
>&
: Add DMI override to skip CRT...")
Fixes: 425d244c8670 ("drm/i915: ignore LVDS on intel graphics systems...")
Signed-off-by: Mathias Krause
Cc: Daniel Vetter
Cc: Duncan Laurie
Cc: Jarod Wilson
Cc: Rusty Russell # Can modpost be fixed?
Cc: stable at vger.kernel.org
---
In the long run