Commit f3fe7e1
iommu/vt-d: Change dmar_ats_supported() to return boolean
According to "Function return values and names" in coding-style.rst, the
dmar_ats_supported() function should return a boolean instead of an
integer. Also, rename "ret" to "supported" to be more straightforward.
Signed-off-by: Wei Wang <[email protected]>
Reviewed-by: Yi Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lu Baolu <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>1 parent 3df2ebc commit f3fe7e1
1 file changed
+10
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2702 | 2702 | | |
2703 | 2703 | | |
2704 | 2704 | | |
2705 | | - | |
| 2705 | + | |
2706 | 2706 | | |
2707 | | - | |
2708 | | - | |
2709 | 2707 | | |
2710 | | - | |
2711 | | - | |
2712 | 2708 | | |
2713 | 2709 | | |
| 2710 | + | |
| 2711 | + | |
| 2712 | + | |
| 2713 | + | |
| 2714 | + | |
2714 | 2715 | | |
2715 | 2716 | | |
2716 | 2717 | | |
| |||
2728 | 2729 | | |
2729 | 2730 | | |
2730 | 2731 | | |
2731 | | - | |
| 2732 | + | |
2732 | 2733 | | |
2733 | 2734 | | |
2734 | 2735 | | |
2735 | | - | |
| 2736 | + | |
2736 | 2737 | | |
2737 | 2738 | | |
2738 | 2739 | | |
| |||
2751 | 2752 | | |
2752 | 2753 | | |
2753 | 2754 | | |
2754 | | - | |
| 2755 | + | |
2755 | 2756 | | |
2756 | 2757 | | |
2757 | 2758 | | |
2758 | | - | |
| 2759 | + | |
2759 | 2760 | | |
2760 | 2761 | | |
2761 | 2762 | | |
| |||
0 commit comments