> +struct str_value_to_freq {
> + unsigned long value;
> + u8 freq;
> +} __packed;
> +
> +static unsigned long read_rtc_register_wa(struct armada38x_rtc *rtc, u8
> rtc_reg)
> +{
> + unsigned long value_array[SAMPLE_NR], i, j, value;
> + unsigned long max = 0, index_max = SAMPLE_NR - 1;
> + struct str_value_to_freq value_to_freq[SAMPLE_NR];
Hi Gregory
This appears to be putting over 900 bytes on the stack. Is there any
danger of overflowing the stack? Would it be safer to make these
arrays part of armada38x_rtc?
Andrew
--
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
---
You received this message because you are subscribed to the Google Groups
"rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.