[folded-merged] partitions-efi-use-lba-aware-partition-records-checkpatch-fixes.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Subject: [folded-merged] partitions-efi-use-lba-aware-partition-records-checkpatch-fixes.patch removed from -mm tree
To: akpm@xxxxxxxxxxxxxxxxxxxx,davidlohr@xxxxxx,kzak@xxxxxxxxxx,matt.fleming@xxxxxxxxx,mm-commits@xxxxxxxxxxxxxxx
From: akpm@xxxxxxxxxxxxxxxxxxxx
Date: Wed, 11 Sep 2013 14:04:31 -0700


The patch titled
     Subject: partitions-efi-use-lba-aware-partition-records-checkpatch-fixes
has been removed from the -mm tree.  Its filename was
     partitions-efi-use-lba-aware-partition-records-checkpatch-fixes.patch

This patch was dropped because it was folded into partitions-efi-use-lba-aware-partition-records.patch

------------------------------------------------------
From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Subject: partitions-efi-use-lba-aware-partition-records-checkpatch-fixes

Cc: Davidlohr Bueso <davidlohr@xxxxxx>

ERROR: code indent should use tabs where possible
#40: FILE: block/partitions/efi.c:154:
+        if (part->os_type == EFI_PMBR_OSTYPE_EFI_GPT &&$

WARNING: please, no spaces at the start of a line
#40: FILE: block/partitions/efi.c:154:
+        if (part->os_type == EFI_PMBR_OSTYPE_EFI_GPT &&$

ERROR: code indent should use tabs where possible
#41: FILE: block/partitions/efi.c:155:
+            le32_to_cpu(part->start_sector) == 1UL)$

WARNING: please, no spaces at the start of a line
#41: FILE: block/partitions/efi.c:155:
+            le32_to_cpu(part->start_sector) == 1UL)$

WARNING: do not add new typedefs
#52: FILE: block/partitions/efi.h:104:
+typedef struct _gpt_record {

ERROR: code indent should use tabs where possible
#53: FILE: block/partitions/efi.h:105:
+        u8      boot_indicator; /* unused by EFI, set to 0x80 for bootable */$

WARNING: please, no spaces at the start of a line
#53: FILE: block/partitions/efi.h:105:
+        u8      boot_indicator; /* unused by EFI, set to 0x80 for bootable */$

ERROR: code indent should use tabs where possible
#54: FILE: block/partitions/efi.h:106:
+        u8      start_head;     /* unused by EFI, pt start in CHS */$

WARNING: please, no spaces at the start of a line
#54: FILE: block/partitions/efi.h:106:
+        u8      start_head;     /* unused by EFI, pt start in CHS */$

ERROR: code indent should use tabs where possible
#55: FILE: block/partitions/efi.h:107:
+        u8      start_sector;   /* unused by EFI, pt start in CHS */$

WARNING: please, no spaces at the start of a line
#55: FILE: block/partitions/efi.h:107:
+        u8      start_sector;   /* unused by EFI, pt start in CHS */$

ERROR: code indent should use tabs where possible
#56: FILE: block/partitions/efi.h:108:
+        u8      start_track;$

WARNING: please, no spaces at the start of a line
#56: FILE: block/partitions/efi.h:108:
+        u8      start_track;$

ERROR: code indent should use tabs where possible
#57: FILE: block/partitions/efi.h:109:
+        u8      os_type;        /* EFI and legacy non-EFI OS types */$

WARNING: please, no spaces at the start of a line
#57: FILE: block/partitions/efi.h:109:
+        u8      os_type;        /* EFI and legacy non-EFI OS types */$

ERROR: code indent should use tabs where possible
#58: FILE: block/partitions/efi.h:110:
+        u8      end_head;       /* unused by EFI, pt end in CHS */$

WARNING: please, no spaces at the start of a line
#58: FILE: block/partitions/efi.h:110:
+        u8      end_head;       /* unused by EFI, pt end in CHS */$

ERROR: code indent should use tabs where possible
#59: FILE: block/partitions/efi.h:111:
+        u8      end_sector;     /* unused by EFI, pt end in CHS */$

WARNING: please, no spaces at the start of a line
#59: FILE: block/partitions/efi.h:111:
+        u8      end_sector;     /* unused by EFI, pt end in CHS */$

ERROR: code indent should use tabs where possible
#60: FILE: block/partitions/efi.h:112:
+        u8      end_track;      /* unused by EFI, pt end in CHS */$

WARNING: please, no spaces at the start of a line
#60: FILE: block/partitions/efi.h:112:
+        u8      end_track;      /* unused by EFI, pt end in CHS */$

ERROR: code indent should use tabs where possible
#61: FILE: block/partitions/efi.h:113:
+        __le32  starting_lba;   /* used by EFI - start addr of the on disk pt */$

WARNING: please, no spaces at the start of a line
#61: FILE: block/partitions/efi.h:113:
+        __le32  starting_lba;   /* used by EFI - start addr of the on disk pt */$

ERROR: code indent should use tabs where possible
#62: FILE: block/partitions/efi.h:114:
+        __le32  size_in_lba;    /* used by EFI - size of pt in LBA */$

WARNING: please, no spaces at the start of a line
#62: FILE: block/partitions/efi.h:114:
+        __le32  size_in_lba;    /* used by EFI - size of pt in LBA */$

WARNING: __packed is preferred over __attribute__((packed))
#63: FILE: block/partitions/efi.h:115:
+} __attribute__ ((packed)) gpt_record;

total: 12 errors, 14 warnings, 40 lines checked

NOTE: whitespace errors detected, you may wish to use scripts/cleanpatch or
      scripts/cleanfile

./patches/partitions-efi-use-lba-aware-partition-records.patch has style problems, please review.

