From 0cb6dfd710b00865258d1a70e9b62f3343a81b68 Mon Sep 17 00:00:00 2001 From: Andreea-Cristina Bernat Date: Sun, 16 Mar 2014 18:00:01 -0700 Subject: [PATCH] Staging: solo6x10: Replace expressions that don't use ALIGN macro There are some expressions that compute the roundup of a number, but don't use the existing macro defined in /include/kernel.h. This patch uses the following Coccinelle semantic patch: @ haskernel @ @@ @ depends on haskernel @ expression E1, E2; @@ - (E1 + (E2 - 1)) & ~(E2 - 1) + ALIGN(E1, E2) Signed-off-by: Andreea-Cristina Bernat Acked-by: Bob Copeland Signed-off-by: Peter P Waskiewicz Jr --- Reading git-format-patch failed