Krzysztof Kozlowski
b9c28286d8
nfc: constify nci_ops
...
The struct nci_ops is modified by NFC core in only one case:
nci_allocate_device() receives too many proprietary commands (prop_ops)
to configure. This is a build time known constrain, so a graceful
handling of such case is not necessary.
Instead, fail the nci_allocate_device() and add BUILD_BUG_ON() to places
which set these.
This allows to constify the struct nci_ops (consisting of function
pointers) for correctness and safety.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2021-07-25 09:21:20 +01:00
..
2021-03-24 17:52:11 -07:00
2021-06-02 14:01:55 -07:00
2021-07-01 11:21:57 -07:00
2021-07-20 06:00:38 -07:00
2021-07-23 14:20:25 +01:00
2021-06-10 14:08:09 -07:00
2021-03-30 16:54:50 -07:00
2021-06-18 19:47:02 -07:00
2021-07-05 14:08:24 -07:00
2021-07-23 16:13:06 +01:00
2021-06-25 13:13:50 +02:00
2021-07-24 21:48:26 +01:00
2021-07-15 11:08:33 -07:00
2021-06-29 15:45:27 -07:00
2021-06-30 15:51:09 -07:00
2021-07-23 16:13:06 +01:00
2021-06-01 17:01:33 -07:00
2021-07-20 06:00:38 -07:00
2021-07-16 14:06:16 -07:00
2021-07-23 16:32:37 +01:00
2021-04-13 14:35:02 -07:00
2021-07-23 14:20:25 +01:00
2021-06-16 12:13:01 -07:00
2021-07-23 14:20:25 +01:00
2021-07-23 16:13:06 +01:00
2021-07-23 16:13:06 +01:00
2021-07-01 15:54:01 -07:00
2021-06-29 11:28:21 -07:00
2021-05-26 07:03:39 +02:00
2021-06-07 14:08:30 -07:00
2021-03-28 17:56:55 -07:00
2021-06-08 16:31:25 -07:00
2021-04-27 14:16:14 -07:00
2021-06-23 18:12:00 +02:00
2021-04-06 22:42:16 +02:00
2021-07-23 17:17:56 +01:00
2021-07-13 09:28:29 -07:00
2021-07-08 14:16:39 -07:00
2021-07-21 08:22:02 -07:00
2021-06-15 11:19:04 -07:00
2021-07-20 11:45:09 +02:00
2021-07-18 09:48:59 -07:00
2021-07-25 09:21:20 +01:00
2021-07-16 11:06:33 -07:00
2021-06-30 15:51:09 -07:00
2021-03-14 15:00:43 -07:00
2021-07-23 14:20:25 +01:00
2021-06-30 15:51:09 -07:00
2021-04-20 16:44:04 -07:00
2021-03-10 12:45:15 -08:00
2021-06-30 15:51:09 -07:00
2021-07-23 16:13:06 +01:00
2021-07-21 14:17:58 -07:00
2021-06-29 11:28:21 -07:00
2021-06-29 11:28:21 -07:00
2021-07-09 09:43:57 -07:00
2021-07-22 00:45:40 -07:00
2021-07-16 17:28:09 -07:00
2021-06-29 15:45:27 -07:00
2021-07-15 22:40:10 -07:00
2021-06-30 15:51:09 -07:00
2021-06-23 13:05:09 +02:00
2021-06-10 14:08:09 -07:00
2021-06-29 15:45:27 -07:00
2021-06-30 15:51:09 -07:00
2021-06-03 15:13:56 -07:00
2021-06-11 12:55:28 -07:00
2021-05-11 13:56:16 -07:00
2021-07-23 14:20:25 +01:00
2021-04-12 13:27:11 -07:00