Subject: [merged] video-udlfb-use-null-instead-of-0.patch removed from -mm tree To: sachin.kamat@xxxxxxxxxx,mm-commits@xxxxxxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Mon, 01 Jul 2013 12:25:48 -0700 The patch titled Subject: drivers/video/udlfb.c: use NULL instead of 0 has been removed from the -mm tree. Its filename was video-udlfb-use-null-instead-of-0.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Sachin Kamat <sachin.kamat@xxxxxxxxxx> Subject: drivers/video/udlfb.c: use NULL instead of 0 Pointer variables should be initialized with NULL instead of 0. Signed-off-by: Sachin Kamat <sachin.kamat@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/video/udlfb.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff -puN drivers/video/udlfb.c~video-udlfb-use-null-instead-of-0 drivers/video/udlfb.c --- a/drivers/video/udlfb.c~video-udlfb-use-null-instead-of-0 +++ a/drivers/video/udlfb.c @@ -434,10 +434,10 @@ static void dlfb_compress_hline( while ((pixel_end > pixel) && (cmd_buffer_end - MIN_RLX_CMD_BYTES > cmd)) { - uint8_t *raw_pixels_count_byte = 0; - uint8_t *cmd_pixels_count_byte = 0; - const uint16_t *raw_pixel_start = 0; - const uint16_t *cmd_pixel_start, *cmd_pixel_end = 0; + uint8_t *raw_pixels_count_byte = NULL; + uint8_t *cmd_pixels_count_byte = NULL; + const uint16_t *raw_pixel_start = NULL; + const uint16_t *cmd_pixel_start, *cmd_pixel_end = NULL; prefetchw((void *) cmd); /* pull in one cache line at least */ @@ -1588,7 +1588,7 @@ static int dlfb_usb_probe(struct usb_int const struct usb_device_id *id) { struct usb_device *usbdev; - struct dlfb_data *dev = 0; + struct dlfb_data *dev = NULL; int retval = -ENOMEM; /* usb initialization */ _ Patches currently in -mm which might be from sachin.kamat@xxxxxxxxxx are linux-next.patch drivers-rtc-rtc-v3020c-remove-redundant-goto.patch drivers-rtc-interfacec-fix-checkpatch-errors.patch drivers-rtc-rtc-at32ap700xc-fix-checkpatch-error.patch drivers-rtc-rtc-at91rm9200c-include-linux-uaccessh.patch drivers-rtc-rtc-cmosc-fix-whitespace-related-errors.patch drivers-rtc-rtc-davincic-fix-whitespace-warning.patch drivers-rtc-rtc-ds1305c-add-missing-braces-around-sizeof.patch drivers-rtc-rtc-ds1374c-fix-spacing-related-issues.patch drivers-rtc-rtc-ds1511c-fix-issues-related-to-spaces-and-braces.patch drivers-rtc-rtc-ds3234c-fix-whitespace-issue.patch drivers-rtc-rtc-fm3130c-fix-whitespace-related-issue.patch drivers-rtc-rtc-m41t80c-fix-spacing-related-issue.patch drivers-rtc-rtc-max6902c-remove-unwanted-spaces.patch drivers-rtc-rtc-max77686c-remove-space-before-semicolon.patch drivers-rtc-rtc-max8997c-remove-space-before-semicolon.patch drivers-rtc-rtc-mpc5121c-remove-space-before-tab.patch drivers-rtc-rtc-msm6242c-use-pr_warn.patch drivers-rtc-rtc-mxcc-fix-checkpatch-error.patch drivers-rtc-rtc-omapc-include-linux-ioh-instead-of-asm-ioh.patch drivers-rtc-rtc-pcf2123c-remove-space-before-tabs.patch drivers-rtc-rtc-pcf8583c-move-assignment-outside-if-condition.patch drivers-rtc-rtc-rs5c313c-include-linux-ioh-instead-of-asm-ioh.patch drivers-rtc-rtc-rs5c313c-fix-spacing-related-issues.patch drivers-rtc-rtc-v3020c-fix-spacing-issues.patch drivers-rtc-rtc-vr41xxc-fix-spacing-issues.patch drivers-rtc-rtc-x1205c-fix-checkpatch-issues.patch drivers-rtc-rtc-m48t86c-remove-empty-function.patch drivers-rtc-rtc-tilec-remove-empty-function.patch drivers-rtc-rtc-nuc900c-remove-empty-function.patch drivers-rtc-rtc-msm6242c-remove-empty-function.patch drivers-rtc-rtc-max8998c-remove-empty-function.patch drivers-rtc-rtc-max8925c-remove-empty-function.patch drivers-rtc-rtc-ls1xc-remove-empty-function.patch drivers-rtc-rtc-lp8788c-remove-empty-function.patch drivers-rtc-rtc-ds1302c-remove-empty-function.patch drivers-rtc-rtc-dm355evmc-remove-empty-function.patch drivers-rtc-rtc-da9055c-remove-empty-function.patch drivers-rtc-rtc-da9052c-remove-empty-function.patch drivers-rtc-rtc-bq4802c-remove-empty-function.patch drivers-rtc-rtc-au1xxxc-remove-empty-function.patch drivers-rtc-rtc-ab3100c-remove-empty-function.patch drivers-rtc-rtc-bq32kc-remove-empty-function.patch drivers-rtc-rtc-ds1216c-remove-empty-function.patch drivers-rtc-rtc-ds1286c-remove-empty-function.patch drivers-rtc-rtc-ds1672c-remove-empty-function.patch drivers-rtc-rtc-ds3234c-remove-empty-function.patch drivers-rtc-rtc-ds1390c-remove-empty-function.patch drivers-rtc-rtc-efic-remove-empty-function.patch drivers-rtc-rtc-em3027c-remove-empty-function.patch drivers-rtc-rtc-fm3130c-remove-empty-function.patch drivers-rtc-rtc-isl12022c-remove-empty-function.patch drivers-rtc-rtc-m41t93c-remove-empty-function.patch drivers-rtc-rtc-m48t35c-remove-empty-function.patch drivers-rtc-rtc-genericc-remove-empty-function.patch drivers-rtc-rtc-m41t94c-remove-empty-function.patch drivers-rtc-rtc-max6902c-remove-empty-function.patch drivers-rtc-rtc-max6900c-remove-empty-function.patch drivers-rtc-rtc-max8907c-remove-empty-function.patch drivers-rtc-rtc-max77686c-remove-empty-function.patch drivers-rtc-rtc-max8997c-remove-empty-function.patch drivers-rtc-rtc-pcf8523c-remove-empty-function.patch drivers-rtc-rtc-pcf8563c-remove-empty-function.patch drivers-rtc-rtc-pcf8583c-remove-empty-function.patch drivers-rtc-rtc-ps3c-remove-empty-function.patch drivers-rtc-rtc-rs5c313c-remove-empty-function.patch drivers-rtc-rtc-rv3029c2c-remove-empty-function.patch drivers-rtc-rtc-rx4581c-remove-empty-function.patch drivers-rtc-rtc-rs5c348c-remove-empty-function.patch drivers-rtc-rtc-rx8581c-remove-empty-function.patch drivers-rtc-rtc-snvsc-remove-empty-function.patch drivers-rtc-rtc-starfirec-remove-empty-function.patch drivers-rtc-rtc-sun4vc-remove-empty-function.patch drivers-rtc-rtc-tps80031c-remove-empty-function.patch drivers-rtc-rtc-wm831xc-remove-empty-function.patch drivers-rtc-rtc-ds1302c-handle-write-protection.patch drivers-rtc-rtc-da9052c-use-ptr_ret.patch drivers-rtc-rtc-isl12022c-use-ptr_ret.patch drivers-rtc-rtc-m48t35c-use-ptr_ret.patch drivers-rtc-rtc-pcf8563c-use-ptr_ret.patch drivers-rtc-rtc-pcf8583c-use-ptr_ret.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