On Mon, 31 Jan 2022 17:21:37 +0100, Patrick Delaunay wrote: > Test the number of argument in setfreq command to avoid a crash when > the command setfreq is called without argument: > > STM32MP> clk setfreq > data abort > pc : [<ddba3f18>] lr : [<ddba3f89>] > reloc pc : [<c018ff18>] lr : [<c018ff89>] > sp : dbaf45b8 ip : ddb1d859 fp : 00000002 > r10: dbb3fd80 r9 : dbb11e90 r8 : ddbf38cc > r7 : ddb39725 r6 : 00000000 r5 : 00000000 r4 : dbb3fd84 > r3 : dbb3fd84 r2 : 0000000a r1 : dbaf45bc r0 : 00000011 > Flags: nzCv IRQs off FIQs off Mode SVC_32 (T) > Code: 4dd3 1062 85a3 ddbd (7803) 2b30 > Resetting CPU ... > > [...]
Applied, thanks! [1/4] cmd: clk: test the number of argument in setfreq command commit: 3386fb1e485da7f206488ed206a61ae811885d90 [2/4] cmd: clk: replace clk_lookup by uclass_get_device_by_name commit: afcc26140bc6bff7c23ce02dbba7882c97d2c14a [3/4] cmd: clk: update result of do_clk_setfreq commit: 534859ac6b2fecb631457736e77e9d0df1e57616 [4/4] cmd: clk: fix long help message commit: 92a1bba85761e4dd5c0647c48048423bceef4749 Best regards, -- Sean Anderson <sean...@gmail.com>