diff options
| author | Josh Boyer <jwboyer@fedoraproject.org> | 2013-12-06 08:50:54 -0500 |
|---|---|---|
| committer | Josh Boyer <jwboyer@fedoraproject.org> | 2013-12-06 08:50:54 -0500 |
| commit | 1d5c4d2db15a953e64d95974e20199b9ebcf29d0 (patch) | |
| tree | c92057d3db431939b6442bcc149a2aee590c9f22 /crypto-backtrace-fix.patch | |
| parent | 0a1607842499f7038276c2e2337a96119f117d99 (diff) | |
Linux v3.13-rc2-295-g002acf1
- Add test fix patch for crypto backtrace (rhbz 1038472)
Diffstat (limited to 'crypto-backtrace-fix.patch')
| -rw-r--r-- | crypto-backtrace-fix.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/crypto-backtrace-fix.patch b/crypto-backtrace-fix.patch new file mode 100644 index 00000000..808516dc --- /dev/null +++ b/crypto-backtrace-fix.patch @@ -0,0 +1,16 @@ +Bugzilla: 1038472 +Upstream-status: test fix for 3.13 issue + +diff --git a/include/crypto/scatterwalk.h b/include/crypto/scatterwalk.h +index 64ebede..6a626a5 100644 +--- a/include/crypto/scatterwalk.h ++++ b/include/crypto/scatterwalk.h +@@ -44,7 +44,7 @@ static inline struct scatterlist *scatterwalk_sg_next(struct scatterlist *sg) + if (sg_is_last(sg)) + return NULL; + +- return (++sg)->length ? sg : (void *)sg_page(sg); ++ return (++sg)->length ? sg : sg_chain_ptr(sg); + } + + static inline void scatterwalk_crypto_chain(struct scatterlist *head, |
