aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@linbit.com>2011-03-14 12:27:45 -0400
committerPhilipp Reisner <philipp.reisner@linbit.com>2011-10-14 10:47:53 -0400
commit6e849ce88cd63efc6650a1826d18ed742eb31999 (patch)
treea8cf7681d66c6a4b46c0aa803a74649d15958a1b /crypto
parent1b3bb47d526c63a845e3374d6272a67fbe20a468 (diff)
drbd: Get rid of P_MAX_CMD
Instead of artificially enlarging the command decoding arrays to P_MAX_CMD entries, check if an index is within the valid range using the ARRAY_SIZE() macro. Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions