Thread (27 messages) flat view 27 messages, 4 authors, 2019-08-27

Re: [PATCH spi for-5.4 1/5] spi: Use an abbreviated pointer to ctlr->cur_msg in __spi_pump_messages

From: Vladimir Oltean <olteanv@gmail.com>
Date: 2019-08-20 19:36:43
Also in: linux-spi

Hi Mark,

On Tue, 20 Aug 2019 at 21:21, Mark Brown [off-list ref] wrote:
On Sun, Aug 18, 2019 at 09:25:56PM +0300, Vladimir Oltean wrote:
quoted
      /* Extract head of queue */
-     ctlr->cur_msg =
-             list_first_entry(&ctlr->queue, struct spi_message, queue);
+     mesg = list_first_entry(&ctlr->queue, struct spi_message, queue);
+     ctlr->cur_msg = mesg;
Why mesg when the existing code uses msg as an abbreviation here?
Does it matter? I took from spi_finalize_current_message which also uses mesg.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help