Commit c7694ac3 authored by Kang Minchul's avatar Kang Minchul Committed by Andrii Nakryiko
Browse files

libbpf: checkpatch: Fixed code alignments in btf.c

parent e662c775
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1724,7 +1724,8 @@ int btf__add_btf(struct btf *btf, const struct btf *src_btf)
	memset(btf->strs_data + old_strs_len, 0, btf->hdr->str_len - old_strs_len);

	/* and now restore original strings section size; types data size
	 * wasn't modified, so doesn't need restoring, see big comment above */
	 * wasn't modified, so doesn't need restoring, see big comment above
	 */
	btf->hdr->str_len = old_strs_len;

	hashmap__free(p.str_off_map);