commit | 08df343874fcddd260021a04ce3c5a34f2c48164 | [log] [tgz] |
---|---|---|
author | Marc-André Lureau <marcandre.lureau@redhat.com> | Thu Aug 25 12:40:12 2022 +0400 |
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | Thu Oct 06 19:31:46 2022 +0400 |
tree | 569993fde8d571da0aee4d1decbd67d03ade7c4c | |
parent | 2341a94d3a0a8a93a5a977e642da1807b8edaab8 [diff] |
dump: simplify a bit kdump get_next_page() This should be functionally equivalent, but slightly easier to read, with simplified paths and checks at the end of the function. The following patch is a major rewrite to get rid of the assert(). Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: David Hildenbrand <david@redhat.com>