Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c103a4dc authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds
Browse files

ipc/shmc.c: eliminate ugly 80-col tricks

parent f7da04c9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -491,10 +491,10 @@ static int newseg(struct ipc_namespace *ns, struct ipc_params *params)

	sprintf (name, "SYSV%08x", key);
	if (shmflg & SHM_HUGETLB) {
		struct hstate *hs = hstate_sizelog((shmflg >> SHM_HUGE_SHIFT)
						& SHM_HUGE_MASK);
		struct hstate *hs;
		size_t hugesize;

		hs = hstate_sizelog((shmflg >> SHM_HUGE_SHIFT) & SHM_HUGE_MASK);
		if (!hs) {
			error = -EINVAL;
			goto no_file;
+2 −2
Original line number Diff line number Diff line
@@ -1368,9 +1368,9 @@ SYSCALL_DEFINE6(mmap_pgoff, unsigned long, addr, unsigned long, len,
			goto out_fput;
	} else if (flags & MAP_HUGETLB) {
		struct user_struct *user = NULL;
		struct hstate *hs = hstate_sizelog((flags >> MAP_HUGE_SHIFT) &
						   SHM_HUGE_MASK);
		struct hstate *hs;

		hs = hstate_sizelog((flags >> MAP_HUGE_SHIFT) & SHM_HUGE_MASK);
		if (!hs)
			return -EINVAL;