Patch "remoteproc: stm32: Fix pointer assignement" has been added to the 5.9-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    remoteproc: stm32: Fix pointer assignement

to the 5.9-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     remoteproc-stm32-fix-pointer-assignement.patch
and it can be found in the queue-5.9 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 92d9e5ef6b10c90cecd6d5bd77c0ccd7b27b2ba0
Author: Mathieu Poirier <mathieu.poirier@xxxxxxxxxx>
Date:   Mon Aug 31 15:37:58 2020 -0600

    remoteproc: stm32: Fix pointer assignement
    
    [ Upstream commit cb2d8d5b196c2e96e29343383c8c8d8db68b934e ]
    
    Fix the assignment of the @state pointer - it is obviously wrong.
    
    Acked-by: Arnaud Pouliquen <arnaud.pouliquen@xxxxxx>
    Fixes: 376ffdc04456 ("remoteproc: stm32: Properly set co-processor state when attaching")
    Reported-by: kernel test robot <lkp@xxxxxxxxx>
    Signed-off-by: Mathieu Poirier <mathieu.poirier@xxxxxxxxxx>
    Link: https://lore.kernel.org/r/20200831213758.206690-1-mathieu.poirier@xxxxxxxxxx
    Signed-off-by: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/remoteproc/stm32_rproc.c b/drivers/remoteproc/stm32_rproc.c
index f4da42fc0eeb1..d2414cc1d90d6 100644
--- a/drivers/remoteproc/stm32_rproc.c
+++ b/drivers/remoteproc/stm32_rproc.c
@@ -685,7 +685,7 @@ static int stm32_rproc_get_m4_status(struct stm32_rproc *ddata,
 		 * We couldn't get the coprocessor's state, assume
 		 * it is not running.
 		 */
-		state = M4_STATE_OFF;
+		*state = M4_STATE_OFF;
 		return 0;
 	}
 



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux