lkml.org 
[lkml]   [2021]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v7 07/15] swiotlb: Update is_swiotlb_active to add a struct device argument
> +	if (is_swiotlb_active(NULL)) {

Passing a NULL argument to this doesn't make sense. They all should have
a struct device at hand, you'll just need to dig for it.

And this function should be about to go away anyway, but until then we
need to do this properly.

\
 
 \ /
  Last update: 2021-05-27 15:28    [W:0.271 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site