File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -149,8 +149,6 @@ dmar_alloc_pci_notify_info(struct pci_dev *dev, unsigned long event)
149
149
} else {
150
150
info = kzalloc (size , GFP_KERNEL );
151
151
if (!info ) {
152
- pr_warn ("Out of memory when allocating notify_info "
153
- "for %s.\n" , pci_name (dev ));
154
152
if (dmar_dev_scope_status == 0 )
155
153
dmar_dev_scope_status = - ENOMEM ;
156
154
return NULL ;
Original file line number Diff line number Diff line change @@ -1779,11 +1779,8 @@ static int iommu_init_domains(struct intel_iommu *iommu)
1779
1779
spin_lock_init (& iommu -> lock );
1780
1780
1781
1781
iommu -> domain_ids = kcalloc (nlongs , sizeof (unsigned long ), GFP_KERNEL );
1782
- if (!iommu -> domain_ids ) {
1783
- pr_err ("%s: Allocating domain id array failed\n" ,
1784
- iommu -> name );
1782
+ if (!iommu -> domain_ids )
1785
1783
return - ENOMEM ;
1786
- }
1787
1784
1788
1785
size = (ALIGN (ndomains , 256 ) >> 8 ) * sizeof (struct dmar_domain * * );
1789
1786
iommu -> domains = kzalloc (size , GFP_KERNEL );
@@ -3224,7 +3221,6 @@ static int __init init_dmars(void)
3224
3221
g_iommus = kcalloc (g_num_of_iommus , sizeof (struct intel_iommu * ),
3225
3222
GFP_KERNEL );
3226
3223
if (!g_iommus ) {
3227
- pr_err ("Allocating global iommu array failed\n" );
3228
3224
ret = - ENOMEM ;
3229
3225
goto error ;
3230
3226
}
You can’t perform that action at this time.
0 commit comments