Re: [PATCH v2 1/1] env: sf: single function env_sf_save()

2021-02-01 Thread Harry Waschkeit
 On 01.02.21 13:07, Stefan Roese wrote: On 01.02.21 13:03, Harry Waschkeit wrote: Instead of implementing redundant environments in two very similar functions env_sf_save(), handle redundancy in one function, placing the few differences in appropriate pre-compiler sections depending on config

Re: [PATCH v2 1/1] env: sf: single function env_sf_save()

2021-02-01 Thread Stefan Roese
On 01.02.21 13:03, Harry Waschkeit wrote: Instead of implementing redundant environments in two very similar functions env_sf_save(), handle redundancy in one function, placing the few differences in appropriate pre-compiler sections depending on config option CONFIG_ENV_OFFSET_REDUND. Addition

[PATCH v2 1/1] env: sf: single function env_sf_save()

2021-02-01 Thread Harry Waschkeit
Instead of implementing redundant environments in two very similar functions env_sf_save(), handle redundancy in one function, placing the few differences in appropriate pre-compiler sections depending on config option CONFIG_ENV_OFFSET_REDUND. Additionally, several checkpatch complaints were add