diff options
author | Tom Caputi <[email protected]> | 2018-03-21 11:42:13 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2018-03-21 08:42:13 -0700 |
commit | 8d9e7c8fbe6e131fac64c16c0714e5120d012daa (patch) | |
tree | 835b320b29f72bbd2dea59f8b6b9b67ec178f570 /module/zfs/qat_compress.c | |
parent | c66e54e9dce9244e8565425a457c3b0428fcdece (diff) |
Fix spelling errors in comments
This patch simply corrects some spelling / grammar errors in
the QAT and encryption code comments. No functional changes
Reviewed-by: George Melikov <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Giuseppe Di Natale <[email protected]>
Signed-off-by: Tom Caputi <[email protected]>
Closes #7319
Diffstat (limited to 'module/zfs/qat_compress.c')
-rw-r--r-- | module/zfs/qat_compress.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/module/zfs/qat_compress.c b/module/zfs/qat_compress.c index 2f7dad4b4..fff0751fb 100644 --- a/module/zfs/qat_compress.c +++ b/module/zfs/qat_compress.c @@ -28,10 +28,10 @@ #include "qat.h" /* - * Max instances in QAT device, each instance is a channel to submit - * jobs to QAT hardware, this is only for pre-allocating instance, - * and session arrays, the actual number of instances are defined in - * the QAT driver's configure file. + * Max instances in a QAT device, each instance is a channel to submit + * jobs to QAT hardware, this is only for pre-allocating instance and + * session arrays; the actual number of instances are defined in the + * QAT driver's configuration file. */ #define QAT_DC_MAX_INSTANCES 48 @@ -386,7 +386,7 @@ qat_compress(qat_compress_dir_t dir, char *src, int src_len, /* move to the last page */ flat_buf_dst += (compressed_sz + hdr_sz) >> PAGE_SHIFT; - /* no space for gzip foot in the last page */ + /* no space for gzip footer in the last page */ if (((compressed_sz + hdr_sz) % PAGE_SIZE) + ZLIB_FOOT_SZ > PAGE_SIZE) goto fail; |