diff options
author | Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com> | 2016-10-18 23:22:31 +0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2016-10-18 12:02:26 -0700 |
commit | 8da07c016c2be59eef5e789c61dc1ff88fc8fe4e (patch) | |
tree | 621569ebe96d7e45e61ca88b919bb7d5a9394fef /meta-isg/common/recipes-extended/qat/qat16/qat16_2.5.0-80-qat-change-in-return-type-of-func-in-kernel-v4.4.patch | |
parent | 9a0fe0a702080e63a18677c7e6337be78cad62dc (diff) | |
download | meta-intel-8da07c016c2be59eef5e789c61dc1ff88fc8fe4e.tar.gz |
qat16: move qat from meta-isg to common
Since there is plan to merge meta-isg layer to common meta-intel
layer. So relocate qat16 v2.6-65 recipe from meta-isg layer to common
meta-intel layer.
Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta-isg/common/recipes-extended/qat/qat16/qat16_2.5.0-80-qat-change-in-return-type-of-func-in-kernel-v4.4.patch')
-rw-r--r-- | meta-isg/common/recipes-extended/qat/qat16/qat16_2.5.0-80-qat-change-in-return-type-of-func-in-kernel-v4.4.patch | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/meta-isg/common/recipes-extended/qat/qat16/qat16_2.5.0-80-qat-change-in-return-type-of-func-in-kernel-v4.4.patch b/meta-isg/common/recipes-extended/qat/qat16/qat16_2.5.0-80-qat-change-in-return-type-of-func-in-kernel-v4.4.patch deleted file mode 100644 index b427799b..00000000 --- a/meta-isg/common/recipes-extended/qat/qat16/qat16_2.5.0-80-qat-change-in-return-type-of-func-in-kernel-v4.4.patch +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | From f056dbedd106e03860de66d5c84cd018da087dda Mon Sep 17 00:00:00 2001 | ||
2 | From: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com> | ||
3 | Date: Tue, 22 Mar 2016 00:59:36 +0800 | ||
4 | Subject: [PATCH 1/2] qat: change in return type of func in kernel v4.4 | ||
5 | |||
6 | Upstream-Status: Submitted | ||
7 | |||
8 | The function 'seq_puts' return type is changed from 'int' to 'void'. | ||
9 | Now use of 'ret' variable is not valid. So used another condition to check | ||
10 | for overflow. | ||
11 | |||
12 | Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com> | ||
13 | --- | ||
14 | quickassist/adf/drivers/common/linux/src/adf_proc_debug.c | 6 +++--- | ||
15 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
16 | |||
17 | diff --git a/quickassist/adf/drivers/common/linux/src/adf_proc_debug.c b/quickassist/adf/drivers/common/linux/src/adf_proc_debug.c | ||
18 | index 7d81eaa..a1dd917 100755 | ||
19 | --- a/quickassist/adf/drivers/common/linux/src/adf_proc_debug.c | ||
20 | +++ b/quickassist/adf/drivers/common/linux/src/adf_proc_debug.c | ||
21 | @@ -132,13 +132,13 @@ static int adf_debug_show(struct seq_file *sfile, void *v) | ||
22 | { | ||
23 | debug_file_info_t* file_info = sfile->private; | ||
24 | if (file_info && file_info->seq_read && file_info->page) { | ||
25 | - int ret = 0, old_offset = file_info->offset; | ||
26 | + int old_offset = file_info->offset; | ||
27 | file_info->offset = | ||
28 | file_info->seq_read(file_info->private_data, | ||
29 | file_info->page, PAGE_SIZE - 1, | ||
30 | file_info->offset); | ||
31 | - ret = seq_puts(sfile, (char*)file_info->page); | ||
32 | - if (ret) { | ||
33 | + seq_puts(sfile, (char*)file_info->page); | ||
34 | + if (sfile->count == sfile->size) { | ||
35 | /* run out of space - need to reprint */ | ||
36 | file_info->offset = old_offset; | ||
37 | } | ||
38 | -- | ||
39 | 1.9.1 | ||
40 | |||