If any of these errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.

Please run checkpatch prior to sending patches

Cc: Davidlohr Bueso <davidlohr@xxxxxx>
Cc: Karel Zak <kzak@xxxxxxxxxx>
Cc: Matt Fleming <matt.fleming@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 block/partitions/efi.c |    6 +++---
 block/partitions/efi.h |   22 +++++++++++-----------
 2 files changed, 14 insertions(+), 14 deletions(-)

diff -puN block/partitions/efi.c~partitions-efi-use-lba-aware-partition-records-checkpatch-fixes block/partitions/efi.c
--- a/block/partitions/efi.c~partitions-efi-use-lba-aware-partition-records-checkpatch-fixes
+++ a/block/partitions/efi.c
@@ -151,9 +151,9 @@ static u64 last_lba(struct block_device
 
 static inline int pmbr_part_valid(gpt_record *part)
 {
-        if (part->os_type == EFI_PMBR_OSTYPE_EFI_GPT &&
-            le32_to_cpu(part->start_sector) == 1UL)
-                return 1;
+	if (part->os_type == EFI_PMBR_OSTYPE_EFI_GPT &&
+	    le32_to_cpu(part->start_sector) == 1UL)
+		return 1;
         return 0;
 }
 
diff -puN block/partitions/efi.h~partitions-efi-use-lba-aware-partition-records-checkpatch-fixes block/partitions/efi.h
--- a/block/partitions/efi.h~partitions-efi-use-lba-aware-partition-records-checkpatch-fixes
+++ a/block/partitions/efi.h
@@ -102,17 +102,17 @@ typedef struct _gpt_entry {
 } __attribute__ ((packed)) gpt_entry;
 
 typedef struct _gpt_record {
-        u8      boot_indicator; /* unused by EFI, set to 0x80 for bootable */
-        u8      start_head;     /* unused by EFI, pt start in CHS */
-        u8      start_sector;   /* unused by EFI, pt start in CHS */
-        u8      start_track;
-        u8      os_type;        /* EFI and legacy non-EFI OS types */
-        u8      end_head;       /* unused by EFI, pt end in CHS */
-        u8      end_sector;     /* unused by EFI, pt end in CHS */
-        u8      end_track;      /* unused by EFI, pt end in CHS */
-        __le32  starting_lba;   /* used by EFI - start addr of the on disk pt */
-        __le32  size_in_lba;    /* used by EFI - size of pt in LBA */
-} __attribute__ ((packed)) gpt_record;
+	u8	boot_indicator; /* unused by EFI, set to 0x80 for bootable */
+	u8	start_head;     /* unused by EFI, pt start in CHS */
+	u8	start_sector;   /* unused by EFI, pt start in CHS */
+	u8	start_track;
+	u8	os_type;        /* EFI and legacy non-EFI OS types */
+	u8	end_head;       /* unused by EFI, pt end in CHS */
+	u8	end_sector;     /* unused by EFI, pt end in CHS */
+	u8	end_track;      /* unused by EFI, pt end in CHS */
+	__le32	starting_lba;   /* used by EFI - start addr of the on disk pt */
+	__le32	size_in_lba;    /* used by EFI - size of pt in LBA */
+} __packed gpt_record;
 
 
 typedef struct _legacy_mbr {
_

Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are

origin.patch
revert-include-linux-smph-on_each_cpu-switch-back-to-a-macro.patch
block-support-embedded-device-command-line-partition.patch
swap-warn-when-a-swap-area-overflows-the-maximum-size.patch
mm-swapfilec-convert-to-pr_foo.patch
mm-vmstats-track-tlb-flush-stats-on-up-too.patch
swap-make-swap-discard-async.patch
swap-make-cluster-allocation-per-cpu.patch
mm-page_alloc-restructure-free-page-stealing-code-and-fix-a-bug.patch
mm-hugetlb-decrement-reserve-count-if-vm_noreserve-alloc-page-cache.patch
mm-mempolicy-return-null-if-node-is-numa_no_node-in-get_task_policy.patch
vmstat-create-separate-function-to-fold-per-cpu-diffs-into-local-counters.patch
genalloc-fix-overflow-of-ending-address-of-memory-chunk.patch
mm-use-zone_end_pfn-instead-of-zone_start_pfnspanned_pages.patch
mm-hotplug-verify-hotplug-memory-range.patch
mm-fix-aio-performance-regression-for-database-caused-by-thp.patch
mm-munlock-bypass-per-cpu-pvec-for-putback_lru_page.patch
mm-vmscan-fix-do_try_to_free_pages-livelock.patch
mm-page-writebackc-add-strictlimit-feature.patch
mm-madvisec-madvise_hwpoison-remove-local-ret.patch
lib-crc32-update-the-comments-of-crc32_bele_generic.patch
move-exit_task_namespaces-outside-of-exit_notify-fix.patch
partitions-efi-use-lba-aware-partition-records.patch
partitions-efi-check-pmbr-records-starting-lba-checkpatch-fixes.patch
partitions-efi-detect-hybrid-mbrs-checkpatch-fixes.patch
partitions-efi-some-style-cleanups-checkpatch-fixes.patch
block-partitions-efic-consistently-use-pr_foo.patch
initmpfs-move-bdi-setup-from-init_rootfs-to-init_ramfs-fix.patch
initmpfs-use-initramfs-if-rootfstype=-or-root=-specified-checkpatch-fixes.patch
ipc-drop-ipcctl_pre_down-fix.patch
ipcshm-make-shmctl_nolock-lockless-checkpatch-fixes.patch
drivers-staging-lustre-lustre-ptlrpc-sec_bulkc-rename-ptrs_per_page.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux