Re: [PATCH net-next] liquidio: remove/replace invalid code

2017-03-16 Thread David Miller
From: Felix Manlunas Date: Mon, 13 Mar 2017 12:07:32 -0700 > From: Rick Farrington > > Remove invalid call to dma_sync_single_for_cpu() because previous DMA > allocation was coherent--not streaming. Remove code that references fields > in struct list_head; replace it with calls to list_empty()

[PATCH net-next] liquidio: remove/replace invalid code

2017-03-13 Thread Felix Manlunas
From: Rick Farrington Remove invalid call to dma_sync_single_for_cpu() because previous DMA allocation was coherent--not streaming. Remove code that references fields in struct list_head; replace it with calls to list_empty() and list_first_entry(). Also, add comment to clarify complicated if s