[lvc-project] [PATCH v2] ssb: Fix division by zero issue in ssb_calc_clock_rate

Michael Büsch m at bues.ch
Tue Sep 5 09:20:19 MSK 2023


On Tue,  5 Sep 2023 02:23:46 +0300
Rand Deeb <rand.sec96 at gmail.com> wrote:
> --- a/drivers/ssb/main.c
> +++ b/drivers/ssb/main.c
> @@ -835,7 +835,7 @@ static u32 clkfactor_f6_resolve(u32 v)
>  	case SSB_CHIPCO_CLK_F6_7:
>  		return 7;
>  	}
> -	return 0;
> +	return 1;
>  }

Acked-by: Michael Büsch <m at bues.ch>


-- 
Michael Büsch
https://bues.ch/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://linuxtesting.org/pipermail/lvc-project/attachments/20230905/3f74fee2/attachment.pgp>


More information about the lvc-project mailing list