# RE: \[net-next PATCH 1/2\] devlink: add dry run attribute to flash update

- From: Keller, Jacob E \<jacob.e.keller@intel.com\>
- Date: 2022-07-21 18:58:24 
- List: netdev
- Page: https://ratatoskr.run/netdev/2022/07/11235561
- Thread: https://ratatoskr.run/netdev/2022/07/11235465/t.md

```text


> -----Original Message-----
> From: Jakub Kicinski <kuba@kernel.org>
> Sent: Thursday, July 21, 2022 9:48 AM
> To: Keller, Jacob E <jacob.e.keller@intel.com>
> Cc: <redacted>
> Subject: Re: [net-next PATCH 1/2] devlink: add dry run attribute to flash update
> 
> On Wed, 20 Jul 2022 11:34:32 -0700 Jacob Keller wrote:
> > Users use the devlink flash interface to request a device driver program or
> > update the device flash chip. In some cases, a user (or script) may want to
> > verify that a given flash update command is supported without actually
> > committing to immediately updating the device. For example, a system
> > administrator may want to validate that a particular flash binary image
> > will be accepted by the device, or simply validate a command before finally
> > committing to it.
> 
> Also
> 
> include/net/devlink.h:627: warning: Function parameter or member 'dry_run'
> not described in 'devlink_flash_update_params'

Will fix.

Thanks,
Jake
```
