diff options
author | Shannon Nelson <shannon.nelson@intel.com> | 2015-02-27 10:18:30 +0100 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2015-03-09 13:20:45 +0100 |
commit | 1efc80eeee8c89188e78545c87a613e480aefd96 (patch) | |
tree | 6976f204811ef4c97368fed22a339674db1fd6bb /drivers/watchdog | |
parent | i40e: Remove "hello world" strings from i40e driver (diff) | |
download | linux-1efc80eeee8c89188e78545c87a613e480aefd96.tar.xz linux-1efc80eeee8c89188e78545c87a613e480aefd96.zip |
i40e: future proof some sizeof calls
Make sure the sizeof() calls are taking the size of the actual struct
that we care about. By using the pointer variable, we'll always get
the right struct size, even if the variable type changes sometime in
the future.
Change-ID: Id5858f883cf42447365ea3733080d7714f975bce
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/watchdog')
0 files changed, 0 insertions, 0 deletions