hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/drivers/scsi/be2iscsi/be_cmds.h
....@@ -1,15 +1,10 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright 2017 Broadcom. All Rights Reserved.
34 * The term "Broadcom" refers to Broadcom Limited and/or its subsidiaries.
45 *
5
- * This program is free software; you can redistribute it and/or
6
- * modify it under the terms of the GNU General Public License version 2
7
- * as published by the Free Software Foundation. The full GNU General
8
- * Public License is included in this distribution in the file called COPYING.
9
- *
106 * Contact Information:
117 * linux-drivers@broadcom.com
12
- *
138 */
149
1510 #ifndef BEISCSI_CMDS_H
....@@ -1305,7 +1300,7 @@
13051300
13061301 /* Returns the number of items in the field array. */
13071302 #define BE_NUMBER_OF_FIELD(_type_, _field_) \
1308
- (FIELD_SIZEOF(_type_, _field_)/sizeof((((_type_ *)0)->_field_[0])))\
1303
+ (sizeof_field(_type_, _field_)/sizeof((((_type_ *)0)->_field_[0])))\
13091304
13101305 /**
13111306 * Different types of iSCSI completions to host driver for both initiator